Introduction
In Natural Language Processing (NLP), Large Language Models (LLMs) like GPT-4 have achieved remarkable success by autoregressively predicting the "next token" in a sequence. However, extending this causal, left-to-right paradigm to audio generation poses unique challenges. Audio is inherently continuous, yet most current audio language models force sound into a vocabulary of discrete codes through quantization. This process often discards fine-grained acoustic details and results in extremely long sequences that are computationally expensive to process.
While diffusion models handle continuous data beautifully and achieve high fidelity, they typically rely on bidirectional architectures that do not naturally fit the causal framework, making them harder to scale and stream. This paper introduces AudioMNTP, a novel framework that bridges this gap. By replacing discrete audio "words" with continuous-valued tokens and utilizing a token-wise diffusion head, AudioMNTP brings high-fidelity audio generation to the scalable world of causal language models, achieving state-of-the-art results with significantly fewer parameters.
Methodology
The authors propose two major architectural innovations to adapt the Transformer decoder for continuous audio generation:
1. Continuous-valued Tokens (AudioNTP) Instead of quantizing audio into discrete codes, the framework uses a Variational Auto-Encoder (VAE) to encode Mel-spectrograms into a sequence of continuous latent vectors. To predict the "next token" in this continuous space, the standard LLM classification layer is replaced with a small MLP Diffusion Head. This head models the continuous distribution of the next token using a diffusion process, preserving the rich detail of the original audio.
2. Masked Next-Token Prediction (MNTP) Standard next-token prediction can be overly simplistic for continuous audio because consecutive frames are often highly correlated. To force the model to learn deeper, long-range semantic structures, the authors introduce a masking strategy. During training, tokens are randomly dropped, and the model must predict the next token based on a sparse, "holey" context. To facilitate this, they introduce Target Positional Embeddings, which explicitly inform the model of the future timestamp it is attempting to predict.
Datasets and Evaluation
The models were trained and evaluated on standard benchmarks:
- AudioCaps (AC): A dataset of approximately 50,000 10-second audio clips with human-written captions.
- WavCaps (WC): A larger dataset of roughly 400,000 audio clips used to scale up training.
- Metrics: The framework was evaluated using objective metrics like Frechet Audio Distance (FAD) and Kullback-Leibler (KL) divergence, alongside human subjective ratings for relevance (REL) and overall quality (OVL).
Key Insights and Results
The shift from discrete to continuous tokens, combined with the masked prediction objective, yields substantial improvements in both efficiency and generation quality.
- Quantization is a Bottleneck: By treating audio tokens as continuous values, the model avoids the information loss inherent in discrete codebooks. This architectural efficiency allows the AudioMNTP Base (193M parameters) model to outperform the much larger AudioGen Base (285M) discrete model, achieving a 41% relative improvement in FAD.
- Sparsity Breeds Intelligence: The MNTP task acts as a robust learning objective. By predicting from a masked sequence, the model is forced to understand long-range dependencies rather than simply copying the previous frame.
- Causality is Sufficient: While most high-performing continuous models are bidirectional, this research demonstrates that a strictly causal model—which is essential for real-time streaming—can reach parity with state-of-the-art diffusion models (like AudioLDM2) when trained with the right masking strategy.
- Human Preference: In subjective tests, AudioMNTP significantly outperformed AudioGen in both speech and non-speech categories, particularly excelling in the generation of authentic-sounding speech.
Limitations and Future Work
While AudioMNTP presents a significant step forward for causal audio generation, the authors note a few areas for future exploration:
- Scaling: The current models are relatively compact (up to 462M parameters). Future work will focus on scaling to billions of parameters and training on massive datasets like AudioSet.
- Multi-modality: Because the architecture relies on a standard Transformer decoder, it can theoretically be integrated into existing multi-modal LLMs, allowing them to process and generate audio natively.
- Decoding Speed: Although the Transformer backbone is fast, the diffusion head requires multiple iterative steps to generate each token. Future iterations may explore consistency models or other advanced sampling techniques to accelerate inference.
Summary updated