Abstract
Beat tracking—the identification of the primary pulse or "tactus" in music—is a fundamental task in Music Information Retrieval (MIR). Traditionally, high-performing models have relied on extensive supervised training using manually annotated datasets. We present Zero-Note Samba (ZeroNS), a novel self-supervised framework that learns to track beats without a single human-provided label. By training a neural network to predict synchrony between percussive and non-percussive audio components, the model naturally discovers rhythmic structures, matching or exceeding traditional unsupervised methods and drastically reducing the data required for supervised fine-tuning.
Introduction
While humans instinctively tap their feet to a beat, machines typically require "supervised" training on thousands of expert-annotated songs. This process is expensive, time-consuming, and prone to dataset bias, often causing models to fail on complex genres like syncopated jazz. ZeroNS addresses this by asking: Can a machine learn the concept of a "beat" simply by listening to how different instruments interact?
Methodology: Synchrony Prediction
The core of the ZeroNS framework is a pretext task called Synchrony Prediction (Sync-Pred). This approach assumes that musicians in a band must stay in time to maintain a "groove."
- Source Separation: Unlabeled audio is split into Percussive (drums) and Non-Percussive (vocals, bass, etc.) tracks using Spleeter.
- Dual-Branch Architecture: Two identical Fully Convolutional Networks (FCNs) analyze these tracks independently after a variable-Q transform.
- Contrastive Learning: The model is shown pairs of clips. If they share the same timestamp, the model is rewarded for producing similar embeddings (maximizing cosine similarity). If they are shifted in time (out of sync), it is rewarded for making them dissimilar.
- Inference: The outputs of both branches are merged and processed by a Dynamic Bayesian Network (DBN) to determine final beat locations.
Key Insights and Results
ZeroNS demonstrates that the relationship between instruments serves as a powerful proxy for rhythm. A striking emergent property of this training is that the self-supervised embeddings become sparse and periodic on their own. The network learns that the most efficient way to verify synchrony is to focus on the beats—the moments where instruments are most likely to align.
Performance Benchmarks
- Unsupervised Superiority: ZeroNS outperformed industry-standard unsupervised methods (such as Librosa’s Spectral Flux) across multiple datasets, including the challenging SMC dataset.
- Low-Data Efficiency: Pre-training with ZeroNS allows a model to reach high accuracy with as few as 1 to 24 labeled songs. In contrast, a randomly initialized model requires nearly 100 songs to achieve similar results.
- Generalization: The model exhibits strong cross-dataset generalization, suggesting it learns a universal concept of rhythm rather than memorizing dataset-specific quirks.
Limitations and Future Work
While ZeroNS is highly effective in low-data regimes, it hits a "high-data ceiling" where massive amounts of labeled data eventually diminish the relative benefit of self-supervision. Additionally, the method's reliance on source separation means that artifacts in the initial split could potentially impact learning. Future research may extend this synchrony-based approach to downbeat estimation or multi-modal tasks like audio-to-video alignment.
Summary updated