Introduction
As multimodal Large Language Models (LLMs) evolve, audio codecs have transitioned from simple compression tools to vital "bridges" between continuous raw audio and the discrete tokens required by neural architectures. However, traditional evaluation methods for these codecs are often limited, focusing primarily on clean speech datasets and signal-level reconstruction metrics. This narrow focus fails to capture how codecs perform in real-world scenarios involving background noise, emotional nuances, and diverse audio types like music or environmental sounds.
CodecBench addresses this gap by introducing a rigorous, multi-domain benchmark designed to evaluate codecs on two fronts: acoustic fidelity (how well they reconstruct sound) and semantic preservation (how well they maintain the underlying meaning for downstream AI tasks).
The CodecBench Evaluation Framework
The researchers propose a dual-pronged approach to assessment:
1. Acoustic Evaluation
To measure signal fidelity and perceptual quality, CodecBench employs a suite of eight metrics. These include traditional measures such as PESQ (Perceptual Evaluation of Speech Quality) and SDR (Signal-to-Distortion Ratio), as well as modern metrics like ViSQOL (Virtual Speech Quality Objective Listener), which better aligns with human auditory perception.
2. Semantic Evaluation
The core innovation of CodecBench is its focus on the semantic "essence" preserved within a codec's latent space. This is tested through two primary probing methods:
- ASR Probing: An Automatic Speech Recognition (ASR) model is trained on the codec's quantized embeddings to determine the Word Error Rate (WER), revealing how much textual information survives compression.
- Classification Probing: Small classifiers are trained on embeddings to perform tasks such as emotion recognition (using the RAVDESS dataset), music genre classification (GTZAN), and sound event detection (ESC-50). High accuracy in these tasks indicates a "semantically rich" codec.
Data Diversity and Scope
CodecBench aggregates 18 open-source datasets alongside a new self-collected dataset, totaling 19 sources. These are categorized into four primary domains to ensure a comprehensive evaluation:
- Speech (44.2%): Covering multilingual speech, emotional content, and noisy environments.
- Music (7.7%): Including genres, instrumentals, and chord classifications.
- Sound (18.2%): Focusing on environmental and human non-verbal sounds.
- General Audio (30.0%): Representing complex, real-world mixtures.
Key Insights: The Acoustic-Semantic Gap
The benchmark reveals a significant "Acoustic-Semantic Gap." A codec may excel at reconstructing a high-fidelity signal while failing to preserve critical semantic information. For instance, the Descript Audio Codec (DAC) series shows exceptional performance on acoustic metrics but suffers from higher Word Error Rates in ASR probing compared to models like Mimi or X-codec-2.0.
Other key findings include:
- Domain Sensitivity: Codecs optimized for clean speech often struggle with non-vocal data (Music and Sound) at low bitrates, showing a much steeper performance decline in these domains.
- Architecture and Generative Methods: The use of flow-matching in FlowDec resulted in better music modeling compared to standard DAC architectures, suggesting that the choice of generative framework impacts domain-specific performance.
- The "Text-First" Trade-off: Certain models, like X-codec-2.0, prioritize text-related semantics. While effective for ASR, they may discard paralinguistic nuances, leading to lower performance in tasks like emotion classification compared to pure reconstruction models.
Experimental Results
The study evaluated 14 state-of-the-art models. The DAC-24k-rvq32 variant emerged as the leader in acoustic metrics like PESQ and ViSQOL. Conversely, Mimi and the Baichuan-Audio tokenizer demonstrated superior performance in semantic classification, particularly within the music domain. Analysis of the trade-off between Word Error Rate (WER) and Speaker Similarity (SIM) further highlights that while some models excel at linguistic "understanding," they may perform poorly at preserving the specific identity of the speaker.
The following table provides a detailed breakdown of performance across the four domains using key metrics:
Conclusion and Future Directions
CodecBench establishes a new standard for audio codec evaluation by emphasizing the importance of semantic preservation alongside acoustic quality. While the benchmark is comprehensive, future work aims to incorporate "extreme" real-world scenarios, such as high-distortion channels, and to refine semantic probing techniques to better capture the full spectrum of human-like audio understanding.
Summary updated