Fast accuracy estimation of deep learning based multi-class musical source separation

Alexandru Mocanu, Benjamin Ricaud, Milos Cernak

TL;DR

Training deep learning models for musical source separation is computationally expensive and data-hungry. This paper demonstrates that the Ideal Ratio Mask (IRM)—a simple, non-trainable mathematical "oracle"—serves as a highly accurate proxy for predicting how well state-of-the-art neural networks will perform on specific instrument classes, potentially saving researchers weeks of wasted training time.

What Problem Does This Paper Address?

In the world of audio AI, "source separation" is the holy grail: taking a mixed track and perfectly extracting the vocals, drums, bass, and other instruments. While Deep Neural Networks (DNNs) currently hold the crown for performance, they come with a heavy "tax." Training them requires massive amounts of labeled data (individual instrument tracks) and significant GPU time.

The industry standard dataset, MUSDB18, is limited to just four classes. If a researcher wants to add a fifth class—say, electric guitar or flute—they usually have to collect a new dataset and train a model from scratch just to see if that instrument is even "separable" from the rest. The authors address this bottleneck by asking: Can we predict a model's success before we ever hit the "train" button?

Methods

The authors propose using the Ideal Ratio Mask (IRM) as a diagnostic tool.

  1. The Oracle (IRM): The IRM is a "perfect" mask calculated using the ground-truth source signals. It represents the theoretical upper bound of what any Time-Frequency (TF) masking-based system can achieve. It requires no training and can be calculated in seconds.
  2. The Validation Model: To prove the IRM is a good proxy, they trained a variation of Meta-TasNet, a state-of-the-art "end-to-end" model that operates directly on raw waveforms rather than spectrograms.
  3. The Comparison: They calculated IRM scores across various instruments and compared them to the actual performance of the trained Meta-TasNet. By calculating Pearson and Spearman correlations, they determined if the "easy" songs for the IRM were also the "easy" songs for the neural network.

Datasets

  • MUSDB18: The standard benchmark for source separation (used for context).
  • Karaoke Version Dataset: A custom dataset curated by the authors from the "Karaoke Version" website.
  • Scale: 23 hours of music (241 train, 46 validation, 50 test songs).
  • Classes: Beyond the standard four, they added electric guitar and wind instruments (saxophone, flute). This allowed them to test the "separability" of instruments that often overlap significantly in pitch and texture.

Key Insights and Ideas

  • The "Universal Predictor" Insight: Even though TasNet is an "end-to-end" waveform model (meaning it doesn't explicitly use spectrograms), its performance correlates heavily with the IRM. This suggests that these models "internally" build a Time-Frequency representation and suffer from the same fundamental limitation: if two sounds overlap perfectly in the TF plane, they cannot be perfectly separated by masking.
  • Separability vs. Frequency: A common assumption is that models perform better on instruments that appear more frequently in the training data. The authors debunked this by showing that muting instruments (reducing their frequency) didn't necessarily tank performance, whereas the IRM score (the inherent "separability") remained a much stronger predictor of success.
  • Data Selection: The IRM can be used to "rank" songs in a dataset. The authors found that training on the "best" 10% of songs (as ranked by IRM) yielded results nearly as good as training on the full dataset, suggesting a path toward more efficient "curated" training.

Key Results

  • Strong Correlation: The correlation between the IRM oracle and the trained Meta-TasNet was remarkably high. For vocals, the Pearson correlation was 0.96; for electric guitar, it was 0.88.
  • Instrument Difficulty:
    • Vocals, Bass, and Drums remain the easiest to separate.
  • Electric Guitar is moderately difficult but achievable (SDR ~4.62 for IRM).
  • Wind Instruments proved extremely difficult (negative SI-SDR), largely due to severe spectral interference with other melodic components.
  • Efficiency: The IRM provides an "excellent proxy" for performance without the need for days of GPU-intensive training.

Limitations and Future Work

  • Model Scale: To save time, the authors used a "proof-of-concept" version of TasNet downsampled to 8kHz. While this provided the necessary intuition, it doesn't represent the absolute ceiling of modern high-fidelity separation.
  • Masking Paradigm: The IRM proxy is specifically useful for models that rely on masking. While most current SOTA models do, future architectures that use generative synthesis (like Diffusion models) might bypass the TF-overlap limitations that the IRM measures.
  • Future Directions: The authors suggest using this method to quickly evaluate even more diverse instrument classes (like piano or strings) to see which are viable for commercial-grade separation products.

Summary updated

BibTeX
@inproceedings{mocanu2022fast,
  author = {Alexandru Mocanu and Benjamin Ricaud and Milos Cernak},
  title = {{Fast accuracy estimation of deep learning based multi-class musical source separation}},
  booktitle = {NLDL},
  year = {2022},
  url = {https://openreview.net/forum?id=LBMNbFaJaf},
}

Loading related content...

Figure