English

A Contrastive Self-Supervised Learning scheme for beat tracking amenable to few-shot learning

Audio and Speech Processing 2024-11-08 v1 Sound

Abstract

In this paper, we propose a novel Self-Supervised-Learning scheme to train rhythm analysis systems and instantiate it for few-shot beat tracking. Taking inspiration from the Contrastive Predictive Coding paradigm, we propose to train a Log-Mel-Spectrogram Transformer encoder to contrast observations at times separated by hypothesized beat intervals from those that are not. We do this without the knowledge of ground-truth tempo or beat positions, as we rely on the local maxima of a Predominant Local Pulse function, considered as a proxy for Tatum positions, to define candidate anchors, candidate positives (located at a distance of a power of two from the anchor) and negatives (remaining time positions). We show that a model pre-trained using this approach on the unlabeled FMA, MTT and MTG-Jamendo datasets can successfully be fine-tuned in the few-shot regime, i.e. with just a few annotated examples to get a competitive beat-tracking performance.

Cite

@article{arxiv.2411.04152,
  title  = {A Contrastive Self-Supervised Learning scheme for beat tracking amenable to few-shot learning},
  author = {Antonin Gagnere and Geoffroy Peeters and Slim Essid},
  journal= {arXiv preprint arXiv:2411.04152},
  year   = {2024}
}
R2 v1 2026-06-28T19:50:31.591Z