English

Supervised contrastive learning from weakly-labeled audio segments for musical version matching

Sound 2025-05-19 v3 Artificial Intelligence Machine Learning Audio and Speech Processing Machine Learning

Abstract

Detecting musical versions (different renditions of the same piece) is a challenging task with important applications. Because of the ground truth nature, existing approaches match musical versions at the track level (e.g., whole song). However, most applications require to match them at the segment level (e.g., 20s chunks). In addition, existing approaches resort to classification and triplet losses, disregarding more recent losses that could bring meaningful improvements. In this paper, we propose a method to learn from weakly annotated segments, together with a contrastive loss variant that outperforms well-studied alternatives. The former is based on pairwise segment distance reductions, while the latter modifies an existing loss following decoupling, hyper-parameter, and geometric considerations. With these two elements, we do not only achieve state-of-the-art results in the standard track-level evaluation, but we also obtain a breakthrough performance in a segment-level evaluation. We believe that, due to the generality of the challenges addressed here, the proposed methods may find utility in domains beyond audio or musical version matching.

Keywords

Cite

@article{arxiv.2502.16936,
  title  = {Supervised contrastive learning from weakly-labeled audio segments for musical version matching},
  author = {Joan Serrà and R. Oguz Araz and Dmitry Bogdanov and Yuki Mitsufuji},
  journal= {arXiv preprint arXiv:2502.16936},
  year   = {2025}
}

Comments

17 pages, 6 figures, 8 tables (includes Appendix); accepted at ICML25

R2 v1 2026-06-28T21:55:08.916Z