[Paper Review] Voice and accompaniment separation in music using self-attention convolutional neural network
This paper proposes a self-attention convolutional neural network (Self-Attention Dense-UNet) for voice and accompaniment separation in music, integrating self-attention subnets into a densely connected UNet architecture to model long-term musical repetitions. The method achieves a 19.5% relative improvement in vocal separation SDR over the baseline, outperforming state-of-the-art models like MMDenseLSTM and MMDenseNet.
Music source separation has been a popular topic in signal processing for decades, not only because of its technical difficulty, but also due to its importance to many commercial applications, such as automatic karoake and remixing. In this work, we propose a novel self-attention network to separate voice and accompaniment in music. First, a convolutional neural network (CNN) with densely-connected CNN blocks is built as our base network. We then insert self-attention subnets at different levels of the base CNN to make use of the long-term intra-dependency of music, i.e., repetition. Within self-attention subnets, repetitions of the same musical patterns inform reconstruction of other repetitions, for better source separation performance. Results show the proposed method leads to 19.5% relative improvement in vocals separation in terms of SDR. We compare our methods with state-of-the-art systems i.e. MMDenseNet and MMDenseLSTM.
Motivation & Objective
- To improve voice and accompaniment separation in music using deep learning, especially in the absence of clean source recordings.
- To address the challenge of modeling long-term temporal dependencies and repetitions in music, which are critical for accurate source separation.
- To enhance performance beyond existing state-of-the-art models like MMDenseNet and MMDenseLSTM by incorporating self-attention mechanisms into a dense convolutional architecture.
- To demonstrate that self-attention subnetworks effectively capture intra-repetition patterns in music, improving reconstruction quality.
Proposed method
- A Dense-UNet architecture is used as the base model, replacing standard convolutional layers with densely connected CNN blocks (DenseNet) to improve feature reuse and reduce vanishing gradients.
- Self-attention subnets are inserted at multiple levels of the network to model long-range dependencies and repetitions in the time-frequency representation of music.
- The self-attention mechanism computes queries, keys, and values from feature maps, using softmax-normalized dot products to attend to relevant patterns across time and frequency.
- The model uses magnitude STFT of the mixture as input and predicts soft masks via a 1×1 convolutional layer, which are then multiplied element-wise with the input to reconstruct source signals.
- The loss function is the L1 norm between the masked output and the ground-truth magnitude STFT, optimized using the ADAM optimizer with a 5e-5 initial learning rate.
- During inference, overlapping windows of 1250 frames are used with 3/4 overlap, and results are averaged to improve robustness.
Experimental results
Research questions
- RQ1Can self-attention mechanisms effectively model long-term repetitions in music to improve voice and accompaniment separation?
- RQ2How does integrating self-attention into a Dense-UNet architecture affect performance compared to standard CNN and RNN-based models?
- RQ3To what extent does the proposed method reduce the gap to the oracle magnitude STFT performance?
- RQ4Does the addition of self-attention provide a larger improvement for vocals than for accompaniment, given the greater spectral masking challenges?
Key findings
- The proposed self-attention Dense-UNet achieves a 19.5% relative improvement in vocal separation SDR compared to the non-attention Dense-UNet baseline.
- The model improves absolute SDR by 1.5 dB for vocals and 1.19 dB for accompaniment over the baseline, with relative gains of 22.8% and 9.2% respectively.
- On the public test set, the model achieves SDR of 13.90 dB for accompaniment and 7.72 dB for vocals, outperforming MMDenseNet (12.10 dB and 6.00 dB) and MMDenseLSTM (12.73 dB and 6.31 dB).
- The improvement over MMDenseLSTM is 14.9% for accompaniment and 28.7% for vocals in relative SDR gain, indicating strong superiority for vocal separation.
- The gap between the proposed model and the oracle magnitude STFT is only 2–3 dB across all metrics, indicating high performance close to the theoretical limit.
- The addition of BLSTM layers in MMDenseLSTM provides only marginal improvement over MMDenseNet, suggesting RNNs are less effective for this task than the proposed self-attention mechanism.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.