When we read a sentence, our brains process a few dozen discrete tokens. When we hear that same sentence spoken, our ears receive a continuous stream of acoustic energy that, when digitized, translates into thousands of high-frequency feature vectors. This fundamental discrepancy—the sequence length mismatch—is the primary hurdle in building unified models that can "think" in both speech and text.
In the world of Large Language Models (LLMs), text is dense and symbolic. Speech, by contrast, is sparse and redundant. A single second of audio can generate 50 to 100 acoustic frames, while the corresponding text might only be two or three words. As noted by Izhak Shafran and colleagues in Speech-to-Text Adapter and Speech-to-Entity Retriever Augmented LLMs for Speech Understanding, this mismatch makes it computationally inefficient to process raw audio features directly within Transformer architectures, which struggle to align long sequences of audio frames with compact semantic concepts.
The Cost of High Resolution
The difficulty isn't just a matter of "more data." It is a structural conflict. Standard Transformers rely on self-attention, which scales quadratically with sequence length. If you simply concatenate audio and text tokens, as explored by Soumya Dutta et al. in ABHINAYA, the computational overhead explodes.
Beyond computation, there is the problem of information dilution. When a model's attention mechanism is spread across hundreds of redundant acoustic frames for a single word, the "signal" of the word's meaning can get lost in the "noise" of the audio's temporal resolution. Long Duong and David Chiang identified this early on in An Attentional Model for Speech Translation Without Transcription, noting that the dimensionality mismatch makes it difficult for models to learn stable alignments between sound and meaning.
Achieving Sequence Length Parity
To solve this, researchers have moved toward "shrinking" the audio to match the density of text. The goal is sequence length parity: ensuring that one "unit" of audio roughly corresponds to one "unit" of text.
Several distinct strategies have emerged to bridge this gap:
- Boundary-Based Shrinking: Liangyou Li and Qun Liu proposed AdaTranS, which uses a predictor to identify acoustic boundaries. By collapsing all frames within a word's boundary into a single vector, the model can process speech at the same "speed" as text.
- CTC-Based Compression: Connectionist Temporal Classification (CTC) is traditionally used for alignment, but researchers like Shaoshi Ling have repurposed it as a down-sampling tool. In Adapting Large Language Model with Speech for Fully Formatted End-to-End Speech Recognition, they use CTC to filter out redundant frames, allowing the LLM to see a "peaky" and condensed version of the audio.
- Grouped Tokenization: In IntrinsicVoice, Qian Chen and Xin Zhang introduced the GroupFormer. This architecture explicitly compresses speech sequences to match the information density of text, allowing the LLM to use its pre-trained attention mechanisms more efficiently without being overwhelmed by high-density audio tokens.
Alignment-Aware Connectors
If compression is about making the sequences the same length, alignment is about making sure the model knows which part of the audio matches which part of the text.
Traditional systems often treat speech and text as separate islands. However, Weiting Tan and Hirofumi Inaguma argue in SSR-CONNECTOR that we should leverage speech-text alignments directly. By distilling knowledge from a teacher model that already understands these alignments, they can "plug" speech into an LLM in a way that preserves the model's original text-processing abilities.
Similarly, the SEAL framework by Anbin Qi and Tian-hao Zhang focuses on creating a unified embedding space. They highlight that the fundamental hurdle for end-to-end retrieval is finding a representation that bridges the structural differences between high-resolution audio and condensed text while preserving the semantic content of both.
Beyond Linear Concatenation
Recent work suggests that simply putting audio and text in a single line might not be the only way. Shaolei Zhang and Yan Zhou introduced Stream-Omni, which uses layer-dimension mapping. Instead of appending audio to the end of a text sequence (which increases length), they align speech features to the internal layers of the model. This allows the model to "hear" and "read" simultaneously, bypassing the sequence length bottleneck entirely.
As Francesco Verdini and Marco Gaido conclude in their systematic evaluation, How to Connect Speech Foundation Models and Large Language Models?, there is no "one-size-fits-all" adapter. The best way to bridge the gap depends on the specific models being connected. However, the core intuition remains: to make an LLM understand speech, we must first translate the "stretchy," high-resolution nature of sound into the compact, rhythmic language of tokens.