StemSplit commited on
Commit
1bbb1b9
·
verified ·
1 Parent(s): 48461aa

feat(v1.1): add mdx_net_inst_hq3 + fix htdemucs_6s other-stem eval

Browse files
Files changed (2) hide show
  1. README.md +38 -40
  2. metrics_only/metrics.parquet +2 -2
README.md CHANGED
@@ -40,12 +40,13 @@ small set of CC-BY tracks for qualitative listening.
40
 
41
  ## Leaderboard (median SDR per stem)
42
 
43
- | model_id | bass | drums | other | vocals |
44
- |:------------|-------:|--------:|--------:|---------:|
45
- | htdemucs_ft | 10.38 | 10.11 | 6.34 | 9.19 |
46
- | mdx_extra_q | 11.42 | 11.49 | 7.67 | 9.04 |
47
- | htdemucs_6s | 9.11 | 9.54 | 0.22 | 8.66 |
48
- | htdemucs | 9.78 | 10.01 | 6.42 | 8.53 |
 
49
 
50
  Higher is better. SDR is computed with the `museval` reference implementation
51
  (BSS Eval v4) on 1-second windows, exactly the protocol used by SiSEC and the
@@ -92,36 +93,36 @@ df = ds["results"].to_pandas()
92
  df.groupby(["model_id", "stem"])["sdr_median"].median().unstack()
93
  ```
94
 
95
- ### `audio_samples` (planned for v1.1)
96
 
97
  A future config will ship a small set of CC-BY-licensed clips with reference
98
  and predicted stems, so you can A/B them in the dataset viewer. Sourcing
99
  genuinely commercial-friendly 4-stem multitracks in 2026 is non-trivial;
100
- see the [v1.1 sourcing notes](https://github.com/yourusername/musicai/blob/main/scripts/hf-benchmark/configs/tracks.yaml)
101
  for the plan.
102
 
103
  ---
104
 
105
  ## Models
106
 
107
- ### v1 (this release)
108
 
109
- All four models below produced complete results on the full 50-track MUSDB18-HQ
110
- test split.
111
 
112
  | id | family | notes |
113
  |---|---|---|
114
  | `htdemucs` | Hybrid Transformer Demucs | Facebook AI's default 4-stem model |
115
  | `htdemucs_ft` | Hybrid Transformer Demucs | Fine-tuned variant, best vocal/instrumental separation in the Demucs family |
116
- | `htdemucs_6s` | Hybrid Transformer Demucs | 6-stem model (adds piano + guitar). See [Known Limitations](#known-limitations) for `other`-stem evaluation caveat. |
117
- | `mdx_extra_q` | Demucs MDX | MDX challenge winner, quantised, 4-model ensemble — best `bass` and `drums` of the v1 lineup |
 
118
 
119
- ### Planned for v1.1 (~next 24-72 hours)
120
 
121
  | id | family | why deferred |
122
  |---|---|---|
123
- | `mdx_net_inst_hq3` | MDX-Net | Runner had a `use_coreml=True` keyword that's not in the version of `audio-separator` we pinned. Fix is one-line; will land in v1.1. |
124
- | `bs_roformer` | Band-Split Roformer | Currently SOTA but slow on Apple MPS due to operator fallbacks (~11 hr for full test set). Will add once we run on CUDA. |
125
  | `mel_band_roformer` | Mel-Band Roformer | Same reason. |
126
  | `spleeter_4stems` | Spleeter | Legacy baseline; TensorFlow install is brittle on Apple Silicon. |
127
 
@@ -130,30 +131,26 @@ and command lines.
130
 
131
  ---
132
 
133
- ## Known limitations
134
 
135
- We're shipping v1 with two caveats called out explicitly so nobody is
136
- surprised by the numbers.
137
 
138
- ### 1. `htdemucs_6s` undersells on the `other` stem
 
 
 
 
 
 
 
 
 
139
 
140
- The 6-stem model splits piano and guitar **out** of the `other` stem.
141
- MUSDB18-HQ's reference `other` stem includes piano + guitar mixed in. So the
142
- 6-stem model's residual `other` output is, by design, nearly empty — and the
143
- SDR comparison against MUSDB's `other` looks much worse than it actually is
144
- (0.22 dB in v1 vs ~6 dB for the 4-stem siblings).
145
 
146
- The fair comparison is to **sum the 6-stem model's `piano + guitar + other`
147
- outputs and compare that aggregate to MUSDB's `other`**. We'll do exactly
148
- that in v1.1's eval pass and republish. Until then, treat `htdemucs_6s`'s
149
- `other` row as not-meaningful and look at its `vocals`, `drums`, `bass` rows
150
- for a fair head-to-head.
151
-
152
- ### 2. `mdx_net_inst_hq3` is missing from v1
153
-
154
- A bug in our runner's `audio-separator` integration killed all 50 separation
155
- runs for this model. The leaderboard you see here only contains the four
156
- Demucs-family models. v1.1 will include this model.
157
 
158
  ---
159
 
@@ -240,15 +237,16 @@ python -m src.push_to_hub --create
240
  ```
241
 
242
  Reference wall times measured on an Apple M4 Pro (24 GB unified memory),
243
- PyTorch 2.11 with the MPS backend, for the v1 lineup:
 
244
 
245
  | Stage | Wall time |
246
  |---|---|
247
  | Download MUSDB18-HQ from Zenodo | 32 min |
248
- | Separate (4 models × 50 tracks) | 2 h 3 min |
249
- | Eval (museval BSS Eval v4) | 2 h 10 min |
250
  | Build dataset | < 1 s |
251
- | **Total** | **~4 h 45 min** |
252
 
253
  ---
254
 
 
40
 
41
  ## Leaderboard (median SDR per stem)
42
 
43
+ | model_id | bass | drums | other | vocals |
44
+ |:-----------------|-------:|--------:|--------:|---------:|
45
+ | htdemucs_ft | 10.38 | 10.11 | 6.34 | 9.19 |
46
+ | mdx_extra_q | 11.42 | 11.49 | 7.67 | 9.04 |
47
+ | htdemucs_6s | 9.11 | 9.54 | 5.74 | 8.66 |
48
+ | htdemucs | 9.78 | 10.01 | 6.42 | 8.53 |
49
+ | mdx_net_inst_hq3 | — | — | — | 5.81 |
50
 
51
  Higher is better. SDR is computed with the `museval` reference implementation
52
  (BSS Eval v4) on 1-second windows, exactly the protocol used by SiSEC and the
 
93
  df.groupby(["model_id", "stem"])["sdr_median"].median().unstack()
94
  ```
95
 
96
+ ### `audio_samples` (planned for v1.2)
97
 
98
  A future config will ship a small set of CC-BY-licensed clips with reference
99
  and predicted stems, so you can A/B them in the dataset viewer. Sourcing
100
  genuinely commercial-friendly 4-stem multitracks in 2026 is non-trivial;
101
+ see the [v1.2 sourcing notes](https://github.com/yourusername/musicai/blob/main/scripts/hf-benchmark/configs/tracks.yaml)
102
  for the plan.
103
 
104
  ---
105
 
106
  ## Models
107
 
108
+ ### v1.1 (this release)
109
 
110
+ All five models below produced complete results on the full 50-track
111
+ MUSDB18-HQ test split.
112
 
113
  | id | family | notes |
114
  |---|---|---|
115
  | `htdemucs` | Hybrid Transformer Demucs | Facebook AI's default 4-stem model |
116
  | `htdemucs_ft` | Hybrid Transformer Demucs | Fine-tuned variant, best vocal/instrumental separation in the Demucs family |
117
+ | `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. |
118
+ | `mdx_extra_q` | Demucs MDX | MDX challenge winner, quantised, 4-model ensemble — best `bass` and `drums` of the lineup |
119
+ | `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). |
120
 
121
+ ### Planned for v1.2
122
 
123
  | id | family | why deferred |
124
  |---|---|---|
125
+ | `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. |
 
126
  | `mel_band_roformer` | Mel-Band Roformer | Same reason. |
127
  | `spleeter_4stems` | Spleeter | Legacy baseline; TensorFlow install is brittle on Apple Silicon. |
128
 
 
131
 
132
  ---
133
 
134
+ ## Changelog
135
 
136
+ ### v1.1 (current)
 
137
 
138
+ - Added `mdx_net_inst_hq3` (vocals-only MDX-Net via `audio-separator` with the
139
+ CoreML ONNX execution provider).
140
+ - Fixed `htdemucs_6s` `other`-stem evaluation. The 6-stem model splits piano
141
+ and guitar out of `other`; the v1 eval pass compared its residual `other`
142
+ output directly to MUSDB's `other` and got a misleading 0.22 dB. v1.1 sums
143
+ the model's `piano + guitar + other` predictions back together before SDR,
144
+ so `htdemucs_6s` is now directly comparable to its 4-stem siblings.
145
+ - New `prediction_components` column on every row records the WAV files that
146
+ were summed to form each stem (e.g. `vocals` or `other+piano+guitar`), so
147
+ the aggregation is fully auditable.
148
 
149
+ ### v1
 
 
 
 
150
 
151
+ - Initial release: 4 Demucs-family models × 50 MUSDB18-HQ tracks = 800 rows.
152
+ - Known issues (both fixed in v1.1): missing `mdx_net_inst_hq3`,
153
+ `htdemucs_6s` `other`-stem evaluation artefact.
 
 
 
 
 
 
 
 
154
 
155
  ---
156
 
 
237
  ```
238
 
239
  Reference wall times measured on an Apple M4 Pro (24 GB unified memory),
240
+ PyTorch 2.11 with the MPS backend, for the v1.1 lineup. Demucs models use
241
+ MPS; MDX-Net runs through ONNX Runtime's CoreML execution provider.
242
 
243
  | Stage | Wall time |
244
  |---|---|
245
  | Download MUSDB18-HQ from Zenodo | 32 min |
246
+ | Separate (5 models × 50 tracks) | ~2 h 30 min |
247
+ | Eval (museval BSS Eval v4) | ~2 h 20 min |
248
  | Build dataset | < 1 s |
249
+ | **Total** | **~5 h 20 min** |
250
 
251
  ---
252
 
metrics_only/metrics.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37ddb29495c4b47a0152fc74799dd965e4baea47ff114c132d8d3d6edda9d07b
3
- size 58108
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338073fd339bfeecbae38ab341897a44232641d506add8fe94a06f848911c72f
3
+ size 61722