Deformable Spectrograms

Manuel Reyes-Gomez, Nebojsa Jojic, Daniel P. W. EllisAISTATS 2005

Abstract

This paper introduces a generative model that treats audio spectrograms as a series of local deformations rather than a sequence of discrete states. By decomposing speech into two layers—harmonics and formants—and tracking their evolution using Markov Random Fields and Loopy Belief Propagation, the authors enable high-fidelity signal reconstruction, missing data interpolation, and source separation with far fewer parameters than traditional Hidden Markov Models (HMMs).

Introduction

In the world of speech processing, Hidden Markov Models (HMMs) are the industry standard for recognition. However, HMMs struggle when the goal is to accurately model the full detail of a rich signal. Because HMMs represent smooth changes as transitions between discrete states, they require an enormous state space—sometimes upwards of 8,000 states for a single speaker—to avoid producing "blurry" averages of spectral features.

The core issue is that HMMs don't explicitly exploit the high correlation between adjacent frames in audio. Speech doesn't just jump randomly; it flows. Harmonics shift up and down, and vocal tract resonances (formants) glide smoothly. This paper addresses the need for a model that captures this "flow" directly, treating the spectrogram as a deformable surface rather than a series of independent snapshots.

Methods

The authors propose the Spectral Deformation Model, which predicts a patch of time-frequency bins in the current frame as a transformation of a patch from the previous frame.

  1. Transformation Matrices: Instead of mapping state to state, the model uses a set of transformation matrices ($T$) that represent upward, downward, or fractional shifts in frequency.
  2. Two-Layer Source-Filter Model: The model decomposes the log-spectrum ($X$) into two additive layers: Harmonics ($H$) modeling the excitation source and Formants ($F$) modeling the resonant filter. Each layer has its own deformation field, allowing the model to track pitch changes and resonance shifts independently.
  3. Graphical Model & Inference: The system is structured as a Markov Random Field (MRF). Because exact inference is intractable on such a dense grid, the authors use Loopy Belief Propagation (LBP) to estimate the most likely transformations and fill in missing values.
  4. Matching-Tracking Model: To handle abrupt changes (like the start of a word), they include a "switch" variable. The model can either "track" (deform the previous frame) or "match" (use an explicit "sharp" state to start a new sequence).
Visualizing the transformation map: The model tracks upward (yellow/orange) and downward (blue) motion in the spectrogram.

Key Insights and Ideas

  • Deformation > States: It is much more efficient to model how a signal changes (e.g., "the pitch shifted up 2%") than to have a separate state for every possible pitch configuration.
  • Dynamics as a Separator: By giving the formant layer a wider "support" and the harmonic layer higher "self-loop" probabilities, the model naturally learns to separate the two components without explicit labels.
  • Robustness of Motion: Transformation maps remain remarkably stable even when the signal is heavily corrupted by noise. This suggests that "how the sound moves" is a more robust feature than "what the sound looks like" at any single moment.

Key Results

  • Missing Data Recovery: The model can successfully "fill in" large deleted rectangular blocks in a spectrogram by propagating information from the surrounding context using LBP.
  • Layered Decomposition: The system effectively separates the "picket fence" structure of harmonics from the broad envelopes of formants, even when their motions are distinct.
  • Compact Representation: An entire audio signal can be reconstructed using only a few "sharp" anchor states and the resulting deformation maps, offering a path toward high-quality audio compression.
Missing data recovery: (a) Original signal with missing sections, (b) reconstruction using one layer, and (c) reconstruction using two layers.

Limitations and Future Work

Currently, the set of transformations is predefined; learning these directly from data is a logical next step. While the current source separation is semi-supervised, the authors are working toward a fully unsupervised version using the "entropy edges" of transformation uncertainty. Computational cost remains a hurdle, as Loopy Belief Propagation on a high-resolution grid is intensive. Finally, the authors suggest that formant transformation maps could be powerful features for speech recognition in noisy environments, though this remains to be tested.

Summary updated

BibTeX
@inproceedings{reyesgomez2005deformable,
  author = {Manuel Reyes-Gomez and Nebojsa Jojic and Daniel P. W. Ellis},
  title = {{Deformable Spectrograms}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2005},
}
Figure