Contrastive and Transfer Learning for Effective Audio Fingerprinting through a Real-World Evaluation Protocol

Christos Nikou, Theodoros Giannakopoulos
7/8/2025
cs.SDcs.AIcs.IR
transformer-attention

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Recent advances in song identification leverage deep neural networks to learn compact audio fingerprints directly from raw waveforms. While these methods perform well under controlled conditions, their accuracy drops significantly in real-world scenarios where the audio is captured via mobile devices in noisy environments.

Show full abstract

In this paper, we introduce a novel evaluation protocol designed to better reflect such real-world conditions. We generate three recordings of the same audio, each with increasing levels of noise, captured using a mobile device's microphone. Our results reveal a substantial performance drop for two state-of-the-art CNN-based models under this protocol, compared to previously reported benchmarks. Additionally, we highlight the critical role of the augmentation pipeline during training with contrastive loss. By introduction low pass and high pass filters in the augmentation pipeline we significantly increase the performance of both systems in our proposed evaluation. Furthermore, we develop a transformer-based model with a tailored projection module and demonstrate that transferring knowledge from a semantically relevant domain yields a more robust solution. The transformer architecture outperforms CNN-based models across all noise levels, and query durations. In low noise conditions it achieves 47.99% for 1-sec queries, and 97% for 10-sec queries in finding the correct song, surpassing by 14%, and by 18.5% the second-best performing model, respectively, Under heavy noise levels, we achieve a detection rate 56.5% for 15-second query duration. All experiments are conducted on public large-scale dataset of over 100K songs, with queries matched against a database of 56 million vectors.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nikou2025contrastive,
  title  = {Contrastive and Transfer Learning for Effective Audio Fingerprinting through a Real-World Evaluation Protocol},
  author = {Christos Nikou and Theodoros Giannakopoulos},
  year   = {2025},
  eprint = {2507.06070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.06070v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.06070.svg)](https://codeofpaper.com/paper/2507.06070)

Discussion