Abstract
Audio generation has achieved remarkable progress with the advance of sophisticated generative models, such as diffusion models (DMs) and autoregressive (AR) models. However, due to the naturally significant sequence length of audio, the efficiency of audio generation remains an essential issue to be addressed, especially for AR models that are incorporated in large language models (LLMs). In this paper, we analyze the token length of audio tokenization and propose a novel Scale-level Audio Tokenizer (SAT), with improved residual quantization. Based on SAT, a scale-level Acoustic AutoRegressive (AAR) modeling framework is further proposed, which shifts the next-token AR prediction to next-scale AR prediction, significantly reducing the training cost and inference time. To validate the effectiveness of the proposed approach, we comprehensively analyze design choices and demonstrate the proposed AAR framework achieves a remarkable 35x faster inference speed and +1.33 Fréchet Audio Distance (FAD) improvement against baselines on the AudioSet benchmark.
Introduction: The Challenge of Audio Density
Autoregressive (AR) models have revolutionized text and image generation by predicting sequences of discrete tokens. However, applying these models to audio is challenging due to the extreme density of audio signals. For instance, a single minute of 16kHz audio contains nearly a million samples. Traditional audio tokenizers convert these signals into sequences of discrete codes, but the resulting sequence lengths are often so long that the quadratic computational cost of standard AR models becomes prohibitive.
Current state-of-the-art models typically rely on "next-token prediction," generating audio codes one by one in chronological order. While techniques like Residual Quantization (RQ) help compress audio, they often result in stacked token sequences that further increase the number of autoregressive steps required for generation.
Methodology: Shifting to Next-Scale Prediction
To overcome the sequential bottleneck, the authors introduce a two-stage framework: the Scale-level Audio Tokenizer (SAT) and Acoustic AutoRegressive (AAR) modeling.
Scale-level Audio Tokenizer (SAT)
Instead of a flat tokenization scheme, SAT employs Multi-Scale Residual Quantization (MSRQ). This approach decomposes the audio signal into a hierarchy of scales ($r_1, r_2, \dots, r_K$). Coarser scales capture low-frequency global information using fewer tokens through downsampling, while finer scales capture high-frequency details with higher token counts. This hierarchical structure allows the model to reconstruct the waveform by progressively adding detail across scales.
Acoustic AutoRegressive (AAR) Modeling
The core innovation is the shift from predicting the next token in time to predicting the next scale in the hierarchy. The AAR model begins with a global "start token" (derived from a CLAP audio embedding) and predicts all tokens for the coarsest scale simultaneously. It then uses these tokens as context to predict the entire next scale, and so on.
By generating all tokens within a single scale in parallel, the number of autoregressive iterations is drastically reduced—from thousands of individual tokens to just the number of scales (typically 10–16).
Experimental Results
The framework was evaluated on the AudioSet, AudioCaps, and LP-Musicaps datasets, demonstrating significant improvements in both efficiency and quality.
- Inference Speed: The AAR framework achieved a 35x speedup compared to vanilla AR baselines. For a 1-second audio clip, inference time dropped from 7.866s to just 0.225s.
- Audio Quality: Despite the increased speed, the model improved the Fréchet Audio Distance (FAD) by +1.33 on the AudioSet benchmark, indicating higher fidelity in the generated audio.
- Training Efficiency: The AAR approach reached baseline performance levels in only 20 epochs, representing an 80% reduction in training costs.
- Compression: The SAT tokenizer achieved superior reconstruction quality using only 455 tokens, compared to the 750 tokens required by standard Encodec-based baselines.
Conclusion and Future Directions
The "next-scale" paradigm proves that hierarchical generation can bypass the temporal bottlenecks inherent in audio modeling. By leveraging parallelism within scales, the AAR framework offers a path toward integrating high-quality audio generation into large-scale multimodal LLMs without the typical computational overhead.
Future work may explore integrating semantic tokenizers to capture higher-level meaning alongside signal-level details, and scaling the framework to generate longer, more complex audio scenes and full-length music.
Reference: Qiu, K., et al. (2024). Efficient Autoregressive Audio Modeling via Next-Scale Prediction. arXiv:2408.09027v2. https://github.com/qiuk2/AAR
Summary updated