Singing voice separation using a deep convolutional neural network trained by ideal binary mask and cross entropy

Kin Wah Edward Lin, Balamurali B. T., Enyan Koh, Simon Lui, Dorien Herremans

TL;DR

This paper introduces a novel deep learning approach for separating singing voices from music by treating spectrograms as images and applying pixel-wise classification. By using an Ideal Binary Mask (IBM) as the target and cross-entropy loss, the method effectively isolates vocals and eliminates the need for complex post-processing steps like Wiener filtering, achieving state-of-the-art results on benchmark datasets.

What Problem Does This Paper Address?

Separating a singing voice from its accompanying music is a long-standing challenge in music information retrieval. While humans can effortlessly distinguish these sounds, machines struggle. Existing methods often rely on complex signal processing techniques and post-processing steps that are difficult to understand and optimize. This paper aims to simplify and improve this process by leveraging recent advancements in computer vision, specifically pixel-wise image classification, to directly predict vocal presence in time-frequency bins of a music spectrogram.

Methods

The core of this approach is a Convolutional Neural Network (CNN) adapted from image classification tasks. Instead of treating the entire spectrogram as a single input, the CNN processes overlapping "excerpts" of spectrograms, effectively performing pixel-wise classification on each time-frequency (T-F) bin.

Key innovations include:

  • Ideal Binary Mask (IBM) as Target: The network is trained to predict an IBM, which is a binary mask indicating whether the singing voice energy is dominant in a specific T-F bin. This simplifies the target output compared to predicting continuous masks.
  • Cross-Entropy Loss: This loss function is used to minimize the probability error between the predicted and target labels for each T-F bin, which is well-suited for multi-label classification scenarios like this.
  • Autoencoder Pre-training: The CNN's weights are initially trained as an autoencoder on singing voice spectrograms. This pre-training helps initialize the network with useful features, leading to more efficient training and better performance.
  • Elimination of Wiener Filtering: By directly predicting a soft mask (derived from the cross-entropy output), the need for a separate Wiener filter post-processing step, common in other methods, is eliminated.

Datasets

The authors used two publicly available datasets for their experiments:

  • iKala Dataset: This dataset, specifically created for singing voice separation, contains 352 music clips. For their experiments, they randomly split these into training (152 clips), validation (50 clips), and test (50 clips) sets.
  • DSD100 Dataset: This dataset comprises 100 professionally produced music recordings, each with separate tracks for singing voice, drums, bass, and other instruments. The authors used this dataset for evaluating their model on full-track songs.

Key Insights and Ideas

  • Spectrograms as Images: The paper successfully demonstrates that treating time-frequency representations of audio (spectrograms) as images and applying image classification techniques can be highly effective for audio source separation.
  • IBM Simplifies Target: Using a binary mask (IBM) as the target label simplifies the learning process compared to predicting continuous masks, making the task more tractable for the CNN.
  • Cross-Entropy for Multi-label: The choice of cross-entropy loss is crucial, as it's well-suited for scenarios where each T-F bin can be considered a "pixel" with multiple potential labels (vocal vs. accompaniment).
  • Pre-training Boosts Performance: Pre-training the CNN as an autoencoder significantly improves training efficiency and the final separation quality, highlighting the benefit of leveraging unsupervised learning for feature extraction.
  • End-to-End Learning: By directly predicting a soft mask, the model bypasses the need for complex, often heuristic-based post-processing steps like Wiener filtering, leading to a more streamlined and potentially more robust system.

Key Results

  • iKala Dataset Performance: The proposed CNN achieved the highest Global Normalized Source-to-Distortion Ratio (GNSDR) for both singing voice and music accompaniment on the iKala dataset. It outperformed the MIREX 2016 first runner-up (MC) and the MIREX 2014 winner (IIY) by significant dB gains (e.g., 2.2702 dB higher for singing voice than MC). Statistical analysis (ANOVA) confirmed these differences were statistically significant.
  • DSD100 Dataset Performance: On the DSD100 dataset, the model showed comparable performance to state-of-the-art systems that utilize more complex techniques like multi-channel modeling and model blending. This suggests the proposed method is effective even without these advanced strategies.
  • Training Efficiency: The approach demonstrated that effective training can be achieved with a significantly smaller training set compared to some other state-of-the-art methods, underscoring the efficiency of their preprocessing and network design.

Limitations and Future Work

  • Dataset Agnosticism: While the model performs well, the authors note the need for models that are truly dataset-agnostic, meaning they generalize well without requiring extensive retraining or fine-tuning for different datasets.
  • Music Accompaniment Quality: The primary focus is on singing voice separation. While the music accompaniment is also separated, further improvements in its quality are a potential area for future work.
  • Component Analysis: The authors suggest systematically studying the impact of different CNN components (e.g., number of feature maps) on separation quality.
  • Blending with Other Systems: The results suggest that the proposed CNN could be a valuable component to integrate with other state-of-the-art systems, potentially through model blending, to further enhance performance.

Summary updated

BibTeX
@article{lin2020singing,
  author = {Kin Wah Edward Lin and Balamurali B. T. and Enyan Koh and Simon Lui and Dorien Herremans},
  title = {{Singing voice separation using a deep convolutional neural network trained by ideal binary mask and cross entropy}},
  journal = {Neural Computing and Applications},
  year = {2020},
  url = {https://openreview.net/forum?id=A7c4dTtSIQ},
}
Figure