# A Bi-directional Transformer for Musical Chord Recognition

arXiv: https://arxiv.org/abs/1907.02698 · HTML: https://mlsanity.com/paper/1907.02698/

## Key facts

- Cited by 19 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 5 Jul 2019.

## Built on by (most cited first, 19 of 19)

- [Video2Music: Suitable Music Generation from Videos using an Affective Multimodal Transformer model](https://mlsanity.com/paper/2311.00968/) (2023)
- [SpecTNT: a Time-Frequency Transformer for Music Audio](https://mlsanity.com/paper/2110.09127/) (2021)
- [MusiConGen: Rhythm and Chord Control for Transformer-Based Text-to-Music Generation](https://mlsanity.com/paper/2407.15060/) (2024)
- [Towards Unified Music Emotion Recognition across Dimensional and Categorical Models](https://mlsanity.com/paper/2502.03979/) (2025)
- [Jointist: Joint Learning for Multi-instrument Transcription and Its Applications](https://mlsanity.com/paper/2206.10805/) (2022)
- [Jointist: Simultaneous Improvement of Multi-instrument Transcription and Music Source Separation via Joint Training](https://mlsanity.com/paper/2302.00286/) (2023)
- [From Discord to Harmony: Decomposed Consonance-based Training for Improved Audio Chord Estimation](https://mlsanity.com/paper/2509.01588/) (2025)
- [MIRFLEX: Music Information Retrieval Feature Library for Extraction](https://mlsanity.com/paper/2411.00469/) (2024)
- [ChordFormer: A Conformer-Based Architecture for Large-Vocabulary Audio Chord Recognition](https://mlsanity.com/paper/2502.11840/) (2025)
- [MMT-BERT: Chord-aware Symbolic Music Generation Based on Multitrack Music Transformer and MusicBERT](https://mlsanity.com/paper/2409.00919/) (2024)
- [PHALAR: Phasors for Learned Musical Audio Representations](https://mlsanity.com/paper/2605.03929/) (2026)
- [MuSLCAT: Multi-Scale Multi-Level Convolutional Attention Transformer for Discriminative Music Modeling on Raw Waveforms](https://mlsanity.com/paper/2104.02309/) (2021)
- [Can Machines Generate Personalized Music? A Hybrid Favorite-aware Method for User Preference Music Transfer](https://mlsanity.com/paper/2201.08526/) (2022)
- [CHORDONOMICON: A Dataset of 666,000 Songs and their Chord Progressions](https://mlsanity.com/paper/2410.22046/) (2024)
- [Training chord recognition models on artificially generated audio](https://mlsanity.com/paper/2508.05878/) (2025)
- [Joint Transcription of Acoustic Guitar Strumming Directions and Chords](https://mlsanity.com/paper/2508.07973/) (2025)
- [Transcribing Rhythmic Patterns of the Guitar Track in Polyphonic Music](https://mlsanity.com/paper/2510.05756/) (2025)
- [A Mamba-Based Model for Automatic Chord Recognition](https://mlsanity.com/paper/2601.02101/) (2026)
- [Enhancing Automatic Chord Recognition via Pseudo-Labeling and Knowledge Distillation](https://mlsanity.com/paper/2602.19778/) (2026)

## Abstract (arXiv)

Chord recognition is an important task since chords are highly abstract and descriptive features of music. For effective chord recognition, it is essential to utilize relevant context in audio sequence. While various machine learning models such as convolutional neural networks (CNNs) and recurrent neural networks (RNNs) have been employed for the task, most of them have limitations in capturing long-term dependency or require training of an additional model. In this work, we utilize a self-attention mechanism for chord recognition to focus on certain regions of chords. Training of the proposed bi-directional Transformer for chord recognition (BTC) consists of a single phase while showing competitive performance. Through an attention map analysis, we have visualized how attention was performed. It turns out that the model was able to divide segments of chords by utilizing adaptive receptive field of the attention mechanism. Furthermore, it was observed that the model was able to effectively capture long-term dependencies, making use of essential information regardless of distance.
