Towards Interpretable Framework for Neural Audio Codecs via Sparse Autoencoders: A Case Study on Accent Information

Shih-Heng Wang, Tiantian Feng, Aditya Kommineni, Thanathai Lertpetchpun, Bowen Yi, Xuan Shi, Shrikanth NarayananarXiv 2026

TL;DR

This paper introduces a novel framework using Sparse Autoencoders (SAEs) to peer inside the "black box" of Neural Audio Codecs (NACs), specifically analyzing how they encode complex paralinguistic traits like accents. The authors discover a fascinating split: acoustic-oriented codecs store accent data in activation magnitudes, while phonetic-oriented codecs rely on activation positions. Overall, the DAC and SpeechTokenizer models emerged as the most interpretable codecs evaluated.

What Problem Does This Paper Address?

Neural Audio Codecs (NACs) like EnCodec and SoundStream are the unsung heroes of modern speech synthesis and audio language models, compressing continuous audio waveforms into compact, discrete tokens. However, these models operate largely as black boxes. We know they work exceptionally well, but we don't know exactly how they encode complex linguistic and paralinguistic information.

Understanding these internal mechanisms is crucial if we want to deploy speech AI safely in sensitive domains like healthcare or assistive technologies. The authors tackle this challenge by focusing on speaker accents—a notoriously difficult attribute to isolate because it is deeply entangled with a speaker's individual voice characteristics, phonetic choices, and context.

Methods

The authors adapt TopK Sparse Autoencoders (SAEs)—a technique originally popularized for interpreting Large Language Models (LLMs)—to decompose dense, time-pooled NAC representations ($u$) into sparse, high-dimensional activations ($z$).

To understand the underlying structure of how accent information is stored, they break the sparse activations down into two complementary components:

  1. Position ($z_{pos}$): A binary vector indicating which specific features are active (firing).
  2. Magnitude ($z_{mag}$): A vector capturing the intensity (strength) of those active features, stripping away where they occurred.

They then train Logistic Regression (LR) classifiers on these components to perform accent classification. To ensure a fair comparison across different codecs, they introduce a relative metric called $\Delta F1$. This index measures the performance drop of the SAE's sparse representations compared to a baseline classifier trained directly on the uncompressed, dense representation. A higher (less negative) $\Delta F1$ indicates better interpretability.

Figure 1: Sparse Autoencoder (SAE) framework for measuring interpretability of NACs. (A) Extraction of utterance level representation for a given speech input using NAC. (B) SAE training for learning sparse representation z. Position (zpos) and Magnitude (zmag) are then derived from sparse representation. (C) Logistic regression models are trained for binary accent classification tasks, with the utterance level representation (u) providing reference score F1ref and sparse representation corresponding to F1dz,k

Datasets

The framework was evaluated using the Vox-Profile benchmark, which aggregates 11 open-source English speech datasets containing self-reported accents across more than 16 regional dialects. The authors designed two distinct binary classification tasks to validate their findings:

  • US vs. UK
  • US vs. Non-US-UK

Key Insights and Ideas

  • The Acoustic vs. Phonetic Encoding Split: Codecs designed to capture raw acoustic properties (like DAC) encode accent information primarily through feature magnitude. Conversely, codecs that distill phonetic structures (like SpeechTokenizer) rely heavily on feature position.
  • The Bitrate Paradox: Tighter compression can lead to cleaner features. When testing EnCodec across different bitrates, the lowest bitrate model (1.5 kbps) yielded significantly higher interpretability ($\Delta F1 < 10\%$ drop) than its 12 kbps counterpart. Tighter bottlenecks likely force the model to discard messy, entangled data.
  • Information Quantity $\neq$ Interpretability: Phonetic codecs like Mimi and SpeechTokenizer inherently retain more raw accent information in their uncompressed states than acoustic codecs. However, this doesn't automatically make them easier to interpret; Mimi's sparse features remained highly entangled and difficult for the SAE to cleanly separate.

Key Results

  • Top Performers: DAC and SpeechTokenizer consistently demonstrated the highest interpretability. DAC dominated the US vs. UK task (ranking first in 13 out of 16 SAE configurations), while SpeechTokenizer led the more diverse US vs. Non-US-UK task (ranking first in 14 out of 16 configurations).
  • Sparsity Trends: At extreme sparsity levels (where only 5% of features are allowed to fire), classification performance dropped across all codecs. However, as sparsity relaxed to $\ge 25\%$, the relative performance index ($\Delta F1$) approached zero, meaning the sparse features retained virtually all the accent information of the dense baseline.
Figure 3: Interpretability measured by ∆F1 (%) under the US vs. Non-US-UK setting. Each subplot corresponds to a different latent ratio q. The x-axis denotes sparsity level s, and higher ∆F1 indicates better interpretability.

Limitations and Future Work

While this work establishes a solid foundation, the authors note a few limitations:

  • The framework currently measures task-level interpretability via linear probing, rather than mapping out local, neuron-level semantic meanings.
  • The absolute capacity of the sparse bottleneck might inherently disadvantage lower-dimensional codecs like EnCodec during direct comparisons.

For future work, the team plans to scale this framework to more audio codecs, investigate advanced SAE phenomena like feature splitting and feature steering, and expand their case studies to other paralinguistic attributes such as emotion, age, and speaker identity.

Summary updated

BibTeX
@misc{wang2026towards,
  author = {Shih-Heng Wang and Tiantian Feng and Aditya Kommineni and Thanathai Lertpetchpun and Bowen Yi and Xuan Shi and Shrikanth Narayanan},
  title = {{Towards Interpretable Framework for Neural Audio Codecs via Sparse Autoencoders: A Case Study on Accent Information}},
  year = {2026},
  eprint = {2603.18359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.18359},
}
Figure