Abstract
In this paper, we propose a new approach to cover song identification using a CNN (convolutional neural network). Most previous studies extract the feature vectors that characterize the cover song relation from a pair of songs and used it to compute the (dis)similarity between the two songs. Based on the observation that there is a meaningful pattern between cover songs and that this can be learned, we have reformulated the cover song identification problem in a machine learning framework. To do this, we first build the CNN using as an input a cross-similarity matrix generated from a pair of songs. We then construct the data set composed of cover song pairs and non-cover song pairs, which are used as positive and negative training samples, respectively. The trained CNN outputs the probability of being in the cover song relation given a cross-similarity matrix generated from any two pieces of music and identifies the cover song by ranking on the probability. Experimental results show that the proposed algorithm achieves performance better than or comparable to the state-of-the-art.
Introduction
Identifying a cover song is a significant challenge in music information retrieval. While humans can easily recognize a different version of a song, computational systems struggle because covers often vary wildly in instrumentation, tempo, rhythm, and key. Traditional methods typically rely on extracting chroma features and using hand-crafted algorithms like Dynamic Time Warping (DTW) to measure similarity. However, these rule-based approaches often fail to generalize across the diverse ways artists reinterpret tracks.
This paper reformulates audio cover song identification (CSI) as an image classification task. By representing the relationship between two songs as a 2D cross-similarity matrix (CSM), the authors train a Convolutional Neural Network (CNN) to detect the visual "fingerprints" of a cover, moving beyond traditional distance metrics to a robust machine learning framework.
Methods
The proposed system follows a three-stage pipeline to transform audio pairs into a classification probability.
- Preprocessing: Audio is converted into 12-dimensional chroma features using 1-second windows. To handle key changes, an "optimal transposition index" is applied to align the keys of the two songs.
- Cross-Similarity Matrix (CSM) Generation: The Euclidean distance is calculated between every time step of Song A and Song B. This creates a 180x180 "image" (representing the first 3 minutes) where diagonal stripes indicate sequences of similar harmonic progressions.
- CNN Classification: This matrix is fed into a 10-layer CNN. The architecture uses a 5x5 filter in the first layer—found to be a "sweet spot" for capturing musical motifs—followed by several blocks of 3x3 filters, max-pooling, and batch normalization. The final layer uses a softmax function to output the probability of the pair being a cover.
By treating the CSM as an image, the CNN can identify diagonal stripes (similar melodies) or block patterns (similar harmonies) even when signals are noisy or distorted by different arrangements.
Experimental Setup
The model was evaluated using a dataset modeled after the MIREX cover song task, consisting of 330 query songs and 670 "dummy" distractor songs. The dataset includes 30 distinct groups of Korean popular music released between 1980 and 2016, with each group containing one original and ten covers. The model was trained on 2,113 cover pairs and an equal number of non-cover pairs.
Results
The CNN approach significantly outperformed state-of-the-art rule-based and metric-learning baselines across all major metrics.
Key performance indicators include:
- MNIT10 (Mean Number of covers in Top 10): The CNN achieved 8.04, outperforming the SimPLe algorithm's 6.8.
- MAP (Mean Average Precision): The CNN reached 0.84, compared to the 0.66 and 0.81 of the baselines.
- MR1 (Mean Rank of first correct cover): The CNN achieved a rank of 2.50, representing an 80.10% improvement over the second-best algorithm. This indicates that the correct cover is found much higher in the results list.
Conclusion
This research demonstrates that the "essence" of a cover song manifests visually in a similarity matrix, which CNNs are exceptionally well-suited to detect. While the current pairwise comparison approach faces scalability challenges for massive databases, the results prove that a machine learning framework can effectively learn the complex, non-linear patterns defining musical covers. Future work will explore embedding techniques for faster search and broader genre generalization.
Summary updated