In traditional speech processing, audio and text are treated as fundamentally different citizens. Audio is a high-dimensional, continuous, and noisy signal, while text is a sequence of discrete, clean, and semantically dense symbols. This "modality gap" has historically forced researchers to build separate pipelines for speech and text, often requiring massive amounts of paired data—recordings with exact transcripts—to bridge the two.
A growing body of research suggests a more elegant solution: forcing both modalities into a single, shared latent space. If a model can map the acoustic wave of someone saying "apple" and the written word "apple" to the exact same mathematical coordinate, the downstream task—whether it is translation, summarization, or synthesis—no longer needs to care where the information came from.
The Modality Gap Problem
The primary challenge in creating a shared space is structural. Speech signals are much longer than their corresponding text sequences (a one-second audio clip might have 50 frames but only two words). Furthermore, speech contains non-linguistic information like emotion, background noise, and speaker identity that text lacks.
To address this, Yuchen Liu and colleagues in Bridging the Modality Gap for Speech-to-Text Translation proposed using a "shrink mechanism" based on Connectionist Temporal Classification (CTC). By compressing the speech features to match the length of text tokens, they allow a shared semantic encoder to process both modalities interchangeably. This ensures that the model focuses on the shared linguistic meaning rather than the surface-level differences of the signal.
Forcing Alignment via Contrastive Learning
How do we ensure the "audio vector" and the "text vector" actually land in the same spot? Researchers use several alignment strategies:
- Contrastive Learning: Rong Ye and Lei Li introduced ConST (Cross-modal Contrastive Learning for Speech Translation), which explicitly minimizes the distance between paired speech and text embeddings while pushing unrelated pairs apart. This "pulls" the two modalities together in the latent space.
- Similarity Losses: In Modeling ASR Ambiguity for Dialogue State Tracking Using Word Confusion Networks, Manish Shrivastava and others used a similarity loss to force the embeddings of noisy speech graphs to match clean ground-truth text.
- Shared Bottlenecks: Tao Tu and Hung-yi Lee utilized vector quantization in SeqRQ-AE to create a discrete bottleneck. By forcing speech to pass through the same discrete "units" as text (like phonemes), the model naturally learns a modality-agnostic representation.
Leveraging Unpaired Data
The true power of a shared latent space is its ability to utilize "unpaired" data—text without audio or audio without text. Since text data is vastly more abundant than paired speech-text data, this alignment allows speech models to "borrow" knowledge from the world of Natural Language Processing.
Zhong Meng and the team at Google demonstrated this with Contextual Text Injection (CTI) (Text Injection for Neural Contextual Biasing). By converting 100 billion text sentences into "speech-like" representations in a shared space, they trained ASR models to recognize rare words (like specific contact names) that the model had never actually "heard" in the training audio.
Similarly, Yichao Du showed in Non-Parametric Domain Adaptation for End-to-End Speech Translation that once a shared space is established, a model can adapt to a new domain (like medical or legal translation) using only parallel text, completely bypassing the need for expensive new speech recordings.
Scaling to Large Language Models
The most recent frontier involves plugging speech directly into the latent spaces of Large Language Models (LLMs). Instead of converting speech to text and then feeding it to an LLM, researchers are "fusing" the modalities.
In VOX-KRIKRI, Dimitrios Damianos and colleagues integrated acoustic decoder hidden states directly into a Llama model. Because the decoder's latent space is already linguistically grounded, it aligns more easily with the LLM's text-based world. Dongchao Yang took this further with DualSpeechLM (DualSpeechLM: Towards Unified Speech Understanding and Generation), which uses semantic-heavy tokens for input and acoustic-rich tokens for output, allowing a single frozen LLM to both "understand" and "speak" by navigating a unified cross-modal space.
By treating speech and text as two different views of the same underlying linguistic reality, these shared latent spaces allow models to generalize far beyond the limitations of their specific training data.