TL;DR
SoundStorm is a novel non-autoregressive audio generation model that replaces the slow, step-by-step token generation of traditional models with a highly efficient parallel decoding scheme. By leveraging the hierarchical structure of neural audio codecs, it generates 30 seconds of high-quality audio in just 0.5 seconds on a TPU-v4—making it two orders of magnitude faster than baselines like AudioLM while significantly improving voice consistency and eliminating acoustic drift.
What Problem Does This Paper Address?
State-of-the-art audio generation models often treat audio synthesis as a sequence-to-sequence language modeling problem using discrete tokens. To achieve high perceptual quality, neural audio codecs (like SoundStream or EnCodec) use Residual Vector Quantization (RVQ), which produces multiple layers of tokens for every single audio frame.
If you flatten these tokens into a single sequence, the sequence length explodes. Traditional autoregressive models scale quadratically ($O(N^2)$) with sequence length due to the self-attention mechanism, making long-form audio generation prohibitively slow and computationally expensive. SoundStorm addresses this efficiency bottleneck without sacrificing audio quality.
Methods
SoundStorm introduces a non-autoregressive architecture based on a bidirectional attention Conformer. Instead of flattening the multi-level RVQ tokens, it sums the token embeddings within the same audio frame. This keeps the internal sequence length for self-attention equal to the frame rate (e.g., 50 frames per second), making it independent of the number of quantization levels ($Q$).
To generate tokens in parallel, the authors adapted the MaskGIT confidence-based decoding scheme to hierarchical RVQ token sequences:
- Training: The model randomly samples an RVQ level $q$. It masks a subset of tokens at that level and all tokens at finer levels ($q+1$ to $Q$). The loss is computed only on the masked tokens at level $q$.
- Inference: Decoding proceeds level-by-level from coarse to fine. The first level uses 16 iterations of confidence-based parallel decoding, while the subsequent finer levels are filled in using fast, single-pass greedy decoding.
Datasets
The model was trained and evaluated using the following datasets:
- LibriLight: A massive corpus of 60,000 hours of unannotated speech used for pre-training.
- LibriSpeech (test-clean): Used to evaluate speech intelligibility, audio quality, voice preservation, and acoustic consistency.
- Dialogue Corpus: A newly collected dataset of approximately 100,000 hours of spoken dialogues, segmented into 30-second chunks and annotated with speaker turn markers to demonstrate the model's ability to scale to multi-speaker dialogue synthesis.
Key Insights and Ideas
- Exploiting Hierarchical Independence: The core "aha" moment is realizing that coarser RVQ levels dictate global structure and speaker identity, while finer levels handle local acoustic details. Because these finer details are conditionally independent given the coarser tokens, they can be generated completely in parallel (in a single step) without losing audio quality.
- Sequence Length Compression: Summing embeddings at the frame level prevents the self-attention mechanism from blowing up quadratically, unlocking the ability to process minutes of audio efficiently.
- Mitigating Acoustic Drift: Autoregressive models often suffer from "drift" over long sequences, where the speaker's voice or recording conditions subtly shift. SoundStorm's bidirectional attention allows it to look globally across the sequence, maintaining excellent consistency.
Key Results
- Massive Speedup: SoundStorm is two orders of magnitude faster than AudioLM's acoustic stages, achieving a real-time factor of 0.017. It can generate 30 seconds of audio in 0.5 seconds on a single TPU-v4.
- Better Consistency and Intelligibility: On LibriSpeech, SoundStorm outperformed AudioLM in Word Error Rate (WER) and Character Error Rate (CER). It also demonstrated significantly higher voice preservation and acoustic consistency over time, effectively eliminating the drift seen in autoregressive baselines.
Limitations and Future Work
- Time-Alignment Constraint: SoundStorm currently requires the conditioning signal (like semantic tokens) to be time-aligned or upsampled to match the audio frame rate exactly.
- Safety and Misuse: High-quality voice cloning poses risks like impersonation. The authors note that a dedicated classifier can detect SoundStorm-generated audio with 98.5% accuracy, and they suggest audio watermarking as a crucial future direction for responsible deployment.
- Future Extensions: The authors plan to extend the model to handle non-aligned conditioning via cross-attention and explore unconditional audio generation.
Summary updated