Introduction
Cover Song Identification (CSI) is a fundamental task in Music Information Retrieval (MIR) that involves identifying different versions of the same musical work. Unlike simple audio fingerprinting, which targets exact matches, CSI must account for significant variations in key, tempo, instrumentation, and genre. Traditional deep learning approaches for CSI typically rely on Convolutional Neural Networks (CNNs), which excel at capturing local textures but often fail to model the long-range global structures essential for song identity.
CoverHunter addresses these challenges by introducing a hybrid architecture and a novel training strategy designed to improve both feature extraction and temporal alignment.
Methodology
The Conformer Backbone
To bridge the gap between local and global context, CoverHunter utilizes a Conformer backbone—a "convolution-augmented transformer." This architecture integrates self-attention mechanisms to capture long-range dependencies across an entire track while maintaining convolutional layers to process local acoustic features. This dual approach allows the model to recognize periodic musical signals and structural relationships that define a song across different covers.
Attentive Time Domain Pooling
Standard CSI models often use simple average pooling to compress a sequence of features into a single song embedding. However, not all parts of a song are equally informative. CoverHunter introduces an attentive pooling mechanism that learns to weigh different frames based on their discriminative value. By "listening" more closely to unique musical sections and ignoring redundant or silent segments, the model produces more robust and compact embeddings.
Coarse-to-Fine Training and Alignment
A major bottleneck in CSI training is the lack of temporal alignment between versions. A cover may include an improvised intro or a spoken-word bridge not present in the original. Training on unaligned segments introduces noise that degrades performance. CoverHunter solves this through a two-step training scheme:
- Coarse Stage: The model is trained on short (15s) chunks to learn initial representations.
- Alignment: These initial embeddings are used to find the best temporal matches between different versions of the same song.
- Fine Stage: The model is retrained using precisely aligned, longer (45s) chunks, ensuring the network learns from the most relevant musical content.
Multi-Loss Optimization
The model is optimized using a combination of three loss functions to refine the embedding space: Focal Loss (to manage class imbalance), Center Loss (to minimize intra-class distance), and Triplet Loss (to maximize inter-class distance).
Experimental Results
Benchmarks and Accuracy
CoverHunter was evaluated on three standard benchmarks: SHS100K, Covers80, and DaTacos. It consistently outperformed previous state-of-the-art (SOTA) models such as ByteCover and LyraC-Net:
- SHS100K-TEST: Achieved a Mean Average Precision (mAP) of 0.875, compared to ByteCover's 0.836.
- DaTacos: Reached an mAP of 0.865, significantly outperforming LyraC-Net.
Inference and Efficiency
Efficiency is a key advantage of CoverHunter. It achieves SOTA results using smaller embedding sizes (128 or 256 dimensions) than previous models, which often required 1024 dimensions. Furthermore, the system is optimized for speed, with an inference time of approximately 54ms per track—nearly twice as fast as ResNet-50 based baselines (108ms).
Conclusion
CoverHunter demonstrates that combining global structural modeling with precise temporal alignment can significantly advance the state of cover song identification. By leveraging the Conformer architecture and a coarse-to-fine training strategy, the system provides a high-performance, efficient solution suitable for large-scale industrial applications like copyright management and music discovery. Future work will continue to explore robust alignment techniques for songs with extreme structural re-orderings.
Summary updated