Beat Transformer: Demixed Beat and Downbeat Tracking with Dilated Self-Attention

Jingwei Zhao, Gus Xia, Ye Wang
9/15/2022
cs.SDeess.AS
transformer-attention

Official code: zhaojw1998/Beat-Transformer (130 stars, Python, MIT, last commit 2024-04-07).

Abstract

We propose Beat Transformer, a novel Transformer encoder architecture for joint beat and downbeat tracking. Different from previous models that track beats solely based on the spectrogram of an audio mixture, our model deals with demixed spectrograms with multiple instrument channels.

Show full abstract

This is inspired by the fact that humans perceive metrical structures from richer musical contexts, such as chord progression and instrumentation. To this end, we develop a Transformer model with both time-wise attention and instrument-wise attention to capture deep-buried metrical cues. Moreover, our model adopts a novel dilated self-attention mechanism, which achieves powerful hierarchical modelling with only linear complexity. Experiments demonstrate a significant improvement in demixed beat tracking over the non-demixed version. Also, Beat Transformer achieves up to 4% point improvement in downbeat tracking accuracy over the TCN architectures. We further discover an interpretable attention pattern that mirrors our understanding of hierarchical metrical structures.

View on arXivView PDF

Code Implementations(1)

MIT

Codes for ISMIR 2022 paper: Beat Transformer: Demixed Beat and Downbeat Tracking with Dilated Self-Attention

13026Python, ShellAug 22, 20222 years agoMIT

Similar Papers

Cite this paper

@article{zhao2022beat,
  title  = {Beat Transformer: Demixed Beat and Downbeat Tracking with Dilated Self-Attention},
  author = {Jingwei Zhao and Gus Xia and Ye Wang},
  year   = {2022},
  eprint = {2209.07140},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.07140}
}

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/2209.07140.svg)](https://codeofpaper.com/paper/2209.07140)

Discussion