This is the official repository for SubRoformer: Subband Time-Domain Representation for Music Source Separation. SubRoformer separates music mixtures into four stems: vocals, bass, drums, and other instruments.
| Checkpoint | Vocals | Bass | Drums | Other | Mean |
|---|---|---|---|---|---|
| Base (1.4M updates, EMA) | 12.6863 | 11.4961 | 12.2267 | 9.9445 | 11.5884 |
| Perceptually fine-tuned (+200k updates, EMA, default) | 12.6424 | 11.1357 | 12.0518 | 9.7584 | 11.3971 |
The models are trained on 100 MUSDB18-HQ songs and 500 additional internal songs. Results are evaluated on the MUSDB18-HQ test set (50 songs) using museval SDR (dB). Each stem's SDR is the median of per-song median SDRs, and Mean is the average across four stems. See the evaluation protocol. All checkpoints are available on Hugging Face. See checkpoint details.
Run from the repository root using Python 3.11:
uv venv --python 3.11
uv pip install --python .venv/bin/python -e .See the installation guide for details.
Use the released perceptually fine-tuned checkpoint (downloaded automatically if needed):
uv run python -m subroformer.inference \
--input demo/test.wav \
--output_dir outputs/testThe CLI automatically selects CUDA → MPS → CPU, or specify --device manually. It outputs four 48 kHz WAV files: vocals.wav, bass.wav, drums.wav, and other.wav.
from subroformer.inference.engine import (
load_audio, load_separator, resolve_amp_dtype, separate_audio,
)
model, config = load_separator(device="auto")
audio = load_audio("demo/test.wav", int(config.audio.sample_rate))
stems = separate_audio(
model, audio, config,
amp_dtype=resolve_amp_dtype(next(model.parameters()).device),
)
vocals = stems["vocals"] # float32 NumPy array: [channels, samples]substemsudio_demo.mp4
SubStemStudio provides a graphical interface for four-stem separation, real-time progress monitoring, synchronized spectrograms, playback controls, and 48 kHz WAV export. The app supports macOS, Windows, and Linux, using Core ML on macOS 15+ by default or PyTorch on CUDA, MPS, and CPU. See the app guide. The demo song is Netrum & Halvorsen - Phoenix:
Train SubRoformer from scratch using MUSDB18-HQ.
bash scripts/download_musdb18hq.shThe extracted dataset has the following structure:
data/
└── musdb18hq/ (~30 GB)
├── train/ (100 songs)
│ ├── A Classic Education - NightOwl/
│ │ ├── bass.wav
│ │ ├── drums.wav
│ │ ├── mixture.wav
│ │ ├── other.wav
│ │ └── vocals.wav
│ └── ...
└── test/ (50 songs)
├── Al James - Schoolboy Facination/
│ ├── bass.wav
│ ├── drums.wav
│ ├── mixture.wav
│ ├── other.wav
│ └── vocals.wav
└── ...
Single-GPU training:
CUDA_VISIBLE_DEVICES=0 uv run accelerate launch \
--num_processes 1 \
--mixed_precision bf16 \
--module subroformer.training.train \
--config subroformer/configs/sbroformer_base_4stem.yaml \
--data_path data/musdb18hq/trainSee the training guide for multi-GPU training and checkpoint resumption.
uv run python -m subroformer.inference \
--config subroformer/configs/sbroformer_base_4stem.yaml \
--checkpoint checkpoints/my_run/model_ema.pt \
--input demo/test.wav \
--output_dir outputs/my_run| Topic | Guide |
|---|---|
| App installation and usage | App Guide |
| Installation | Installation Guide |
| Model architecture and modules | Package Overview |
| Model configurations | Configuration Guide |
| Training and evaluation | Training Guide |
| CLI and Python inference | Inference Guide |
| DSP backends | Frontend Guide |
| Checkpoints | Checkpoint Guide |
| Core ML | Core ML Guide |
| Testing | Testing Guide |
| Inference optimization | Optimization Guide |
@misc{wu2026subroformer,
title = {SubRoformer: Subband Time-Domain Representation for Music Source Separation},
author = {Wu, Chunyat and Ding, Chuang and Smaragdis, Paris and Kong, Qiuqiang},
year = {2026},
eprint = {2611.08130},
archivePrefix = {arXiv},
primaryClass = {eess.AS},
url = {https://arxiv.org/abs/2611.08130}
}We thank Roman Solovyev (ZFTurbo) for Music-Source-Separation-Training, from which the dataset handling and DataLoader code are derived.

