cs.CLAug 16, 2026
SaveUsing the Mimi codec for metalinguistic representations
Organizations: ALTAE, Université Paris Cité, F-75013 Paris, France · SCIAM, 10 rue de Penthièvre, F-75008 Paris, France
Abstract
In this paper, we focus on the dictionary of 2048 tokens used in Mimi semantic token codebook, the neural codec of the Moshi language model. We show that the ABX experiment carried out with Mimi fails to capture the mapping of the semantic tokens to phone realisations. By realigning Mimi representations to the TIMIT corpus transcriptions, we show that the 2048 tokens IDs of the semantic codebook map to quadphone, triphone, biphone, phone and subphone realisations.
Figures & tables
Figure 1: Levels of granularity in the Tyneside Linguistic Survey, from Jones-Sargent (1985)
| token | start (in ms) | end (in ms) | phone | word |
| 888 | 640 | 720 | epi|n|aw | now |
| 495 | 720 | 800 | aw | now |
| 1586 | 800 | 880 | aw|ix | now/ adjourned |
Table 1: Example of token to phone to word alignment
| (majority) TIMIT correspondence | n |
| allophones/subphones | 570 |
| diphones | 980 |
| triphones | 232 |
| quadphones | 11 |
Table 2: Distribution of TIMIT phone (sequences) matching Mimi semantic tokens
Figure 2: Jensen–Shannon divergence between token distributions for shared sentences (SA1 vs SA2) across phonemes. High divergence values indicate substantial variation in token assignments across different phonetic contexts.
Figure 3: Allophone network for the word water Cohen et al. (1987)
Figure 4: Comparison of the TIMIT phone transcriptions and Mimi semantic token representations of the allophone network for the pronunciations of the word greasy in the TIMIT training data
| Language Family | Number |
| Germanic | 85 |
| Romance | 223 |
| Slavic | 187 |
| Finno-Ugric | 313 |
| Baltic | 368 |
| Hellenic | 520 |
Table 4: Distribution of VoxPopuli languages by family.
Figure 5: Token distribution quality across language families and codebooks. Left: Shannon entropy (higher indicates more uniform distributions). Middle: number of missing tokens (lower indicates better coverage). Right: maximum token probability (lower indicates less dominance).
Figure 6: Token probability density across codebooks (CB0–CB7) and language families. Each subplot shows the distribution over token indices, highlighting differences in sparsity and dominance across codebooks.
More in this topic
Speech Processing
Speech processing develops computational methods for recognizing, synthesizing, analyzing, and transforming spoken audio.
See all 412 papersNeural audio codecs are increasingly used to encode speech for integration with large language models. This paper investigates the phonetic representations in the first codebook (CB0) of the Mimi codec. ABX style evaluation is poorly suited to Mimi fixed 80 ms tokenization window, which often spans multiple phonemes; we instead use forced alignment, entropy analysis, and Phone-Normalized Mutual Information (PNMI). Using TIMIT speech (58/55 speakers, SA1/SA2), individual tokens are strongly associated with specific phonemes (PNMI = 0.84, above random), yet phonemes are realized by multiple competing tokens rather than a one-to-one mapping.
Speech Codec Probing from Semantic and Phonetic Perspectives
Speech tokenizers are essential for connecting speech to large language models (LLMs) in multimodal systems. Speech tokenizers are expected to preserve both semantic and acoustic information for downstream understanding and generation tasks. However, emerging evidence suggests that the term "semantic" in speech processing does not align with linguistic lexical-semantic, leading to a mismatch between speech and text modality. In this paper, we systematically analyze the information encoded by several widely used speech tokenizers, evaluating their lexical-semantic and phonetic content through three tasks. Our results show that current tokenizers primarily capture phonetic rather than lexical-semantic structure, deriving practical implications for the design of next-generation speech tokenization methods. Code is released to public at https://github.com/Alexuan/codec_probing_release.
How Tokenization Limits Phonological Knowledge Representation in Language Models and How to Improve Them
Tokenization is the first step in every language model (LM), yet it never takes the sounds of words into account. We investigate how tokenization influences text-only LMs' ability to represent phonological knowledge. Through a series of probing experiments, we show that subword-based tokenization systematically weakens the encoding of both local (e.g., rhyme) and global (e.g., syllabification) phonological features. To quantify this effect, we introduce the syllabification-tokenization alignment distance (STAD), a metric that measures the misalignment between a model's tokenization and the natural syllable boundaries of words, and find that higher misalignment correlates with poorer phonological representations, providing a simple diagnostic for phonology-aware tokenization. To address these limitations, we propose a lightweight IPA-based fine-tuning method that infuses phonological awareness into LMs, leading to consistent improvements across three phonology-related tasks while largely preserving math and general reasoning ability, with 1.1% and 0.9% drops on GSM8K and MMLU, respectively.