Codec-Superb @ SLT 2024: A Lightweight Benchmark For Neural Audio Codec Models

Haibin Wu, Xuanjun Chen, Yi-Cheng Lin, Kai-Wei Chang, Jiawei Du, Ke-Han Lu, Alexander H. Liu, Ho-Lam Chung, Yuan-Kuei Wu, Dongchao Yang, Songxiang Liu, Yi-Chiao Wu, Xu Tan, James R. Glass, Shinji Watanabe, Hung-Yi Lee

Introduction

The landscape of generative audio has shifted significantly with the advent of neural audio codecs like Encodec and SoundStream. These models have evolved beyond their original purpose of data compression to become the foundational "tokenizers" for modern Audio Language Models (LMs). By converting continuous audio signals into discrete units, they enable the application of large-scale transformer architectures to audio synthesis and understanding.

However, the rapid development of these codecs has outpaced the establishment of standardized evaluation protocols. Researchers often report performance using disparate datasets, inconsistent bitrates, and non-comparable metrics, leading to a "Wild West" scenario in codec benchmarking. To address this, the Codec-SUPERB challenge at SLT 2024 introduces a fair, lightweight, and computationally efficient framework designed to compare neural audio tokenizers side-by-side.

Methodology: A Training-Free Pipeline

Codec-SUPERB distinguishes itself by employing a training-free evaluation pipeline. Traditional benchmarking often requires training downstream models on the discrete tokens produced by a codec, which is both computationally expensive and sensitive to the choice of downstream architecture.

Instead, Codec-SUPERB utilizes a "resynthesis" approach:

  1. Encoding & Decoding: The original audio is processed through the participant's codec to generate resynthesized audio.
  2. Application-Level Evaluation: This resynthesized audio is then fed into "frozen," state-of-the-art pre-trained models to assess information preservation across four critical dimensions:
  3. Automatic Speech Recognition (ASR): Evaluates content preservation using OpenAI’s Whisper (Word Error Rate).
  4. Automatic Speaker Verification (ASV): Measures speaker identity retention via ECAPA-TDNN (Equal Error Rate).
  5. Emotion Recognition (ER): Assesses emotional nuance preservation using emotion2vec (Accuracy).
  6. Audio Event Classification (AEC): Tests the retention of environmental sound characteristics using CLAP (Accuracy).
  7. Signal-Level Evaluation: To provide a holistic view, traditional signal processing metrics such as PESQ (quality), STOI (intelligibility), SDR (distortion), and Mel Spectrogram Loss are also computed.

Datasets and Accessibility

A core tenet of Codec-SUPERB is accessibility. The benchmark relies exclusively on license-free datasets to ensure any researcher can participate without legal hurdles. The development set includes subsets of LibriSpeech, VoxCeleb1, RAVDESS, and ESC-50. To maintain the "lightweight" nature of the benchmark, the authors used carefully sampled subsets (e.g., 500 samples for ASR) to minimize computational overhead. A private "Hidden Set" featuring 60 human speakers ensures that models are evaluated on unseen data, preventing overfitting to the open development sets.

Key Insights: The Tokenizer Trade-off

The benchmark reveals a fundamental trade-off in codec design. Models specifically optimized to function as tokenizers, such as SpeechTokenizer, often prioritize semantic content over raw signal fidelity. While these models might show higher distortion in signal-level metrics, they frequently excel in content-heavy tasks like ASR.

One of the most actionable findings is the strong correlation between STOI (Short-Time Objective Intelligibility) and application-level performance. STOI scores showed a correlation greater than 0.8 (or less than -0.8 for error rates) with ASR, ASV, and ER. This suggests that STOI serves as an excellent proxy for how well a codec will perform in real-world speech applications. Conversely, Mel Spectrogram Loss was found to be a poor predictor for Audio Event Classification, indicating that preserving the "texture" of environmental sounds requires different acoustic properties than those captured by frequency magnitude alone.

Key Results

The SLT 2024 challenge evaluated 13 distinct configurations from five submitted systems: FunCodec, SemantiCodec, APCodec, AFACodec, and SpeechTokenizer.

Application-level performance metrics across different bitrates for various neural audio codecs.

As shown in the figure above, performance varies significantly across bitrates and tasks:

  • Mid-Bitrate Performance: In the 7–8 kbps range, AFACodec (D) emerged as a top performer, achieving a WER of 3.07% (close to the original audio's 2.89%) and leading in AEC accuracy at 88%.
  • Low-Bitrate Efficiency: At ultra-low bitrates (~1.4 kbps), SemantiCodec (B) demonstrated superior preservation of audio event information, significantly outperforming the Encodec baseline.
  • The Baseline is Tough: Despite the innovation in new submissions, the original Encodec remains a formidable baseline, particularly in the 4–8 kbps range for general audio classification tasks.

Conclusion and Future Work

Codec-SUPERB provides a much-needed standardized yardstick for the evolving field of neural audio tokenization. By focusing on a training-free, lightweight pipeline, it lowers the barrier to entry for rigorous evaluation. While the current iteration focuses on English speech, future versions aim to incorporate multi-lingual datasets to test codec robustness across diverse phonemes and languages. Additionally, the researchers plan to investigate how the choice of different "evaluator" models might influence the final rankings, ensuring the benchmark remains representative of the state-of-the-art in audio understanding.

Summary updated

BibTeX
@inproceedings{wu2024codec,
  author = {Haibin Wu and Xuanjun Chen and Yi-Cheng Lin and Kai-Wei Chang and Jiawei Du and Ke-Han Lu and Alexander H. Liu and Ho-Lam Chung and Yuan-Kuei Wu and Dongchao Yang and Songxiang Liu and Yi-Chiao Wu and Xu Tan and James R. Glass and Shinji Watanabe and Hung-Yi Lee},
  title = {{Codec-Superb @ SLT 2024: A Lightweight Benchmark For Neural Audio Codec Models}},
  booktitle = {SLT},
  year = {2024},
  url = {https://openreview.net/forum?id=Ns0tgxwVU3},
}
Figure