Skip to main content
QUICK REVIEW

[Paper Review] Feature Learning for Chord Recognition: The Deep Chroma Extractor

Filip Korzeniowski, Gerhard Widmer|arXiv (Cornell University)|Dec 15, 2016
Music and Audio ProcessingComputer Science59 citations
TL;DR

This paper proposes a deep neural network-based chroma feature extractor, the Deep Chroma Extractor, which learns to produce cleaner, more robust chromagrams for chord recognition by leveraging contextual audio spectra. Trained end-to-end to suppress noise and irrelevant spectral content, it outperforms hand-crafted chroma features in a linear classifier setup, achieving 97% chord recognition accuracy on the Beatles dataset.

ABSTRACT

We explore frame-level audio feature learning for chord recognition using artificial neural networks. We present the argument that chroma vectors potentially hold enough information to model harmonic content of audio for chord recognition, but that standard chroma extractors compute too noisy features. This leads us to propose a learned chroma feature extractor based on artificial neural networks. It is trained to compute chroma features that encode harmonic information important for chord recognition, while being robust to irrelevant interferences. We achieve this by feeding the network an audio spectrum with context instead of a single frame as input. This way, the network can learn to selectively compensate noise and resolve harmonic ambiguities. We compare the resulting features to hand-crafted ones by using a simple linear frame-wise classifier for chord recognition on various data sets. The results show that the learned feature extractor produces superior chroma vectors for chord recognition.

Motivation & Objective

  • To address the limitations of hand-crafted chroma features, which are noisy and sensitive to timbral variations, percussive noise, and overtones.
  • To develop a data-driven method that learns to extract harmonic content relevant to chord recognition while filtering out irrelevant spectral interferences.
  • To improve chord recognition performance by learning features that are robust to real-world audio distortions without relying on post-processing filters.
  • To investigate whether a deep neural network can learn to extract chroma features that are more discriminative and temporally precise than traditional methods.

Proposed method

  • The model takes a spectrogram with temporal context (a super-frame of 1.5 seconds) as input, rather than a single frame, to enable contextual understanding of harmonic content.
  • It uses a deep neural network to learn a mapping from the input spectrogram to a 12-dimensional chroma vector that emphasizes harmonic relevance.
  • The network is trained in a discriminative manner using ground-truth chord labels to optimize for chord recognition performance.
  • Saliency maps are used to interpret the model’s attention, revealing which frequency bands and temporal contexts are most informative for chord detection.
  • The method is evaluated using a simple linear classifier (logistic regression) on multiple datasets, comparing learned features against standard chroma baselines.
  • The model is trained to minimize classification error on chord recognition, implicitly learning to suppress non-harmonic components like overtones and percussive noise.

Experimental results

Research questions

  • RQ1Can a deep neural network learn to extract chroma features that are more robust to spectral interferences such as overtones and percussive noise than hand-crafted methods?
  • RQ2Does using contextual audio input (a time window) improve the quality of learned chroma features for chord recognition?
  • RQ3To what extent do the learned features outperform standard chroma features in a simple linear classification setup?
  • RQ4Which frequency bands and temporal contexts are most relevant for accurate chord recognition according to the learned model?
  • RQ5Can the learned feature extractor improve performance when combined with post-filtering methods like Conditional Random Fields?

Key findings

  • The Deep Chroma Extractor produces significantly cleaner chromagrams than baseline methods, with reduced noise and crisper chord transitions, as visually confirmed in comparisons on the song "Yesterday".
  • On the Beatles dataset, a linear classifier using the learned features achieved 97% chord recognition accuracy when classifying major and minor chords.
  • Saliency analysis revealed that the most relevant frequency range for chord recognition lies between 196 Hz and 1319 Hz, corresponding to approximately three octaves.
  • The model learned to focus more on past audio context than future context, with peak attention within ±0.3 seconds around the center frame of the input window.
  • The network’s performance was robust even when restricting the input frequency range to 110 Hz–3136 Hz, but dropped significantly when further narrowed to the core 196 Hz–1319 Hz range, indicating secondary importance of outer bands.
  • The method outperformed standard chroma features even without complex post-filtering, suggesting that better features alone can significantly improve chord recognition.

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.