ByteCover3: Accurate Cover Song Identification on Short Queries

Xingjian Du, Zijie Wang, Xia Liang, Huidong Liang, Bilei Zhu, Zejun Ma

TL;DR

ByteCover3 is a state-of-the-art system designed to identify cover songs from short audio snippets (e.g., 10–60 seconds) against a database of full-length tracks. By shifting from global embeddings to a local feature matching approach powered by a novel "Local Alignment Loss" and a two-stage retrieval pipeline, it achieves massive accuracy gains on short queries while remaining efficient enough for industrial-scale deployment.

What Problem Does This Paper Address?

Cover Song Identification (CSI) is the task of finding different versions of the same musical work. While deep learning has pushed CSI performance to new heights, most existing models rely on global embeddings—compressing an entire song into a single vector.

This works well for full-length tracks, but it fails in the "TikTok era," where users upload short clips. When you try to match a 15-second snippet against a 4-minute original, a global embedding for the long track includes minutes of "noise" (irrelevant sections) that drown out the signal from the matching 15-second segment. Traditional methods that used local features were often too slow or lacked the discriminative power of deep learning. ByteCover3 aims to bridge this gap, providing an industrial-level solution for short-query CSI.

Methods

The authors propose three major innovations to move beyond global embeddings:

  1. Local Feature Extraction: Instead of one vector per song, ByteCover3 splits audio into 20-second overlapping chunks. It uses a ResNet-IBN backbone to extract a sequence of local embeddings ($X \in \mathbb{R}^{N \times 512}$) for each track.
  2. Local Alignment Loss (LAL): Standard losses like Triplet or Softmax compare single vectors. To train on sequences, the authors introduce LAL, which uses a MaxMean similarity measure. For every local feature in a query, it finds the best match in the target song (Max) and then averages these best matches (Mean). This allows the model to ignore irrelevant parts of the database track.
  3. Two-Stage Retrieval Pipeline: Matching every local feature of a query against every local feature in a massive database is computationally expensive ($O(n^2)$). ByteCover3 solves this with:
  4. Stage 1 (ANN): Uses Hierarchical Navigable Small World (HNSW) graphs to quickly find the top-K nearest neighbors for each local query feature.
  5. Stage 2 (Re-ranking): Performs the more expensive MaxMean similarity calculation only on the small candidate set filtered in Stage 1.
Fig. 1. The architecture of ByteCover3. ByteCover3 uses an embedding extractor to extract local features from the CQT chunks and optimizes the model using the LAL loss. The LAL loss consists of a LAL classification loss and a LAL triplet loss.

Datasets

The model was trained and evaluated on three primary benchmarks:

  • SHS100K: A large-scale dataset with ~108k recordings. The authors created a synthetic "short query" version by randomly cutting segments (6s to 60s) from the test set.
  • Covers80: A classic, smaller benchmark (160 recordings) used for full-length evaluation.
  • Da-TACOS: A recent benchmark with 15,000 performances, used to test the model's robustness.

Key Insights and Ideas

  • Global is the Enemy of Short: The "aha moment" is the confirmation that global pooling is the primary reason previous state-of-the-art models (like ByteCover2) failed on short clips. By preserving local temporal information, the model can "align" the snippet to the correct part of the full song.
  • MaxMean is Non-Commutative: The order matters. By treating the shorter query as the first operand, the MaxMean operator naturally ignores the "distractions" in the longer database track.
  • Efficiency via Hierarchy: The two-stage pipeline proves that local feature matching doesn't have to be slow. By using HNSW for the first pass, the system maintains a retrieval speed comparable to global-vector systems.

Key Results

ByteCover3 shows a dramatic performance leap for short queries. On the SHS100K dataset with 30-second queries, ByteCover3 achieved a Mean Average Precision (mAP) of 0.734, nearly doubling the 0.430 mAP of its predecessor, ByteCover2.

Fig. 2. Length of Queries vs. Performance.

Even at extremely short lengths (6 seconds), ByteCover3 maintains an 8.4% mAP, while previous models drop to near zero (1.59%). Crucially, it remains competitive on full-length tracks, matching or slightly exceeding state-of-the-art results on Covers80.

In terms of efficiency, the total processing time for ByteCover3 is roughly 731ms, which is significantly faster than other local-feature competitors like Re-MOVE (~5772ms) and within the same ballpark as high-dimensional global embedding methods.

Table 1. Performance on different datasets and ablation study on 30 seconds version SHS100K-TEST.

Limitations and Future Work

While ByteCover3 excels at identification, the authors note several areas for expansion:

  • Timestamp Accuracy: The current system identifies if a match exists, but future work will focus on pinpointing exactly where the match occurs in the full-length track.
  • Broader Applications: The team plans to apply this architecture to related tasks like humming recognition and set list identification (identifying multiple songs within a long concert recording).
  • Database Scale: While designed for "industrial-scale," the paper primarily reports on datasets up to ~100k tracks; testing on millions of tracks would be the ultimate validation.

Summary updated

BibTeX
@inproceedings{du2023bytecover,
  author = {Xingjian Du and Zijie Wang and Xia Liang and Huidong Liang and Bilei Zhu and Zejun Ma},
  title = {{ByteCover3: Accurate Cover Song Identification on Short Queries}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
}
Figure