Geometric Alignment without Functional Equivalence: A Layer-wise Analysis of the Speech-Text Modality Gap

Ming-Hao Hsu, Xiaohai Tian, Jun Zhang, Lu Lu, Yuxuan Wang, Zhizheng WuNeurIPS 2026

TL;DR

Ask a speech-enabled LLM a logic puzzle out loud, and it’s noticeably more likely to fumble the answer than if you had typed the exact same words. Researchers usually try to fix this by making internal speech representations "look" geometrically similar to text representations—but this paper reveals that even when speech and text align beautifully in a model's middle layers, they can still diverge at the finish line when forming an answer. Bridging the speech–text gap isn't just about matching internal shapes; it’s about fixing how the model pays attention in its final layers.

What Problem Does This Paper Address?

End-to-end speech large language models (LLMs) are designed to bypass clunky speech-to-text transcription cascades by feeding audio representations directly into an LLM backbone. In theory, if a question depends purely on words (not tone or background noise), the model should tap into the exact same reasoning engine whether you speak or type.

In practice, spoken queries consistently lag behind typed ones—a phenomenon called the modality gap.

Figure 2: The speech–text modality gap. In the benchmark overview, speech-to-text (S2T) accuracy is below matched text-to-text (T2T) accuracy for all four speech LLMs on both SpeechMMLU and VoiceBench BBH.

Historically, researchers diagnosed this gap through representation geometry, checking whether speech and text vectors land in the same neighborhood inside the model. The assumption was simple: make speech look like text internally, and the model will treat it like text. The authors put this assumption on trial, asking: Does geometric alignment actually guarantee functional equivalence? In other words, if speech and text look alike inside the network, does the model actually use them the same way to build an answer?

Methods

To connect what representations look like with what they do, the authors examine four 7B-scale open-weight models (Qwen2.5-Omni, MiniCPM-o, Qwen2-Audio, and LLaMA-Omni) using three diagnostic lenses:

  • Geometric Alignment (Standard + Twist): Because an audio clip has many more frames than a text prompt has tokens, the authors use Dynamic Time Warping (DTW) to monotonically align speech frames to text tokens. They then measure Centered Kernel Alignment (CKA)—a standard metric for comparing the geometric similarity of two representation spaces—across all layer pairs.
  • Layer-wise Answer Margins (Connecting Geometry to Function): Similar to "logit lens" techniques, they project intermediate hidden states at the final prompt position through the vocabulary head at every layer. They track the answer margin: the probability of the correct answer minus the strongest competing answer.
  • Causal Attention & Compression Probes (Novel Diagnostics): Because correlation isn't causation, they surgically edit late-layer attention weights—sharpening diffuse speech attention without changing the input or token count—to test if attention focus directly alters how strongly the model separates candidate answers. They also test whether compressing the audio (speeding up tempo, trimming silences, or merging internal audio tokens) repairs speech-only errors.
Figure 1: Geometric alignment without functional equivalence. The same question enters a speech LLM as text and as speech. Speech–text CKA is high in middle layers, yet the answer margins of the two inputs separate in late layers. Curves use Qwen2.5-Omni on BBH, with CKA from Appendix A.2 and margins averaged over the 233 items answered correctly only from text.

Datasets

The authors evaluate existing, semantics-matched benchmarks (where prosody or emotion doesn't affect the answer) alongside one boundary-check dataset. No new datasets are introduced:

  • SpeechMMLU & VoiceBench BBH: Paired text and synthesized audio adaptations of standard multitask knowledge (MMLU) and multi-step reasoning (BIG-Bench Hard) benchmarks.
  • MMSU: A speech-native reasoning benchmark where acoustic cues do matter (e.g., stress, intonation, pauses), used to verify the boundaries of their findings.

Key Insights and Ideas

  • Looking alike isn't acting alike: In capable omni-models (Qwen2.5-Omni and MiniCPM-o), speech and text representations align strongly in middle layers, yet their answer margins diverge in the final layers. Having the right information in the middle of the network doesn't mean the late layers will read it out cleanly.
  • "Semantic Smearing": Speech tokens arrive at a much higher rate than text words. Consequently, a single speech layer aligns with a broad band of roughly six text layers, and decision-time attention spreads much more thinly over speech than text—requiring nearly 4× the token fraction to cover 90% of attention mass in late layers.
  • Late attention causally drives decisiveness: Artificially sharpening late-layer speech attention forces the model to separate answer choices more decisively, while diffusing text attention weakens separation. (Interestingly, this governs decisiveness between options rather than flipping wrong answers to right ones.)
  • Two distinct failure modes: Not all speech LLMs fail the same way. Models like Qwen2-Audio suffer from Representation Failure (speech and text never align in the middle layers), whereas Qwen2.5-Omni and MiniCPM-o suffer from Decision Instability (good mid-layer alignment, poor late-layer readout).

Key Results

  • Task-Dependent Gaps: On BBH, Qwen2.5-Omni drops from 72.7% accuracy on text to 59.9% on speech—driven heavily by multi-step truth-tracking ("Web-of-lies," a massive 37.6-point drop). Conversely, when acoustic cues matter on MMSU, speech outperforms text by 34.3 points.
  • Late-Layer Divergence: Across 1,000 BBH items on Qwen2.5-Omni, tracking the final six layers (layers 23–28) reveals a clear statistical crossover (+0.3652 probability margin contrast): whichever modality gets the question right exhibits a distinctly higher candidate margin in the late layers, despite mid-layer geometric alignment.
  • Compression Repairs Errors: Simply compacting the speech input fixes a substantial chunk of questions that Qwen2.5-Omni got right on text but wrong on speech. Depending on the prompting protocol, speeding audio up by 1.2× repairs 34.3% to 48.5% of speech-only errors (+2.2 overall accuracy points), while trimming silences repairs 38.2% to 44.6%.

Limitations and Future Work

The study focuses on 7B-scale open-weight models using clean, synthesized speech where only the words matter; natural conversational audio and larger models remain untested. Furthermore, the causal attention intervention was only run on Qwen2.5-Omni, and it demonstrates changes in candidate separation rather than direct accuracy repair. Finally, because these models were trained on different data mixtures, the authors note they can pinpoint where a model diverges internally, but cannot isolate how much of that gap stems from architecture versus having less reasoning-heavy speech data during training. Probing late layers for leftover acoustic noise that might be distracting the readout is a prime next step.

Summary updated

Abstract

End-to-end speech large language models (LLMs) often answer the same question less accurately from speech than from text, even when the spoken content matches the text prompt. Existing analyses study this modality gap through the geometry of representations and measure how closely speech representations align with text. Geometric alignment gives the gap a measurable form, but it does not show whether the model uses aligned representations in the same way. This work connects representation geometry with answer formation and asks whether geometric alignment implies functional equivalence. We compare cross-layer Centered Kernel Alignment (CKA) with layer-wise answer margins for four open-weight speech LLMs on SpeechMMLU and VoiceBench BBH. In Qwen2.5-Omni and MiniCPM-o, speech and text representations align in middle layers while their late-layer answer margins still differ, so mid-layer alignment does not imply functional equivalence. Qwen2-Audio instead shows weak alignment, which indicates a different failure mode. An attention intervention at fixed input and token count identifies a causal effect of late attention allocation on answer-code separation, a quantity distinct from answer correctness. Compressing the speech signal or its token sequence repairs a subset of the errors that occur only with speech.
BibTeX
@inproceedings{hsu2026geometric,
  author = {Ming-Hao Hsu and Xiaohai Tian and Jun Zhang and Lu Lu and Yuxuan Wang and Zhizheng Wu},
  title = {{Geometric Alignment without Functional Equivalence: A Layer-wise Analysis of the Speech-Text Modality Gap}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=KNuSWirJEG},
}
Figure