Explore This! Beat and Downbeat Tracking From a Learned Tatum Grid
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: Today's paper: "Explore This! Beat and Downbeat Tracking From a Learned Tatum Grid".
Jane: The gist The proposed novel architecture combines deep learning with differentiable theory-based modules to predict a tatum grid, group tatum events into beats and downbeats,
Tom: First, who's behind it and why it matters.
Title and authors: Tom: So, to recap, this paper introduces "Explore This! Beat and Downbeat Tracking From a Learned Tatum Grid", which suggests a new architecture that predicts a tatum grid and then groups events into beats and downbeats while modeling multiple tempo options at once.
Jane: The core idea they are pushing is that instead of treating every frame as just an event or not, you treat it as part of a larger structure—the local pulse, the tatum grid, and the tempo information linked to that pulse. That's what they call a solution in between when factorization into just framewise probabilities isn't enough.
Lu: They are using a constant eight-note tatum as an equal-pulse base, or a density referent that can be seen as underlying a metrical performance of music, which is important because it lets you consider things like the bridge in Here Comes the Sun where time signatures alternate.
Meng: But they aren't just sticking to one interpretation of tempo; they are modeling multiple options for the current tempo and time signature within that bar-pointer fashion, which sounds like a lot of parameter space to manage during training.
Lalam: It’s an interesting design choice because it allows for local fluctuations, and they use a mixture-of-experts model with multiple candidate waves to help handle that ambiguity better than previous methods.
The paper's summary: Tom: They outline their methodology by breaking it down into three main components: first, there's the frontend processing of the audio spectrogram using alternating convolutions and Transformer blocks to get some initial vectors.
Jane: Then, they have this grid block that tries to estimate the tatum grid from those vectors, which is constrained by needing one hundred percent recall on beats because any missed beat gets missed in their final prediction <ref:2610.14817#pg3>.
Lu: The grid estimation itself is tricky because they choose to express the tatum grid as a tempo and phase rather than just independent framewise probabilities, which helps with the convexity of the loss function.
Meng: And after that, there’s a subgrid block that takes both the audio encoding and the soft tatum grid and tries to estimate local metric distribution at every single tatum point. That involves predicting four integers: beat period TB, beat phase phiB, downbeat period TD, and downbeat phase phiD.
Lalam: The subgrid part is where they measure internal consistency by comparing implied and estimated distributions at every tatum point and penalizing the KL-divergence between them. It’s a way to check if the metric state implies itself consistently across all tatums in that measure.
The paper's improvements: Tom: The paper claims their approach improves continuity metrics compared to existing DBN-free systems, but they also admit it still falls behind the best DBN-based methods on average.
Jane: That's a key point—they aren't claiming to beat everything, but they are showing improvement in continuity metrics specifically for downbeats, especially when time signatures change. That’s a significant result if you look at how many pieces have shifting meters.
Lu: They also suggest that their formulation is highly separable, which means researchers could focus on improving the learning of the tatum grid independently from improving the subgrid block, suggesting independent optimization pathways for those parts of the model.
Meng: From a deployment standpoint, if it's so separable, it might mean we could potentially swap out one module if we find a better specific component without retraining everything. That would be helpful for maintenance at scale.
Lalam: The authors also point out that their threshold inference method, which uses a threshold of zero point five on the framewise probabilities, managed to beat another work by Foscarin et al on continuity metrics, which shows how regularizing theory-informed design can still yield positive results even when you don't use the full Viterbi inference <ref:2610.14817#pg3>.
Conclusion: Tom: So we’re wrapping up the discussion on "Explore This! Beat and Downbeat Tracking From a Learned Tatum Grid". The main point is this architecture uses differentiable theory-based modules to predict the grid, which helps model multiple tempo options simultaneously.
Jane: They show that this structure leads to better continuity metrics on downbeats, especially when time signatures are changing, and they offer two inference paths: Viterbi and threshold inference.
Lu: The implication is that you can decouple the learning of the tatum grid from the subgrid block, which opens up different avenues for optimization in future work.
Meng: For production deployment, knowing that you have these two inference methods gives engineers flexibility to choose what's right for a specific application's requirements.
Lalam: Lalam is quite confident in this direction because it manages to handle metric ambiguity well by considering twelve non-overlapping tempo ranges and their associated confidence distributions, which is a big win for robustness.
Tom: So we have seen how they combine deep learning with theory-based modules to tackle beat and downbeat tracking in a way that explicitly models multiple musical possibilities. That’s the gist of "Explore This! Beat and Downbeat Tracking From a Learned Tatum Grid".
Robert Kihlborg, André Holzapfel, Jan Schlüter
KTH Stockholm · JKU Linz
cs.SD, cs.LG, eess.AS
Submitted: 2026-10-10
Updated: 2026-10-10
Comments: Accepted at the 27th International Society for Music Information Retrieval Conference (ISMIR), 2026
Code: https://github.com/CPJKU/explore_this
Project page: https://tempobeatdownbeat.github.io/tutorial/intro.html
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 72/100
The gist: The gist The proposed novel architecture combines deep learning with differentiable theory-based modules to predict a tatum grid, group tatum events into beats and downbeats, and explicitly model
Key concepts
- Tatum Grid
- This is a structured representation of the musical meter, defining where beats and downbeats occur across different levels of complexity. The model attempts to learn this grid from audio input using Transformer blocks, aiming for 100% recall on all beats.
- Subgrid State
- A subgrid state describes the local metric situation at every tatum point. It includes parameters like the beat period (how many tatums per beat), the current beat phase, and downbeat period and phase. This helps model how the meter changes locally.
- Differentiable Approach
- Instead of treating probabilities independently, this method uses a differentiable approach where the grid prediction is linked to subgrid predictions. This allows the model to express interdependence between different metrical levels, enabling more accurate tracking of complex rhythmic patterns like changing time signatures.
Summary
The gist The proposed novel architecture combines deep learning with differentiable theory-based modules to predict a tatum grid, group tatum events into beats and downbeats, and explicitly model multiple options for tempo and time signature in a bar-pointerlike fashion
Introduction
Beat/downbeat tracking is the task of estimating the temporal positions of beats/downbeats in a music recording. Most systems follow some variant of the same strategy: (1) The audio is converted to a spectrogram and fed to a neural network that outputs framewise beat/downbeat activations. (2) The network is trained with a loss that pushes the activation to be high at beats/downbeats and low otherwise, so it can be interpreted as a local probability of beat/downbeat appearance. (3) For inference, activations are postprocessed to materialize beats and downbeats, either by using a Dynamic Bayesian Network (DBN) or by finding large local maxima of the activation function. This strategy has foundational shortcomings because the activation function models probabilities independently and cannot express interdependence between probabilities at the various metrical levels.
Related Work
Multiple proposals follow the strategy of predicting framewise beat/downbeat probabilities and postprocessing those with Böck et al.’s DBN [1]. While the original [1] uses recurrent Long-Short Term Memory (LSTM) units, Böck et al. [11] switched to Temporal Convolutional Networks, Zhao et al. [12] use Transformers with dilated self-attention on demixed spectrograms, and Hung et al. [13] employ the Transformer-based SpecTNT architecture. The idea of finding a pulse, then defining the beat or downbeat on top of it has already been used in early beat trackers such as [6, 9, 18]. A prominent technique for the first step is the Predominant Local Pulse (PLP) [19], which can be derived from a feature sequence through deterministic signal processing and is used for real-time beat tracking in [20]. In contrast to earlier hierarchical approaches [6–10], which derive the pulse from the audio using hand-designed operations, we propose a differentiable approach to predict the local tatum grid and subgrid and integrate it with the Transformer of Beat This [2].
Method
The architecture of our model is summarized in Figure 2. We use Beat This [2] as the basis, as it is open source and is among the highest-performing models not using a DBN. We insert a module that derives a tatum grid from the output of the first three Transformer blocks, and a module that predicts the subgrid after three more Transformer blocks.
Pre-grid
Before the tatum grid is estimated, the audio input (a 30-second mel spectrogram with 128 bins and 1500 frames per second) is processed by a frontend of alternating convolutions, frequency-wise and time-wise Transformer blocks [2, Sec. 3.1.1]. These are projected to K dimensions for the main Transformer. We then pass the sequence through three of the six full Transformer blocks [2, Sec. 3.1.2].
Grid
From its 1500×256 input, the grid block tries to estimate the tatum grid, which is subject to several requirements. The grid should have 100% recall on the beats, as any missed beats will be missed in the model’s final prediction. To make (3) tractable, we choose the grid to be expressed as a tempo and phase, rather than independent framewise probabilities. To allow for local fluctuations, we split the input into 1-second windows with individual predictions. We then define the soft recall as the mean of the sine wave evaluated at ground truth beats (Figure 3), and set the training objective to maximize the soft recall. To help with the convexity of the loss, we use a mixture-of-experts model with multiple candidate waves.
Subgrid
From the 1500×256 tensor that encodes both the audio and the soft tatum grid, the subgrid block attempts to estimate the local metric distribution at every tatum point. We define a subgrid state as a set of four integers: Beat period TB represents how many tatums there are per beat, beat phase φB ∈ [1, TB] represents the index of the current tatum, while downbeat period TD and downbeat phase φD ∈ [1, TD] represent the period and index of downbeats in terms of beats. For every estimated tatum point, we predict a categorical distribution over these 280 bins (Figure 5, Figure 6). We calculate the prediction loss based on this probability and the ground truth annotations snapped to the nearest tatum point. As every subgrid state implies the state at every other tatum in that measure, we can directly measure the internal consistency of the subgrid by comparing the implied and estimated distributions at every tatum, and penalize the KL-divergence between the distributions.
Inference
Our model allows two ways to infer beats and downbeats for an audio excerpt. First, if we interpret the sequence of subgrid states at tatum points as a Markov model with fully known probabilities, we can compute the most probable total path with the Viterbi algorithm, with some uncertainty constant s determining the probability of unexpected metric jumps. Alternatively, we can calculate the total probability of a beat or downbeat at every tatum point as in the subgrid prediction loss, and use it to define a (very sparse) framewise activation function. For simplicity, we apply a threshold of 0.5 on the framewise probabilities, and refer to this as threshold inference.
Experiments
We perform experiments to assess the quality of the tatum grid, to compare our model to the original Beat This for different subsets of the data, and to evaluate it against the state of the art. We use standard beat tracking metrics F1, CMLt and AMLt [39]. Our model performs on par with or slightly below Beat This on beats, but reaches significantly higher continuity metrics on downbeats, especially on pieces with changing time signatures. The Viterbi inference is slightly better than threshold across the board, with the greatest improvements displayed for downbeat continuity metrics.
Conclusion
The presented model performs worse than the best DBN models across the board, but beats other DBN-free models on downbeat continuity metrics by a significant margin. The fact that the threshold inference managed to beat Foscarin et al. [2] on continuity metrics nonetheless shows the regularizing power of theory-informed design.
Acknowledgments
This research was funded in part by the Austrian Science Fund (FWF) [10.
Improvements for AI systems
- Bold header: Differentiable Tatum Grid Prediction
The system can predict a tatum grid
by modeling a tempo and time signature expressed in terms of that pulse, the subgrid (a subset of the grid, not a subdivision).
This allows for modeling multiple interpretations of tempo and time signature simultaneously rather than relying on a single DBN assumption.
- Bold header: Improved Continuity Metrics
The proposed architecture improves continuity metrics compared to existing DBN-free systems and is more versatile than the de-facto standard DBN.
Specifically, it reaches significantly higher continuity metrics on downbeats, especially on pieces with changing time signatures,
addressing a key weakness of prior methods.
- Bold header: Robust Ambiguity Handling
By modeling a joint distribution with a larger set of allowed time signatures
and using a mixture-of-experts model with multiple candidate waves,
the system can handle metric ambiguity better than previous approaches by considering 12 non-overlapping tempo ranges and their associated confidence distributions.
- Bold header: Enhanced Inference Flexibility
The system offers two inference methods: Viterbi inference
(using a Markov model) and threshold inference
(using framewise probabilities). This flexibility allows users to choose the appropriate method for different needs, with Viterbi being noted as slightly better than threshold across the board.
- Bold header: Separable Design Potential
The formulation is highly separable,
allowing researchers to focus on improving the learning of the tatum grid independently of improvements to the subgrid block, suggesting independent optimization pathways.
Abstract
State-of-the-art beat tracking is based on neural networks that model beats and downbeats as individual events, often followed by a separate Dynamic Bayesian Network (DBN) enforcing musical consistency. We propose a novel architecture that combines deep learning with differentiable theory-based modules: Specifically, we design a system that first predicts a tatum grid, then groups tatum events to beats and downbeats, explicitly modelling multiple options for the current tempo and time signature in a bar-pointer-like fashion. Our approach improves continuity metrics compared to existing DBN-free systems and is more versatile than the de-facto standard DBN, but still falls behind the best DBN-based methods on average. Given the many design choices and hyperparameters involved, we assume we have not yet explored the full potential of this idea and publish our code and invite others to explore this further.
Sources
- Controlling Contrastive Self-Supervised Learning with Knowledge-Driven Multiple Hypothesis: Application to Beat Tracking
- Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distances
Related papers
- Few-Shot Open-Set Audio Classification via Transductive Prototype Refinement and Class Logit Enhancement
- Spectral Masking and Interpolation Attack (SMIA): A Black-box Adversarial Attack against Voice Authentication and Anti-Spoofing Systems
- Remix the Timbre: Diffusion-Based Style Transfer Across Polyphonic Stems
- Harmonic Representations in Symbolic Music Transformers are Localized and Controllable
- AVMeme Exam: A Multimodal Multilingual Multicultural Benchmark for LLMs' Contextual and Cultural Knowledge and Thinking
- SoundWeaver: Compositional Warm-Starting for Text-to-Audio Diffusion Serving