TL;DR
Researchers have developed a framework using Sparse Autoencoders (SAEs) to "peek" inside the black box of neural audio codecs (NACs), identifying specific neural dimensions that encode speaker traits like age, gender, and accent. By "steering" these activations—manually adjusting their values—they successfully shifted the perceived traits of reconstructed speech, providing a new lens into how these models organize speaker information.
What Problem Does This Paper Address?
Neural Audio Codecs (NACs) like EnCodec and DAC have become the backbone of modern speech synthesis and large-scale audio-language models. However, we don't fully understand how they represent speaker-specific information internally. They are largely "black boxes," which limits our ability to verify their behavior in sensitive applications like healthcare or to precisely control speech generation.
While previous research used SAEs to look at accents at a high level, this paper goes deeper. The authors aim to see if they can decompose dense NAC representations into sparse, human-interpretable "concepts" (like "senior voice" or "female voice") and then manipulate those concepts at the waveform level to change how a speaker sounds.
Methods
The authors propose a three-step SAE steering framework:
- Decomposition: They train a Top-k Sparse Autoencoder on the frame-level embeddings of five different NACs (EnCodec, DAC, Mimi, SpeechTokenizer, and Qwen-tokenizer). The SAE forces the dense embeddings into a high-dimensional sparse space where each dimension ideally represents a single feature.
- Identification: To find which dimensions correspond to which traits, they use an activation-frequency-based algorithm. By comparing how often specific dimensions fire for different groups (e.g., male vs. female), they identify "trait-associated" dimensions.
- Steering: They modify the activations of these identified dimensions by a strength factor ($\alpha$) before passing them back through the NAC decoder to reconstruct the audio.
Datasets
The study utilizes Vox-Profile, a comprehensive benchmark that aggregates 11 open-source English speech datasets. It provides consistent labels for:
- Gender: Male and Female.
- Age: Categorized into young adults (18–30) and senior adults (60+).
- Accent: Specifically focusing on North American (US), British Isles (UK), and Southern Asian (SA) accents.
Key Insights and Ideas
- Gender is Highly Steerable: Of all traits, gender information appears to be the most cleanly decomposed. Steering gender-associated dimensions resulted in the most consistent and dramatic shifts in classifier predictions.
- Trait Entanglement: The researchers found that speaker traits are not perfectly isolated. When they steered a trait like "accent," the Word Error Rate (WER) often increased, suggesting that the dimensions they identified also carry some information about the actual speech content.
- Non-Linear Control: Increasing the steering strength ($\alpha$) doesn't always lead to a stronger effect. In many cases, the trait shift plateaus or even reverses, indicating that NACs have complex internal limits on how much a representation can be pushed before it "breaks."
- Architecture Matters: Different codecs organize information differently. For instance, the Mimi codec showed better trait separation and lower quality degradation during steering compared to others like EnCodec.
Key Results
The effectiveness of steering was measured by how much a trait classifier's prediction shifted toward the target trait.
- Gender Steering: In female-to-male steering, the "female probability" dropped from ~95% to near 0% across almost all codecs as steering strength increased.
- Age Steering: Senior-to-young steering was generally successful, but young-to-senior was more inconsistent, with some codecs failing to show a significant increase in predicted age.
- Validation: To prove their algorithm wasn't just picking random dimensions, they compared it against a "Mimi Random" baseline. The targeted steering produced significantly larger trait shifts than steering random dimensions, confirming that the SAE successfully identified trait-relevant features.
Limitations and Future Work
The primary limitation is quality degradation. As shown in the figure below, steering often leads to higher Word Error Rates (WER) and lower perceptual quality (SHEET) scores. This indicates that the SAE hasn't perfectly disentangled speaker traits from the underlying speech content.
The authors suggest that future work should focus on improving SAE optimization techniques to achieve better information decomposition, potentially leading to high-quality, interpretable speech conversion systems.
Summary updated