[Paper Review] A Streamlined Encoder/Decoder Architecture for Melody Extraction
This paper proposes a streamlined 7-layer encoder/decoder network for melody extraction that eliminates post-processing binarization by integrating a non-melody detector in the bottleneck layer. By leveraging pooling indices for frequency localization and using argmax on the salience map, the model achieves state-of-the-art performance on vocal and general melody datasets with significantly simpler architecture and no ad-hoc thresholding.
Melody extraction in polyphonic musical audio is important for music signal processing. In this paper, we propose a novel streamlined encoder/decoder network that is designed for the task. We make two technical contributions. First, drawing inspiration from a state-of-the-art model for semantic pixel-wise segmentation, we pass through the pooling indices between pooling and un-pooling layers to localize the melody in frequency. We can achieve result close to the state-of-the-art with much fewer convolutional layers and simpler convolution modules. Second, we propose a way to use the bottleneck layer of the network to estimate the existence of a melody line for each time frame, and make it possible to use a simple argmax function instead of ad-hoc thresholding to get the final estimation of the melody line. Our experiments on both vocal melody extraction and general melody extraction validate the effectiveness of the proposed model.
Motivation & Objective
- To develop a simpler, more interpretable neural network architecture for melody extraction that reduces model complexity compared to existing state-of-the-art models.
- To eliminate the need for ad-hoc thresholding in post-processing by directly estimating melody presence per frame through a bottleneck layer.
- To improve frequency localization accuracy by passing pooling indices between encoder and decoder layers, inspired by semantic segmentation methods.
- To achieve competitive performance on both vocal and general melody extraction benchmarks with minimal architectural complexity.
- To enable end-to-end training and inference without additional binarization steps, enhancing model reliability and interpretability.
Proposed method
- The model uses a 7-layer encoder/decoder architecture with three convolutional and max-pooling layers in the encoder, followed by three up-convolution and un-pooling layers in the decoder.
- Pooling indices from the encoder’s max-pooling layers are passed to the corresponding un-pooling layers in the decoder to preserve spatial and frequency resolution for better localization.
- A separate branch from the bottleneck layer predicts the presence of non-melody frames, enabling a simple argmax operation to binarize the output without thresholding.
- The salience map output is generated by concatenating the decoder output with the non-melody prediction, allowing direct estimation of the melody line.
- The model uses a CQT-based time-frequency representation with 320 bins (vocal) or 400 bins (general) and a 5x1 kernel for the final pooling layer in general melody tasks.
- Training is performed using supervised learning with cross-entropy loss on ground-truth binary F0 matrices, and the model converges in under 20 minutes on a single GTX 1080ti.
Experimental results
Research questions
- RQ1Can a significantly simplified encoder/decoder architecture achieve state-of-the-art performance in melody extraction without complex residual blocks or pyramid pooling?
- RQ2Can the use of pooling indices between encoder and decoder layers improve frequency localization accuracy in melody extraction?
- RQ3Can a built-in non-melody detector in the bottleneck layer eliminate the need for ad-hoc thresholding in post-processing?
- RQ4How does the proposed model compare to existing methods in terms of accuracy and robustness across diverse datasets like MedleyDB and ADC2004?
- RQ5Does the integration of argmax-based binarization lead to better generalization and lower false alarm rates compared to threshold-based methods?
Key findings
- The proposed model achieves the highest overall accuracy (OA) of 83.7% on the MedleyDB vocal melody dataset, outperforming both DSM and Lu & Su’s model.
- On the MedleyDB general melody dataset, the model achieves 64.3% OA, outperforming DSM (61.7%) and matching CRNN (64.3%) while using a much simpler architecture.
- The model reduces voicing false alarms (VFA) to 13.3% on MedleyDB vocal melody, significantly lower than DSM’s 48.7% and Lu & Su’s 22.4%, indicating better noise suppression.
- The ablated version without the non-melody detector achieves only 68.4% OA on MedleyDB, confirming the critical role of the built-in detector in performance.
- The model outperforms its ablated variant across all five metrics on all four datasets, demonstrating the effectiveness of the non-melody detection component.
- Replacing CFP with CQT reduces OA by approximately 10% on vocal melody tasks, highlighting the importance of the CFP-based representation for performance.
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.