NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Is Prosody Encoded in the Neural Audio Codec Mimi?

Nicolas Ballier, Artem Saloev, Erin Pacquetet, Taylor ArnoldarXiv 2026 · DOI

TL;DR

Modern conversational AIs (like Moshi and Sesame) rely on neural audio codecs to chop continuous human speech into discrete tokens that language models can digest. The authors crack open the "Mimi" codec to see if it truly separates what is being said from how it's said (prosody). Spoiler: the architectural division of labor is much messier than advertised—and while the codec tracks timing effortlessly, it largely fumbles pitch and vocal melody.

What Problem Does This Paper Address?

To get a Large Language Model to "hear" and "speak," you first have to translate continuous sound waves into discrete numbers. Enter Neural Audio Codecs (NACs)—the unsung translators behind voice bots and NotebookLM podcasts.

Most researchers judge a codec by its output: does the reconstructed audio sound natural? Very few look inside the black box during encoding to see what linguistic information those discrete tokens actually represent.

This paper investigates Mimi, a prominent NAC that uses Residual Vector Quantization (RVQ)—essentially passing audio through a cascade of eight "codebooks" (inventories of 2,048 token IDs), where each layer captures leftover details missed by the one before it. By design, Mimi’s codebook_0 is distilled from a speech model to capture "semantics" (the phonetic segments), while codebooks 1–7 are supposed to handle "acoustics" (like prosody—the rhythm, pitch, and melody of speech). The authors ask a simple, foundational question: does Mimi actually organize speech this way?

Methods

To probe Mimi’s 8-codebook setup (which spits out a set of tokens every 80 milliseconds), the authors attack from two angles:

  1. Kernel Canonical Correlation Analysis (CCA): A statistical method to find shared variance between two multidimensional datasets. Because token IDs are categorical labels (e.g., Token #42 isn't "less than" Token #43), standard linear math breaks down. Instead, the authors apply a novel approach for codec analysis: Kernel CCA with a Hamming kernel (counting exact token matches across vectors) to measure correlations against continuous prosodic features.
  2. Memory-Based Classification (TiMBL): Using a $k$-nearest neighbors algorithm tailored for categorical data, they test whether Mimi’s discrete token sequences can predict specific phonetic sounds (derived via neural posteriorgrams, which estimate phone probabilities every 20ms) and prosodic variations.
  3. Perceptual Ablation: They deliberately scramble codebook values with arbitrary numbers to hear what breaks when the audio is reconstructed.

Datasets

  • TIMIT: A classic, phonetically rich corpus of 630 speakers across eight American English dialects (6,300 files, yielding 52,749 aligned 80ms Mimi token frames). Used to evaluate segmental (phone) representations and speaker gender patterns.
  • Synthetic WinPitch Corpus (New): Because natural speech tangles pitch, speed, and emphasis together, the authors built a controlled benchmark. Taking the sentence "He arrived on time", they systematically tweaked the final syllable in regular increments—pitch (+10 Hz steps, from 100 to 490 Hz), duration (+10 ms steps, from 10 to 390 ms), and glissando (pitch slope/glide)—generating 1,029 distinct prosodic variants.

Key Insights and Ideas

  • The "Semantic vs. Acoustic" boundary is leaky: Mimi’s codebook_0 doesn't hold a monopoly on phonetic meaning. Predicting phones requires all 8 codebooks working together, indicating "semantic leakage" into the supposedly acoustic layers.
  • 80ms tokens are phonetic hybrids: Because 80ms is relatively long in human speech, a single codebook_0 token rarely maps to just one phoneme. Instead, tokens represent a mix of single phones, diphones (pairs), triphones, and even occasional quadphones—capturing natural connected-speech blending.
  • Duration is a "freebie": Mimi predicts syllable duration remarkably well, likely as a mechanical byproduct of its clock: since tokens are minted every 80ms, longer sounds simply generate more tokens.
  • Surprising resilience in Codebook 0: When the authors replaced codebook_0 tokens with arbitrary numbers (1–100), the reconstructed audio still sounded remarkably like the original! Degradation into unintelligible noise only happened when multiple codebooks were corrupted simultaneously, showing the decoder relies on joint coherence across layers rather than a single master semantic layer.
  • Emergent gender specialization: codebook_1 uses far fewer unique tokens than other layers, yet boasts the highest rate of gender-exclusive tokens (e.g., certain token IDs appear only in male speech within that codebook), suggesting it quietly specializes in speaker vocal characteristics.
Figure 1: Gender prominence in the Mimi tokens (TIMIT data)

Key Results

Kernel CCA revealed moderate correlation overall, with the first canonical dimension capturing about 25% of shared variance ($0.498^2 = 0.248$) between the codebooks and prosodic features.

When using the 8 codebooks to classify specific features via TiMBL, a stark divide emerged:

TiMBL classification accuracy across prosodic and phonetic tasks
  • Duration is preserved with 92.3% accuracy (driven heavily by codebooks 1–3).
  • Pitch (15.5%) and Glissando (8.1%) are recovered above random chance, but overall, discrete tokens are poor standalone predictors of vocal melody.
  • Segmental (Phone) mapping: Across 52,749 TIMIT frames in codebook_0, 33,540 matched a single consistent phone, 18,795 spanned two phones (diphones), 413 spanned three, and 1 mapped to a frequent four-phone sequence (/ɪnðə/, as in "in the").
  • Token diversity & gender: In the synthetic "time" syllable test, unique token usage scaled smoothly down the RVQ hierarchy—from just 27 unique tokens in codebook_0 up to 823 in codebook_7. Meanwhile, on TIMIT, codebook_1 exhibited a 30.90% gender-exclusivity ratio (265 of its 858 used tokens), compared to under 10% for codebooks 0 and 3–7.

Limitations and Future Work

Because the codebook tokens are categorical, the authors relied on kernel-based CCA rather than raw numeric data, meaning standard statistical significance tests (like Wilks' lambda) could not be rigorously applied. Furthermore, their prosodic evaluation zoomed in on synthetic manipulations of a single English sentence's final syllable rather than spontaneous, multi-lingual conversation.

Looking ahead, the authors suggest that instead of letting RVQ layers entangle acoustics and semantics organically, next-generation audio codecs should explicitly dedicate separate vector spaces to distinct prosodic dimensions (like pitch and pitch slope). Doing so could give future voice AIs fine-grained, reliable control over how they speak.

Summary updated

BibTeX
@misc{ballier2026is,
  author = {Nicolas Ballier and Artem Saloev and Erin Pacquetet and Taylor Arnold},
  title = {{Is Prosody Encoded in the Neural Audio Codec Mimi?}},
  year = {2026},
  eprint = {2611.32795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32795},
}
Figure