File size: 10,658 Bytes
e401c22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
efec7da
e401c22
 
 
 
 
 
 
 
 
 
1bbb1b9
 
 
 
 
 
 
e401c22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f0a9f57
e401c22
 
 
 
1bbb1b9
e401c22
 
 
 
1bbb1b9
e401c22
 
 
 
 
 
1bbb1b9
e401c22
1bbb1b9
 
e401c22
 
 
 
 
1bbb1b9
 
 
e401c22
1bbb1b9
e401c22
 
 
1bbb1b9
e401c22
 
 
 
 
 
 
 
1bbb1b9
e401c22
1bbb1b9
e401c22
1bbb1b9
 
 
 
 
 
 
 
 
 
e401c22
1bbb1b9
e401c22
1bbb1b9
 
 
e401c22
 
 
 
 
efec7da
e401c22
 
 
 
 
 
 
 
 
 
 
48461aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e401c22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1bbb1b9
 
e401c22
 
 
 
1bbb1b9
 
e401c22
1bbb1b9
e401c22
 
 
 
 
efec7da
e401c22
48461aa
e401c22
48461aa
 
 
 
 
e401c22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f0a9f57
e401c22
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
---
license: cc-by-4.0
language:
  - en
pretty_name: "StemSplit Stem-Separation Benchmark 2026"
size_categories:
  - 1K<n<10K
task_categories:
  - audio-to-audio
tags:
  - music
  - audio
  - source-separation
  - stem-separation
  - vocal-removal
  - karaoke
  - demucs
  - spleeter
  - mdx-net
  - bs-roformer
  - benchmark
configs:
  - config_name: metrics_only
    data_files:
      - split: results
        path: metrics_only/metrics.parquet
---

# StemSplit Stem-Separation Benchmark 2026

A reproducible head-to-head comparison of every popular open-source music
source-separation model against the [StemSplit](https://stemsplit.io) production
API, evaluated on the standard MUSDB18-HQ test split using BSS Eval v4 and a
small set of CC-BY tracks for qualitative listening.

> Built and maintained by the StemSplit team. Source code:
> [`scripts/hf-benchmark`](https://github.com/yourusername/musicai/tree/main/scripts/hf-benchmark) on GitHub.

---

## Leaderboard (median SDR per stem)

| model_id         |   bass |   drums |   other |   vocals |
|:-----------------|-------:|--------:|--------:|---------:|
| htdemucs_ft      |  10.38 |   10.11 |    6.34 |     9.19 |
| mdx_extra_q      |  11.42 |   11.49 |    7.67 |     9.04 |
| htdemucs_6s      |   9.11 |    9.54 |    5.74 |     8.66 |
| htdemucs         |   9.78 |   10.01 |    6.42 |     8.53 |
| mdx_net_inst_hq3 | —      |  —      |  —      |     5.81 |

Higher is better. SDR is computed with the `museval` reference implementation
(BSS Eval v4) on 1-second windows, exactly the protocol used by SiSEC and the
SDX challenges, so these numbers are directly comparable to results reported
in the literature.

---

## Configurations

### `metrics_only` (the leaderboard)

A Parquet table — one row per `(model, track, stem)` — for the full 50-track
MUSDB18-HQ test split. **No audio is shipped here**; MUSDB18 is a research-only
corpus and we are not allowed to redistribute it.

Schema:

| column | type | meaning |
|---|---|---|
| `model_id` | string | matches `configs/models.yaml` |
| `track_id` | string | folder name in `musdb18hq/test/` |
| `stem` | string | one of `vocals`, `drums`, `bass`, `other` |
| `sdr_median` | float | median Signal-to-Distortion Ratio (dB) |
| `sdr_mean` | float | mean SDR (dB) |
| `isr_median` | float | median Image-to-Spatial Ratio (dB) |
| `sir_median` | float | median Signal-to-Interferences Ratio (dB) |
| `sar_median` | float | median Signal-to-Artifacts Ratio (dB) |
| `n_frames` | int | number of evaluation windows |
| `sample_rate` | int | typically 44100 |
| `duration_s` | float | input track length in seconds |
| `wall_time_s` | float | inference wall time |
| `rtf` | float | real-time factor (`wall_time / duration`) |
| `peak_rss_mb` | int | peak resident memory of the runner process |
| `peak_mps_mem_mb` | int | peak Metal allocation (Apple Silicon only) |
| `host_chip` | string | e.g. `Apple M4 Pro` |
| `host_unified_memory_gb` | string | unified memory size on the test machine |
| `commit_sha` | string | repo SHA the run was produced from |

```python
from datasets import load_dataset
ds = load_dataset("StemSplitio/stem-separation-benchmark-2026", "metrics_only")
df = ds["results"].to_pandas()
df.groupby(["model_id", "stem"])["sdr_median"].median().unstack()
```

### `audio_samples` (planned for v1.2)

A future config will ship a small set of CC-BY-licensed clips with reference
and predicted stems, so you can A/B them in the dataset viewer. Sourcing
genuinely commercial-friendly 4-stem multitracks in 2026 is non-trivial;
see the [v1.2 sourcing notes](https://github.com/yourusername/musicai/blob/main/scripts/hf-benchmark/configs/tracks.yaml)
for the plan.

---

## Models

### v1.1 (this release)

All five models below produced complete results on the full 50-track
MUSDB18-HQ test split.

| id | family | notes |
|---|---|---|
| `htdemucs` | Hybrid Transformer Demucs | Facebook AI's default 4-stem model |
| `htdemucs_ft` | Hybrid Transformer Demucs | Fine-tuned variant, best vocal/instrumental separation in the Demucs family |
| `htdemucs_6s` | Hybrid Transformer Demucs | 6-stem model (adds piano + guitar). Its `other`-row SDR is now computed against `piano + guitar + other` summed back together — see the [Changelog](#changelog) for details. |
| `mdx_extra_q` | Demucs MDX | MDX challenge winner, quantised, 4-model ensemble — best `bass` and `drums` of the lineup |
| `mdx_net_inst_hq3` | MDX-Net | Vocal isolator running through `audio-separator` with the CoreML ONNX provider on Apple Silicon. Only the `vocals` row is reported (it does not produce drums/bass/other). |

### Planned for v1.2

| id | family | why deferred |
|---|---|---|
| `bs_roformer` | Band-Split Roformer | Current SOTA but slow on Apple MPS due to operator fallbacks (~11 hr for the full test set). Will add once we run on CUDA. |
| `mel_band_roformer` | Mel-Band Roformer | Same reason. |
| `spleeter_4stems` | Spleeter | Legacy baseline; TensorFlow install is brittle on Apple Silicon. |

See [`configs/models.yaml`](configs/models.yaml) on GitHub for exact versions
and command lines.

---

## Changelog

### v1.1 (current)

- Added `mdx_net_inst_hq3` (vocals-only MDX-Net via `audio-separator` with the
  CoreML ONNX execution provider).
- Fixed `htdemucs_6s` `other`-stem evaluation. The 6-stem model splits piano
  and guitar out of `other`; the v1 eval pass compared its residual `other`
  output directly to MUSDB's `other` and got a misleading 0.22 dB. v1.1 sums
  the model's `piano + guitar + other` predictions back together before SDR,
  so `htdemucs_6s` is now directly comparable to its 4-stem siblings.
- New `prediction_components` column on every row records the WAV files that
  were summed to form each stem (e.g. `vocals` or `other+piano+guitar`), so
  the aggregation is fully auditable.

### v1

- Initial release: 4 Demucs-family models × 50 MUSDB18-HQ tracks = 800 rows.
- Known issues (both fixed in v1.1): missing `mdx_net_inst_hq3`,
  `htdemucs_6s` `other`-stem evaluation artefact.

---

## What StemSplit uses internally

The [StemSplit](https://stemsplit.io) hosted API runs HT-Demucs under the hood —
the same models you can benchmark above. Pick a quality tier and look up its
row in the leaderboard:

| StemSplit tier | Model row in this benchmark | When to choose it |
|---|---|---|
| `FAST` | `htdemucs` | Speed-priority previews and bulk processing |
| `BALANCED` (default) | `htdemucs_ft` | Best vocal separation per second of compute |
| `BEST` (6-stem) | `htdemucs_6s` | When you need piano + guitar separately |

In other words: **this dataset is also a benchmark of StemSplit's own
quality**. We didn't add a separate `stemsplit_api` row because it would
just duplicate those numbers.

---

## Use the StemSplit API

If you'd rather not stand up Demucs, ffmpeg, torchcodec, and a GPU yourself,
the StemSplit API ships the same models with a single HTTP call. Pricing,
quotas, and the full feature set are documented in our developer portal:

| Resource | URL |
|---|---|
| 🏠 Developer landing | [stemsplit.io/developers](https://stemsplit.io/developers) |
| 📘 Getting-started docs (auth, upload, polling) | [stemsplit.io/developers/docs](https://stemsplit.io/developers/docs) |
| 📑 API reference (every endpoint, every field) | [stemsplit.io/developers/reference](https://stemsplit.io/developers/reference) |
| 🧩 Integration guides (Zapier, n8n, Make, Pipedream, Discord, Audacity, DJ workflows, ...) | [stemsplit.io/developers/guides](https://stemsplit.io/developers/guides) |

Minimal example — submit a job, poll, download stems:

```bash
# 1. Submit
JOB=$(curl -sS -X POST https://stemsplit.io/api/v1/jobs \
  -H "Authorization: Bearer $STEMSPLIT_API_KEY" \
  -F "file=@song.wav" \
  -F "stems=4")
JOB_ID=$(echo "$JOB" | jq -r .id)

# 2. Poll until completed
while [ "$(curl -sS https://stemsplit.io/api/v1/jobs/$JOB_ID \
  -H "Authorization: Bearer $STEMSPLIT_API_KEY" | jq -r .status)" != "completed" ]; do
  sleep 3
done

# 3. Download every stem
curl -sS https://stemsplit.io/api/v1/jobs/$JOB_ID \
  -H "Authorization: Bearer $STEMSPLIT_API_KEY" \
  | jq -r '.stems | to_entries[] | "\(.key) \(.value)"' \
  | while read stem url; do curl -sSL "$url" -o "$stem.wav"; done
```

→ Get an API key at [stemsplit.io/developers](https://stemsplit.io/developers).

---

## Reproducing the results

Everything runs locally on a Mac with Apple Silicon — no CUDA required.

```bash
git clone https://github.com/yourusername/musicai
cd musicai/scripts/hf-benchmark
uv venv --python 3.11 && source .venv/bin/activate
uv pip install -e .

# 1. Get the data (~22 GB extracted from a 21 GB Zenodo zip)
python -m src.download_musdb

# 2. Run every enabled model on every track
python -m src.run_all --continue-on-error

# 3. Score with BSS Eval v4
python -m src.eval_metrics

# 4. Assemble the HF dataset (and optionally push)
python -m src.build_dataset
python -m src.push_to_hub --create
```

Reference wall times measured on an Apple M4 Pro (24 GB unified memory),
PyTorch 2.11 with the MPS backend, for the v1.1 lineup. Demucs models use
MPS; MDX-Net runs through ONNX Runtime's CoreML execution provider.

| Stage | Wall time |
|---|---|
| Download MUSDB18-HQ from Zenodo | 32 min |
| Separate (5 models × 50 tracks) | ~2 h 30 min |
| Eval (museval BSS Eval v4) | ~2 h 20 min |
| Build dataset | < 1 s |
| **Total** | **~5 h 20 min** |

---

## Why we built this

We run [StemSplit](https://stemsplit.io) — a hosted stem-separation service —
and we needed an honest, public, reproducible way to compare ourselves to the
state of the art. So we open-sourced it.

Want to ship a separation product without standing up GPU infrastructure?
The same models are one HTTP call away — see the
[Use the StemSplit API](#use-the-stemsplit-api) section above, or jump
straight to the [developer docs](https://stemsplit.io/developers/docs)
and [API reference](https://stemsplit.io/developers/reference).

---

## Licensing

- This dataset (the metrics, the dataset card, and the CC-BY audio samples) is
  released under **CC-BY-4.0** — please cite us if you use it.
- The MUSDB18-HQ audio referenced by `metrics_only.track_id` is **not**
  redistributed here. Download it from
  [Zenodo](https://zenodo.org/records/3338373) under its own terms.
- Each separation model retains its own license; see the table above.

## Citation

```bibtex
@misc{stemsplit_benchmark_2026,
  title  = {StemSplit Stem-Separation Benchmark 2026},
  author = {StemSplit},
  year   = {2026},
  url    = {https://huggingface.co/datasets/StemSplitio/stem-separation-benchmark-2026}
}
```