Skip to main content
QUICK REVIEW

[Paper Review] AudioLM: a Language Modeling Approach to Audio Generation

Zalán Borsos, Raphaël Marinier|arXiv (Cornell University)|Sep 7, 2022
Speech Recognition and SynthesisComputer Science24 citations
TL;DR

AudioLM treats audio generation as a language modeling task over a hybrid token space of semantic and acoustic tokens, achieving long-term coherence and high-quality synthesis for speech and piano music without transcripts. It demonstrates that semantic tokens govern content while acoustic tokens encode speaker and recording details, enabling controllable continuations from short prompts.

ABSTRACT

We introduce AudioLM, a framework for high-quality audio generation with long-term consistency. AudioLM maps the input audio to a sequence of discrete tokens and casts audio generation as a language modeling task in this representation space. We show how existing audio tokenizers provide different trade-offs between reconstruction quality and long-term structure, and we propose a hybrid tokenization scheme to achieve both objectives. Namely, we leverage the discretized activations of a masked language model pre-trained on audio to capture long-term structure and the discrete codes produced by a neural audio codec to achieve high-quality synthesis. By training on large corpora of raw audio waveforms, AudioLM learns to generate natural and coherent continuations given short prompts. When trained on speech, and without any transcript or annotation, AudioLM generates syntactically and semantically plausible speech continuations while also maintaining speaker identity and prosody for unseen speakers. Furthermore, we demonstrate how our approach extends beyond speech by generating coherent piano music continuations, despite being trained without any symbolic representation of music.

Motivation & Objective

  • Motivate high-quality, long-term coherent audio generation across speech and music without requiring transcripts or annotations.
  • Propose a hybrid tokenization scheme combining semantic and acoustic tokens to balance reconstruction quality and structure.
  • Develop a hierarchical Transformer-based model that first models semantic tokens and then conditions acoustic token generation to produce coherent audio continuations.
  • Evaluate the approach on speech continuation (unseen speakers, preserving speaker/prosody) and piano continuation, and compare token types in terms of phonetic discriminability and reconstruction quality.

Proposed method

  • Represent audio as a sequence of discrete tokens via a hybrid tokenizer: semantic tokens from w2v-BERT and acoustic tokens from SoundStream.
  • Train a three-stage decoder-only Transformer model: stage 1 models semantic tokens for long-term structure; stage 2 models coarse acoustic tokens conditioned on semantic tokens; stage 3 models fine acoustic tokens conditioned on coarse tokens.
  • Use a row-major flattening of the acoustic token hierarchy to enable efficient autoregressive modeling of a large token sequence.
  • Decode predicted token sequences back to audio using a frozen detokenizer pipeline (SoundStream plus semantic token decoding).
  • Evaluate reconstruction quality with ViSQOL and phonetic discriminability with ABX to compare token types (semantic vs acoustic).
  • Apply temperature-based sampling during inference and generate continuations from short prompts (3 seconds for speech).
Figure 1: Overview of the tokenizers used in AudioLM. The acoustic tokens are produced by SoundStream [ 16 ] and enable high-quality audio synthesis. The semantic tokens are derived from representations produced by an intermediate layer of w2v-BERT [ 17 ] and enable long-term structural coherence.
Figure 1: Overview of the tokenizers used in AudioLM. The acoustic tokens are produced by SoundStream [ 16 ] and enable high-quality audio synthesis. The semantic tokens are derived from representations produced by an intermediate layer of w2v-BERT [ 17 ] and enable long-term structural coherence.

Experimental results

Research questions

  • RQ1Can AudioLM generate coherent, semantically plausible speech without transcripts while preserving speaker identity and prosody?
  • RQ2Do semantic and acoustic tokens complement each other to achieve both long-term coherence and high-fidelity audio synthesis?
  • RQ3Can the framework extend beyond speech to coherent piano music generation without symbolic representations?
  • RQ4How do semantic token-based and acoustic token-based models perform in terms of phonetic discriminability and reconstruction quality?
  • RQ5Is it possible to detect AudioLM-generated speech to mitigate misuse?

Key findings

  • AudioLM achieves syntactically and semantically plausible speech continuations from 3-second prompts while maintaining speaker voice and reverberation/noise conditions.
  • Semantic tokens carry linguistic content and enable long-term coherence, while acoustic tokens preserve speaker identity and audio quality; neither alone yields both properties optimally.
  • Acoustic generation conditioned on semantic tokens preserves content but shows limited phonetic discriminability, while semantic-only generation has poor reconstruction quality; combining both yields better overall results.
  • When trained on Libri-60k, AudioLM produces diverse, coherent continuations for unseen speakers and environments, and extends to piano music with coherent melodic and harmonic structure.
  • The paper reports ASR-based WER/CER results showing low errors for transcripts derived from AudioLM-generated speech, indicating faithful semantic content retention and robust acoustic mapping.
  • A detector classifier is trained to identify AudioLM-generated speech to address potential misuse, demonstrating a mitigation step.
Figure 2: The three stages of the hierarchical modeling of semantic and acoustic tokens in AudioLM: i) semantic modeling for long-term structural coherence, ii) coarse acoustic modeling conditioned on the semantic tokens and iii) fine acoustic modeling. With the default configuration, for every sema
Figure 2: The three stages of the hierarchical modeling of semantic and acoustic tokens in AudioLM: i) semantic modeling for long-term structural coherence, ii) coarse acoustic modeling conditioned on the semantic tokens and iii) fine acoustic modeling. With the default configuration, for every sema

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.