NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Audio Language Modeling using Perceptually-Guided Discrete Representations

Felix Kreuk, Yaniv Taigman, Adam Polyak, Jade Copet, Gabriel Synnaeve, Alexandre Défossez, Yossi AdiarXiv 2022 · DOI

Abstract

Modeling general audio remains a significant challenge due to high dimensionality and the diversity of environmental sounds. This paper introduces a framework for audio generation and completion that treats sound as a "language" of discrete, perceptually-compressed units. By training a Transformer-decoder on these units, the proposed model achieves state-of-the-art performance in generating realistic environmental sounds and music continuations, significantly outperforming existing speech-centric baselines.

Introduction

Audio modeling is inherently difficult because of its high dimensionality; a single second of 16kHz audio contains 16,000 data points. While recent Audio Language Models (ALMs) have successfully generated speech or music by converting audio into discrete "tokens," these models often struggle with general audio—the diverse and complex world of environmental noises like barking dogs, sirens, or machinery.

The primary challenges are twofold:

  1. Representational Gap: Features optimized for speech (e.g., wav2vec 2.0) often discard the acoustic richness necessary for general sound synthesis.
  2. Complexity Trade-off: High-fidelity audio requires a high token density per second, making it difficult for a Language Model to maintain long-term structural consistency.

Methodology

The proposed framework utilizes a three-stage pipeline to bridge the gap between raw audio and discrete language modeling.

  1. Perceptually-Guided Compression: An audio auto-encoder is trained with a Vector Quantization (VQ) bottleneck. Unlike standard encoders, this model employs perceptually-guided losses—specifically Multi-Resolution STFT and GAN-based discriminators—to ensure that the compressed discrete units retain high subjective quality when decoded.
  2. Discretization: Audio is mapped to a sequence of discrete tokens from a learned codebook of size 2048. The researchers experimented with different "hop-lengths" (2ms, 4ms, 8ms) to evaluate the impact of temporal resolution on modeling performance.
  3. Language Modeling: A 24-layer Transformer-decoder (similar to GPT-3 medium) learns the probability distribution of the next audio unit given previous ones. At inference, the model can complete an audio "prompt" by predicting subsequent tokens.
The three-stage audio generation pipeline: encoding, discrete language modeling, and decoding.

Data and Evaluation

The model was trained and evaluated on AudioSet, the largest dataset for general audio, containing approximately 2.1 million samples (5,800 hours) across 527 classes. Performance was assessed using two primary subjective metrics:

  • Mean Opinion Score (MOS): Measures the raw perceived quality of the generated audio.
  • Continuation-MOS (cMOS): Measures how well the generated audio matches the provided prompt.

Results and Discussion

The results demonstrate a fundamental tension between raw quality and modeling coherence. High temporal resolution (2ms units) produces the best raw audio quality (MOS) but results in long sequences that are harder for the Language Model to manage. Conversely, lower resolution (8ms) is easier to model, leading to better continuation scores (cMOS).

Comparison of AUDIOGEN against various baselines using MOS and cMOS metrics.

Key findings include:

  • Superior Quality: AUDIOGEN at 2ms resolution achieved a MOS of 3.03, outperforming the best baseline (Log-mel @ 10ms) at 2.63.
  • Better Continuations: At 8ms resolution, the model achieved a cMOS of 3.33, significantly higher than the wav2vec 2.0 baseline (3.02).
  • Efficiency: The proposed method is significantly more efficient than previous models like OpenAI’s Jukebox, reducing generation time from 8 hours to 25 minutes for one minute of audio.

Conclusion

While this framework represents a major step forward for general audio generation, several challenges remain. Inference speed, though improved, is still not real-time. Additionally, the reliance on human evaluation highlights the need for more robust objective metrics for audio continuation. Future work will focus on hierarchical modeling to improve long-term consistency and further optimizing the inference pipeline.

Summary updated

BibTeX
@misc{kreuk2022audio,
  author = {Felix Kreuk and Yaniv Taigman and Adam Polyak and Jade Copet and Gabriel Synnaeve and Alexandre Défossez and Yossi Adi},
  title = {{Audio Language Modeling using Perceptually-Guided Discrete Representations}},
  year = {2022},
  eprint = {2211.01223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01223},
}
Figure