Transfer Learning for Improving Singing-Voice Detection in Polyphonic Instrumental Music

Yuanbo Hou, Frank K. Soong, Jian Luan, Shengchen Li

Abstract

Singing-voice detection (S-VD) is a critical component of music information retrieval, yet it is often hampered by the scarcity of precisely labeled training data. This paper proposes a transfer learning framework that leverages the abundance of speech data to improve S-VD performance. By pre-training a model on a large-scale synthetic dataset of speech mixed with instrumental music and transferring these weights to a singing-voice detection task, the researchers achieved a significant performance boost, increasing the F-score from 89.5% to 93.2%.

Introduction

Identifying the exact frames containing vocals in a music track—known as singing-voice detection (S-VD)—is foundational for tasks such as lyric synchronization, vocal separation, and automated music summarization. However, deep learning models for S-VD require "strong labels" (precise frame-by-frame annotations), which are expensive and time-consuming to produce for music.

While speech recognition datasets are massive, well-labeled singing datasets are scarce. Furthermore, singing presents unique challenges: it is acoustically distinct from speech in articulation and phonation, and it is typically layered behind loud instrumental accompaniment, causing standard voice activity detectors to fail.

Methodology

The proposed approach utilizes a Convolutional Recurrent Neural Network (CRNN) trained via a two-stage transfer learning process:

  1. Source Task (Speech-plus-Music): A large synthetic dataset was created by mixing clean speech (from the Microsoft XiaoIce corpus) with instrumental music. A CNN was trained to perform Speech Activity Detection (SAD) on these clips, allowing the model to learn the fundamental spectral characteristics of the human voice against musical backgrounds.
  2. Target Task (Singing-Voice Detection): The weights from the speech-trained CNN were transferred to a new model. A Recurrent Neural Network (RNN) layer was added to capture the long-term temporal context inherent in singing, such as sustained vowels.
Overview of the transfer learning framework from speech activity detection to singing-voice detection.

Researchers evaluated two transfer strategies: Fixed, where transferred layers remain frozen, and Fine-tuning, where layers are allowed to adapt to the specific nuances of singing.

Key Insights and Domain Analysis

A critical finding was the "Generic vs. Specific" trade-off. Transferring only the first convolutional layer ($L_1$) yielded the best results. Lower layers capture basic features like edges and frequency pulses common to all human voices, whereas higher layers learn complex phonemes specific to speech that can degrade performance when applied to singing.

t-SNE visualization showing the domain gap between synthesized speech-plus-music (red) and real polyphonic singing (blue).

Despite the success of the transfer, t-SNE visualizations reveal a distinct "domain gap" between synthesized speech-plus-music and real polyphonic singing. While they occupy different feature spaces, the underlying "voice-ness" is similar enough that speech provides a robust initialization for the model.

Results and Performance

The fine-tuned transfer learning model achieved an F-score of 93.2%, outperforming the 89.5% baseline. The model proved highly efficient, requiring only ~20.7K trainable parameters when fine-tuning the $L_1$ layer.

Validation on the public MUSDB18 benchmark confirmed the model's generalizability. It particularly excelled in Recall (96.57%), demonstrating a superior ability to identify vocal sections across diverse musical genres without missing segments.

Conclusion and Future Work

This research demonstrates that speech can serve as an effective proxy for singing in the early stages of model training. However, limitations remain regarding the domain gap between synthetic and real-world audio. Future work may focus on refining synthetic data mixing techniques—such as varying signal-to-noise ratios—and exploring the model's robustness against extreme vocal styles like operatic vibrato or heavy metal vocals.

Summary updated

BibTeX
@inproceedings{hou2020transfer,
  author = {Yuanbo Hou and Frank K. Soong and Jian Luan and Shengchen Li},
  title = {{Transfer Learning for Improving Singing-Voice Detection in Polyphonic Instrumental Music}},
  booktitle = {Interspeech},
  year = {2020},
  doi = {10.21437/interspeech.2020-1806},
}
Figure