Word Boundaries as Synchronization Markers for Speech–Text Alignment in Morphologically Rich Languages

Speech language models, which are text large language models (LLMs) fitted with a speech encoder, understand spoken input noticeably worse than the same words given as text. This shortfall is called the modality gap. We argue that in morphologically rich languages, where one word carries a root plus many inflectional endings, a large share of the gap is a bookkeeping failure. The model has to match a variable number of audio frames to a variable number of text subword tokens, and both counts swing widely from word to word. Coding theory handles this kind of problem, a channel that inserts and deletes symbols, by adding position markers. Once positions are known, a hard alignment problem becomes an ordinary "wrong value at a known position" problem. Spoken language already contains such markers: word boundaries. We propose to cut both the speech stream and the text stream at word boundaries, and to train the speech side to reproduce the frozen text model's representation of each word. A small tolerance window absorbs boundary-detection mistakes, so the search runs over a narrow band of word pairs instead of every frame paired with every subword.

The reason to try this now is that the pieces exist separately and point the same way. Speech frames outnumber LLM tokens by large, language-dependent factors. Boundaries can be detected from decoder states with high accuracy. Least-aligned tokens causally hurt downstream accuracy. And multilingual tokenizers break Amharic words into anywhere from 2 to 13 pieces. No existing work treats the mismatch in frame and token counts as a synchronization problem with a formal tolerance to boundary errors. None asks whether the gap in these languages tracks per-word fertility, meaning how many subword tokens a tokenizer produces for one word.

Core Claim

We make two claims, and the second is the easier one to falsify. First, in morphologically rich languages, a speech model's misalignment on a word grows with that word's text-side fertility and with its acoustic duration relative to that fertility. Second, training the model to match the teacher word by word, with a small window that tolerates boundary errors, flattens that dependence. It should close more of the speech–text gap than token-level distillation, post-hoc geometric correction, or a better tokenizer alone, and it needs no text-to-speech (TTS) system for the target language. If the first claim fails, and per-word misalignment is flat in fertility, the premise is wrong and we would report that as the finding.

How the Pieces Fit

The mechanism comes from synchronization-to-corruption reduction. Synchronization Strings interleaves an indexing sequence into a transmitted stream. This turns a channel that inserts and deletes symbols into one that only corrupts symbol values, at a constant-factor cost in error rate. We cannot design the index, but spoken language provides one. The same paper warns that index symbols must not resemble one another when shifted, and word boundaries offer no such guarantee. This is why we need error tolerance rather than trusting boundaries outright.

The tolerance comes from Decoding Insertions/Deletions via List Recovery. It proves that a code which can recover the right symbol from a short list of candidates can also decode insertions and deletions, provided each position's candidates are drawn from a bounded drift window. Specifically, a $(\rho, 2\rho n + 1, L)$-list-recoverable code list-decodes $\rho n$ insertions and deletions. We reuse the windowing idea: each speech segment is matched against a small set of nearby text words rather than a single fixed one.

Codes for Correcting t Limited-Magnitude Sticky Deletions supplies a second idea. It converts deletions inside runs of repeated symbols into small changes in integer run lengths, so they stop being position shifts. Speech duration variation is exactly this kind of run-length noise. Pooling all frames of a word segment into one vector turns "how long was this word spoken" into a value inside the segment, so it no longer shifts every later position. Both papers work only on discrete alphabets with known channel statistics. Our setting has learned, continuous representations and boundary errors whose statistics must be estimated from data.

The alignment-dimensionality literature explains why the reduction matters. Full frame-to-token alignment is a large grid, and multi-way alignment grows as $O(n^d)$ (Wang et al.). AligNART showed that splitting text-to-text alignment into duplication, permutation and grouping removes the combinatorial blow-up. Our cut plays the grouping role across modalities: frames are grouped into words, subwords are grouped into words, and what remains is a nearly diagonal, banded match. Unlike AligNART, we need no external statistical aligner for supervision, whose quality caps AligNART's.

The modality-gap work motivates and constrains the loss:

  • Evidence for alignment as a cause. Understanding the Modality Gap found that speech models form monotonic frame-to-token paths on their own, and that its Alignment Path Score correlates with the gap ($R^2 = 0.81$ for cosine). Projecting the three least-aligned speech tokens at inference raised sd-qa accuracy by 7.52% on Llama3.1-8B.
  • A constraint on the loss. The same paper found that directions align in deep layers while vector lengths diverge. Simply normalizing lengths helped less. So our loss matches the teacher's full hidden state, direction and magnitude, rather than normalizing.
  • Precedent for teacher-student training. Closing the Gap Between Text and Speech Understanding in LLMs (SALAD) distils a frozen text LLM into the speech model and fills weak domains with TTS audio. We keep the frozen teacher but change the unit of matching from tokens to words, and drop the TTS dependency that SALAD concedes breaks down for low-resource languages.
  • Evidence that boundaries are detectable. Skip-Salsa documents the 4–8x token-count mismatch between Whisper and Indic LLMs. Its learned skip predictor finds word boundaries with over 94% accuracy. Skip-Salsa uses boundaries to schedule decoding; we use them as synchronization indices for representation training.
  • Morphology as the regime where fertility varies most. Optimized Text Embedding Models and Benchmarks for Amharic Passage Retrieval shows 2–13 subword pieces per Amharic word under multilingual tokenizers, versus about 1.46 under an adapted one. It also shows that token-level late interaction beats a single pooled vector (MRR@10 0.843 vs 0.775). That result cautions against pooling too aggressively, which motivates our ablation of the pooling step.

Research Program

The model is a Whisper-style speech encoder feeding a frozen text LLM through a trained adapter, the standard speech-language-model recipe. From the adapter's output we obtain speech segments $s_1, \dots, s_m$. Each segment is the pooled vector of frames between consecutive predicted word boundaries. The boundaries come from a Skip-Salsa-style predictor on encoder states, trained on forced-alignment timestamps where these exist. We run the frozen LLM on the gold transcript and pool its layer-$\ell$ states over each word's subwords, giving teacher vectors $w_1, \dots, w_n$.

The loss is the cost of the best monotone alignment between segments and words, restricted to a band $|i - j| \le k$. The alignment may merge two segments into one word or split one segment across two words, which covers boundary deletions and insertions:

$$\mathcal{L}_\ell = \min_{\pi \in \Pi_k} \sum_{(i,j) \in \pi} \Big[\, 1 - \cos(s_i, w_j) + \lambda \big(\lVert s_i \rVert - \lVert w_j \rVert\big)^2 \Big]$$

Here $\Pi_k$ is the set of monotone paths within the band, including merge and split steps. $\lambda$ weights the length-matching term. The band width $k$ plays the role of the drift window in the list-recovery reduction. The minimum is computed by dynamic programming in $O(nk)$ time, rather than over a grid of frames by subwords.

We apply the loss at a few depths, add it to the usual next-token loss on transcripts or translations, and train on real paired speech. This matters: the method needs transcribed speech, which FLEURS and IndicVoices supply, but not TTS.

The study has three parts. The first is diagnostic. On baseline models, we regress each word's misalignment (cosine and length distance to the teacher along the model's own path, as in the Alignment Path Score analysis) on subword fertility, number of affixes where a morphological analyser exists, and duration. The second is the method and its ablations. The third is a controlled stress test. We corrupt predicted boundaries by randomly deleting and inserting them at rate $\delta$ and measure how performance falls as a function of $\delta$ and $k$. The reduction predicts that degradation stays gentle while the drift stays inside the band and collapses when $k = 0$.

Baselines

Naive reference points. The do-nothing reference is the same encoder, adapter and frozen LLM trained only with next-token loss on identical data. This measures the gap we start from. Alongside it we report the cascade topline: Whisper transcription fed to the same frozen LLM. Closing the Gap Between Text and Speech Understanding in LLMs reports that cascades still slightly beat end-to-end models on reasoning, so closing the distance to the cascade is the real target.

Token-level distillation (SALAD-style). This is the strongest method-level competitor. It uses the same frozen teacher and the same idea of matching the teacher, but at token rather than word granularity, without active TTS synthesis, which would give it data we cannot give the low-resource languages. We run it on the same backbone, data and number of training steps, with the same hyperparameter search budget. For context, that paper reports SALAD-3B MMSU accuracy rising from 47.3% to 52.5% with targeted synthetic data. That is English reasoning, so it is a reference and not a like-for-like number.

Post-hoc projection of the least-aligned tokens. This is the Bottom3 angle projection from Understanding the Modality Gap. It is the strongest inference-only fix, reported at +7.52% on sd-qa for Llama3.1-8B. We apply it on top of the naive model and on top of ours. If it adds nothing on top of ours, that is evidence our training already removed the misalignment it targets.

Skip-Salsa. Skip-Salsa is the strongest system that already uses word boundaries. It reports up to a 20% WER reduction over SALSA on IndicVoices with Sarvam-1; the file gives no absolute WER, so we reproduce SALSA and Skip-Salsa on our splits.

External reference for translation. For FLEURS speech translation, the strongest reported system is MSRT-4B from Breaking the Curse of Multilinguality, at an average COMET of 83.3 over 1,980 directions. Its mixture of speech encoders is orthogonal to our loss. We therefore report our loss added to a matched frozen-plus-trainable encoder setup, not a head-to-head claim against a 4B system trained at its scale.

Ablations isolating the key ingredient. We ablate the band: hard forced-alignment matching ($k = 0$) versus $k \in \{1, 2, 3\}$. We ablate the magnitude term ($\lambda = 0$). We ablate pooling by comparing word-level against morpheme-level against subword-level teacher units. We also swap in a language-adapted tokenizer.

What counts as beating the baselines. Our success criterion is about the gap, not just raw scores. We define the gap as the COMET, or WER-derived score, from gold-transcript input minus that from speech input. Beating the baselines means shrinking this gap relative to token-level distillation on the high-fertility languages, by more than seed variance across three seeds, while not widening it on low-fertility languages.

Why not just…?

Why not just use a cascade? The cascade is a real topline, and on read speech with a good recognizer it may simply win. It cannot pass prosody through. Scalable Multilingual Multimodal Machine Translation with Speech-Text Fusion reports that speech input reduces under-translation. For Indic languages, recognition errors compound through the fertility mismatch documented in Skip-Salsa. We report the cascade on every benchmark. The honest outcome may be that our method only narrows the distance to it.

Why not just fix the tokenizer? This is the most serious threat. The Amharic retrieval results show that an adapted tokenizer cuts fertility to about 1.46, and if uneven fertility drives the gap, lowering it might be enough. It does not address duration variation on the speech side. It also requires retraining or replacing the frozen LLM's vocabulary, which is costly. Our tokenizer-swap ablation settles the question. If an adapted tokenizer with token-level distillation matches word-indexed training, we would conclude the reduction adds nothing beyond fertility repair.

Why not just use forced alignment and pool? Pooling frames at hard boundaries from a forced aligner is our method with $k = 0$. It needs an acoustic model for every language. It also has no tolerance for boundary errors, which are more frequent in low-resource languages. The boundary-corruption experiment and the $k = 0$ ablation test directly whether the tolerance window earns its place. If they show no benefit, the coding-theory framing is unnecessary and we would say so.

Why not just apply post-hoc projection? It is cheap and works on English spoken QA, but it corrects tokens after the fact and cannot fix representations that were never learned. Stacking it on our model tests whether training removed the misalignment it targets.

Proposed Experiments

Data. We use IndicVoices (Hindi, Bengali, Tamil, Marathi, about 230 hours each) for speech recognition. We use FLEURS for speech-to-text translation into English and for measuring the speech-versus-text gap. From FLEURS we choose languages that span subword fertility under the LLM's tokenizer, favouring morphologically rich ones such as Amharic, Hungarian and Polish where available, plus low-fertility controls. CoVoST-2 serves as a cross-dataset check.

Metrics. We report WER, COMET, the speech-minus-text gap, the Alignment Path Score, and training cost per step. The frozen teacher and adapter design follow public speech-translation code such as LLM-SRT.

Decisive checks. Three results decide the proposal.

  • Fertility slope. In baseline models, per-word misalignment must rise with fertility; if it does not, the premise fails. Word-indexed training must flatten that slope more than token-level distillation does.
  • Where the gains land. Gap reduction should concentrate in high-fertility languages and words. Uniform gains would suggest generic regularization rather than synchronization repair.
  • Graceful degradation. Under injected boundary errors, the $k > 0$ variants should degrade smoothly up to drift rates near $k$ and then fall off, while $k = 0$ should fall off immediately. This mirrors the windowed guarantee from list recovery. Failure here would mean the analogy to insertion-deletion codes is decorative rather than operative.