All models

Beat-This

A beat and downbeat tracker that alternates convolutions with frequency and time transformers and needs no DBN.

Audio and speech · 952 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (30 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
20.3M
Operations
952
Framework
PyTorch
Recurrent
No
Published
ISMIR 2024
Cited by
22 (as of 13 November 2026)
Authors
Francesco Foscarin, Jan Schlüter, Gerhard Widmer
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14927
Graph hash
0e3bc8eba299b56a197244f3bfef92d640d659802e2c5cea6210d32ff04ca8a4
Skeleton hash
f7e77ae51047ea262089708151b0b1e742846ab84c15bafeca97ec393f2a0891
Architecture hash
35c0d1834b8bc0f7bd1c7fcf669fd85dc5469f72e0a354fbe0e57d567833cb0d
Diagram SHA-256
9cd343e04de65f0becbf116e9101d69d2cd17f4b870b49cbbe84542b6baf4c53
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Beat This! is a system for tracking beats and downbeats in music, built with two objectives: generality across a diverse music range, and high accuracy. For generality it is trained on multiple datasets, including solo instrument recordings, pieces with time signature changes and classical music with high tempo variations. It also removes the commonly used Dynamic Bayesian Network (DBN) postprocessing, which introduces constraints on the meter and tempo.

For accuracy, the paper develops a loss function tolerant to small time shifts of annotations and an architecture alternating convolutions with transformers either over frequency or time. The model maps spectrograms to frame-wise beat and downbeat logits. The loss, a shift-invariant binary cross-entropy, is a single class in the code with no dependencies, offered for reuse.

The paper reports an F1 score above the best earlier systems despite using no DBN. The authors add that the system can still fail, especially for difficult and underrepresented genres, and performs worse on continuity metrics, so they publish the model, code and preprocessed datasets and invite others to beat this. The main released models were trained on all data except the GTZAN dataset, with three different seeds. The DBN stays available as an optional postprocessing step in the command line tool.

Key idea. Beat This! tracks beats and downbeats without DBN postprocessing, using a loss tolerant to small annotation shifts and an architecture alternating convolutions with frequency or time transformers.

  • beat this
  • beat-this
  • beat tracking
  • downbeat tracking
  • beat tracker
  • music information retrieval
  • tempo
  • no dbn postprocessing

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{foscarin2024beatthisaccuratebeat,
      title={Beat this! Accurate beat tracking without DBN postprocessing}, 
      author={Francesco Foscarin and Jan Schlüter and Gerhard Widmer},
      year={2024},
      eprint={2407.21658},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2407.21658}, 
}