Skip to main content
QUICK REVIEW

[Paper Review] Efficient Learning of Harmonic Priors for Pitch Detection in Polyphonic Music

Pablo A. Alvarado, Dan Stowell|arXiv (Cornell University)|May 19, 2017
Music and Audio ProcessingComputer Science20 references6 citations
TL;DR

This paper proposes a Bayesian Gaussian process model with a novel Matérn spectral mixture (MSM) kernel to improve pitch detection in polyphonic music by learning physically informed harmonic priors. By modeling amplitude envelopes and pitch activations jointly via sigmoid or softmax non-linear transformations, and using variational Bayes for scalable inference, the method achieves state-of-the-art performance by capturing complex harmonic structures without requiring prior knowledge of the number of active notes.

ABSTRACT

Automatic music transcription (AMT) aims to infer a latent symbolic representation of a piece of music (piano-roll), given a corresponding observed audio recording. Transcribing polyphonic music (when multiple notes are played simultaneously) is a challenging problem, due to highly structured overlapping between harmonics. We study whether the introduction of physically inspired Gaussian process (GP) priors into audio content analysis models improves the extraction of patterns required for AMT. Audio signals are described as a linear combination of sources. Each source is decomposed into the product of an amplitude-envelope, and a quasi-periodic component process. We introduce the Matérn spectral mixture (MSM) kernel for describing frequency content of singles notes. We consider two different regression approaches. In the sigmoid model every pitch-activation is independently non-linear transformed. In the softmax model several activation GPs are jointly non-linearly transformed. This introduce cross-correlation between activations. We use variational Bayes for approximate inference. We empirically evaluate how these models work in practice transcribing polyphonic music. We demonstrate that rather than encourage dependency between activations, what is relevant for improving pitch detection is to learnt priors that fit the frequency content of the sound events to detect.

Motivation & Objective

  • To improve automatic music transcription (AMT) for polyphonic music by incorporating physically motivated priors into probabilistic models.
  • To model the complex harmonic structure of musical notes, including attack/decay envelopes and spectral content, using Gaussian processes.
  • To enable scalable inference for long audio signals through variational Bayes approximation.
  • To learn the number of active notes directly from data, avoiding the need for a priori specification.
  • To investigate whether cross-correlation between pitch activations (via softmax) or accurate harmonic priors (via MSM kernel) is more critical for performance.

Proposed method

  • Models audio as a linear combination of sources, each composed of an amplitude envelope and a quasi-periodic component via Gaussian processes.
  • Introduces the Matérn spectral mixture (MSM) kernel to capture long-term dependencies and harmonic content in frequency domain using Lorentzian basis functions.
  • Applies sigmoid and softmax non-linear transformations to pitch activation GPs to enforce non-negativity and sparsity, with the latter introducing cross-correlation.
  • Uses variational Bayes for approximate inference, reducing computational cost by replacing 4D quadrature with combinations of 1D integrals.
  • Employs a spectral density model based on a mixture of Lorentzian functions derived from the Fourier transform of the Matérn-1/2 kernel.
  • Learns model hyperparameters in the frequency domain to better reflect instrument-specific harmonic structures.

Experimental results

Research questions

  • RQ1Does introducing physically inspired Gaussian process priors improve pitch detection in polyphonic music?
  • RQ2Is cross-correlation between pitch activations (via softmax) more beneficial than accurate harmonic priors (via MSM kernel)?
  • RQ3Can the model learn the number of active notes directly from audio without prior specification?
  • RQ4How does the Matérn spectral mixture kernel compare to standard kernels in modeling harmonic content?
  • RQ5To what extent does variational Bayes enable scalable inference on long-duration audio signals?

Key findings

  • The key factor for improved pitch detection is learning accurate harmonic priors via the Matérn spectral mixture kernel, not enforcing cross-correlation between activations.
  • The MSM kernel effectively models complex harmonic content and long-term dependencies in polyphonic signals, outperforming standard kernels.
  • The softmax model's cross-correlation does not significantly improve performance, suggesting that harmonic prior learning is more critical than activation correlation.
  • Variational Bayes enables efficient inference on seconds-long audio signals by reducing 4D quadrature to combinations of 1D integrals.
  • The model achieves state-of-the-art performance in pitch detection without requiring a fixed number of sound events to be specified in advance.
  • The method generalizes well across instruments and polyphonic textures due to the data-driven learning of harmonic structures.

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.