Latent Speech-Text Transformer

Yen-Ju Lu, Yashesh Gaur, Wei Zhou, Benjamin Muller, Jesus Villalba, Najim Dehak, Luke Zettlemoyer, Gargi Ghosh, Mike Lewis, Srinivasan Iyer, Duc Le

TL;DR

The Latent Speech-Text Transformer (LST) addresses the massive sequence-length mismatch between speech and text by grouping fine-grained speech tokens into higher-level latent "patches." This simple architectural shift dramatically improves compute efficiency, reduces autoregressive sequence lengths by up to 4x during inference, and yields substantial accuracy gains across cross-modal understanding benchmarks.

What Problem Does This Paper Address?

Current generative spoken language models (often called "textless NLP" systems) tokenize raw audio into discrete speech units to process them alongside text. However, speech tokens are highly redundant and temporally dense compared to text: a single spoken word requires many more speech tokens than its textual counterpart.

When training large language models (LLMs) on interleaved speech and text data, this "information-density mismatch" forces the model to spend the vast majority of its compute and context window on processing repetitive acoustic frames rather than learning high-level semantic reasoning. Consequently, speech models scale much more slowly and require orders of magnitude more data to match the capabilities of text-only LLMs.

Methods

LST introduces a hierarchical architecture inspired by the Byte-Latent Transformer (BLT) to level the playing field between modalities:

  • Patch Encoder: Compresses local sequences of fine-grained speech tokens (such as HuBERT units) into a single, dense latent patch representation using sliding-window self-attention and cross-attention layers.
  • Global Transformer: The core LLM, which processes text tokens and the newly formed speech patches interchangeably within a shared autoregressive space.
  • Patch Decoder: A lightweight decoder that expands the global transformer's latent patch outputs back into token-level speech units via next-token prediction.

The authors experiment with three primary patching strategies: Static Patching (fixed-size token blocks), Alignment Patching (using forced alignments to group tokens by words and silences), and a novel Curriculum Patching strategy. Curriculum patching uses alignment-based boundaries early in training to teach the model semantic correspondence, then smoothly transitions to static patching so that no external alignment tool is needed during inference.

Figure 2: Latent Speech-Text Transformer (LST). The model encodes BPE text tokens and Hu- BERT speech tokens into a shared latent space. A Patch Encoder compresses local speech segments into patch representations, which are jointly processed with text tokens. A Patch Decoder predicts future speech tokens from latent representations, enabling alignment and transfer across modalities.

Datasets

  • Pre-training Text: A 1.8-trillion-token subset of the Llama 2 pre-training corpus, tokenized via a 32K BPE vocabulary.
  • Pre-training Speech: A massive compilation of speech corpora totaling nearly 200,000 hours: LibriLight (44k hours), People's Speech (14k hours), Multilingual LibriSpeech (50k hours), and the Spotify Podcast Dataset (55k hours), all discretized into 25Hz HuBERT tokens.
  • Evaluation Benchmarks: Cross-modal story completion tasks including sHellaSwag (a speech version synthesized using the Kokoro TTS model), StoryCloze, and TopicStoryCloze. They also verify low-level phonetic preservation using sWUGGY and sBLIMP.

Key Insights and Ideas

  • Granularity Alignment is Key: Forcing a global transformer to operate on word-level or patch-level speech units instead of raw acoustic frames allows it to transfer knowledge from text to speech far more effectively.
  • Semantic Clustering Emerges Naturally: Visualizations of the latent speech patches show that patches representing the same word tightly cluster together based on linguistic categories (e.g., pronouns, tools, water-related terms), proving that the encoder successfully distills acoustic data into semantic concepts.
  • Curriculum Learning Bypasses Inference Bottlenecks: By slowly phasing out forced-alignment dependencies during training, the model retains the performance benefits of semantic alignment while remaining entirely self-contained and fast at test time.

Key Results

  • Performance Boosts: In compute-controlled settings (same training iterations), LST with Curriculum Patching improves speech accuracy on HellaSwag by +6.5% absolute (39.0% to 45.5%) and text accuracy by +5.2% compared to a non-patched baseline.
  • Compute Efficiency: LST achieves a ~20% reduction in training and inference FLOPs due to shorter sequence lengths.
  • Downstream Tasks: During Text-to-Speech (TTS) inference, LST reduces the number of autoregressive generation steps by ~4x without degrading audio quality. For Automatic Speech Recognition (ASR) fine-tuning, LST drastically stabilizes adaptation, achieving a 6.8% Word Error Rate (WER) on LibriSpeech clean after just 1k iterations, whereas the baseline fails to converge properly (140% WER).

Limitations and Future Work

  • Half-Duplex Only: LST is currently designed for alternating turns of speech and text, making it unsuited for real-time, full-duplex conversational dialogue where speakers overlap.
  • Pre-training Focus: The study focuses strictly on the pre-training phase; instruction fine-tuning and broader downstream task adaptation are left for future work.
  • Training Alignment Dependency: Although inference is alignment-free, the training pipeline still relies on an external forced-alignment model (Wav2Vec2+CTC) to guide the curriculum.
  • Modality Scope: The architecture has yet to be tested on other continuous modalities like images or video.

Summary updated

BibTeX
@inproceedings{lu2026latent,
  author = {Yen-Ju Lu and Yashesh Gaur and Wei Zhou and Benjamin Muller and Jesus Villalba and Najim Dehak and Luke Zettlemoyer and Gargi Ghosh and Mike Lewis and Srinivasan Iyer and Duc Le},
  title = {{Latent Speech-Text Transformer}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=krGpQzo8Mz},
}
Figure