Skip to main content
QUICK REVIEW

[Paper Review] Improved Chord Recognition by Combining Duration and Harmonic Language Models

Filip Korzeniowski, Gerhard Widmer|arXiv (Cornell University)|Aug 16, 2018
Music and Audio ProcessingComputer Science27 references7 citations
TL;DR

This paper proposes a novel chord recognition framework that decouples temporal modeling into separate harmonic language models and chord duration models, improving recognition by leveraging RNN-based models at the chord-sequence level rather than frame level. The method achieves state-of-the-art performance, with a 0.8047 weighted chord symbol recall (WCSR) on major/minor chords using GRU-based language and duration models, significantly outperforming standard HMM-like models.

ABSTRACT

Chord recognition systems typically comprise an acoustic model that predicts chords for each audio frame, and a temporal model that casts these predictions into labelled chord segments. However, temporal models have been shown to only smooth predictions, without being able to incorporate musical information about chord progressions. Recent research discovered that it might be the low hierarchical level such models have been applied to (directly on audio frames) which prevents learning musical relationships, even for expressive models such as recurrent neural networks (RNNs). However, if applied on the level of chord sequences, RNNs indeed can become powerful chord predictors. In this paper, we disentangle temporal models into a harmonic language model---to be applied on chord sequences---and a chord duration model that connects the chord-level predictions of the language model to the frame-level predictions of the acoustic model. In our experiments, we explore the impact of each model on the chord recognition score, and show that using harmonic language and duration models improves the results.

Motivation & Objective

  • To address the limitation of existing temporal models in capturing long-term harmonic relationships in chord sequences.
  • To improve chord recognition by rethinking the hierarchical level at which temporal modeling is applied, shifting from frame-level to chord-sequence-level modeling.
  • To develop and evaluate RNN-based language and duration models that better capture musical structure in chord progressions.
  • To demonstrate that disentangling language and duration modeling leads to measurable improvements in chord recognition performance.
  • To validate that higher-level modeling of chord sequences enables RNNs to learn meaningful harmonic progressions, unlike frame-level models.

Proposed method

  • The framework disentangles the temporal model into a harmonic language model $P_L$ that predicts chord transitions on compressed chord sequences (removing consecutive duplicates) and a duration model $P_D$ that predicts whether a chord changes or sustains at each frame.
  • The language model $P_L$ is implemented as an RNN (GRU) trained on chord sequences, enabling it to learn long-term harmonic progressions.
  • The duration model $P_D$ is modeled as a binary classification (change or sustain) using RNNs or statistical distributions (e.g., negative binomial), with RNNs outperforming static models.
  • The acoustic model $P_A$ provides frame-level chord predictions, which are then aligned with chord-level predictions via the duration model.
  • The full system uses a probabilistic generative model that combines $P_A$, $P_L$, and $P_D$ through factorization: $P(y_{1:T}|x_{1:T}) \propto \prod_t \frac{1}{P(y_t)} P_A(y_t|x_t) P_T(y_t|y_{1:t-1})$, with $P_T$ decomposed into $P_L$ and $P_D$.
  • Inference is performed using Hashed Beam Search with beam width $N_b=25$ and $N_s=4$ similar solutions per hash, with exact decoding used for ablation on n-gram models.

Experimental results

Research questions

  • RQ1Can modeling chord progressions at the chord-sequence level (rather than frame level) significantly improve chord recognition performance?
  • RQ2How do RNN-based language and duration models compare to traditional first-order models (e.g., HMMs, CRFs) in capturing harmonic relationships?
  • RQ3To what extent does the integration of a separate duration model enhance recognition accuracy compared to implicit duration modeling in standard temporal models?
  • RQ4Does the use of deep learning for both language and duration modeling lead to consistent and measurable improvements in chord recognition metrics?
  • RQ5How do different model architectures (GRU vs. n-gram vs. negative binomial) affect the final recognition score?

Key findings

  • The GRU-512 language model combined with GRU-256 duration model achieved the highest WCSR of 0.8047 on the major/minor chord alphabet, significantly outperforming the standard 2-gram/negative binomial baseline (0.7955).
  • The improvement was statistically significant, with a paired t-test p-value of less than 2.49 × 10⁻²³, confirming consistent gains across experiments.
  • The WCSR increased linearly with higher log-probability scores from both language and duration models, indicating that further improvements in these components can still enhance recognition performance.
  • Approximate beam search (with beam width 25) performed nearly as well as exact decoding, with minimal performance drop, validating its efficiency for large-scale inference.
  • The negative binomial duration model performed comparably to the GRU-based duration model, but the GRU-based model showed stronger generalization and better integration with the language model.
  • The results demonstrate that RNNs applied at the chord-sequence level can effectively model harmonic progressions, whereas frame-level modeling fails to capture such long-term dependencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.