TL;DR
This paper introduces EntangleCodec, a novel audio tokenizer that unifies semantic understanding and acoustic reconstruction by learning "entangled" representations from rich captions. This approach allows a single tokenizer to power both audio understanding and generation tasks, achieving state-of-the-art results with significantly smaller models compared to previous methods.
What Problem Does This Paper Address?
The core challenge in audio language modeling is creating discrete tokens that effectively represent audio for both understanding and generation. Existing methods face a trade-off: reconstruction-focused codecs excel at preserving audio fidelity but lack rich semantic information, while semantic-aware tokenizers often use separate streams, leading to redundancy or misalignment. Furthermore, current semantic supervision often relies on ASR transcripts, missing crucial nuances like speaker identity, emotion, and acoustic environment. EntangleCodec aims to bridge this gap by creating a unified, semantically rich, and acoustically faithful discrete audio representation.
Methods
EntangleCodec employs a unified encoder that jointly learns semantic and acoustic features from audio. The key innovation lies in its training strategy: instead of relying solely on ASR transcripts, it aligns audio with rich captions generated by an LLM. These captions describe not just linguistic content but also speaker attributes, emotion, prosody, and acoustic scenes. This "caption-aligned semantic-acoustic entanglement" is achieved through contrastive learning. A flow-matching diffusion decoder then reconstructs high-quality audio from these unified tokens. The training is done in two stages: first, joint learning of the encoder, text encoder, quantizer, and decoder; second, refining the decoder for reconstruction.
Datasets
Training Data: * LibriSpeech * LibriTTS * MusicBench * AudioSet * AudioCaps * WavCaps
Evaluation Data: * Speech, music, and general audio test sets for reconstruction. * MMAR, MMAU-mini, and MMAU for audio understanding. * Standard TTS and TTA benchmarks.
The paper does not introduce new benchmarks but evaluates on existing ones like MMAR and MMAU.
Key Insights and Ideas
- Rich Captions are Key: Moving beyond ASR transcripts to rich, LLM-generated captions significantly enhances semantic understanding, capturing nuances like emotion and speaker identity.
- Unified Representation Works: A single, entangled semantic-acoustic representation can effectively serve both audio understanding and generation tasks, simplifying the pipeline and avoiding redundancy.
- Representation Quality Matters for Scaling: The quality of discrete tokens is as critical as model scale. EntangleCodec demonstrates that well-designed tokens enable smaller models to outperform much larger ones.
- Complementary Objectives: Acoustic fidelity and semantic richness are not mutually exclusive; EntangleCodec shows they can be learned together.
Key Results
- Reconstruction Quality: EntangleCodec achieves reconstruction quality competitive with specialized codecs (e.g., UTMOS of 3.96, second only to XCodec2 at 4.02).
- Audio Understanding: It outperforms codec-based baselines by up to +7.4% on MMAR. A 0.6B EntangleCodec-LLM surpasses specialized continuous-representation LLMs (13B+) on MMAR, MMAU-mini, and MMAU.
- Parameter Efficiency: The 0.6B EntangleCodec-LLM uses 22x fewer parameters than comparable large models. Scaling to 8B achieves new state-of-the-art results on MMAR.
- Unified Generation: The same EntangleCodec tokens support both TTS (WER 9.8%, UTMOS 3.89) and TTA (CLAP Score 0.17) without task-specific modifications.
Limitations and Future Work
- Fine-grained Semantic Modeling: The granularity of semantics is limited by annotation quality. Future work could explore more detailed annotations or self-supervised methods for capturing subtle nuances.
- Limited Exploration of Larger Scales: Experiments were limited to 8B parameters due to computational constraints. Further exploration at larger scales (30B, 70B) is needed, potentially requiring new strategies for balancing reconstruction and understanding.
Summary updated