TL;DR
Delayed Streams Modeling (DSM) is a simple and powerful framework that turns streaming sequence-to-sequence learning into a unified, time-aligned language modeling problem. By shifting alignment to a pre-processing step and introducing a controlled delay between input and output token streams, DSM achieves state-of-the-art streaming performance for both speech recognition and speech synthesis while enabling massive throughput via standard batching.
What Problem Does This Paper Address?
Traditional sequence-to-sequence (seq2seq) models, like those used for Automatic Speech Recognition (ASR) or Text-to-Speech (TTS), typically operate offline. They require processing an entire input sequence before generating any output.
To make these systems work in real-time streaming scenarios (e.g., live captioning or interactive voice assistants), researchers usually have to design complex alignment policies—such as Transducers or monotonic attention mechanisms—to decide exactly when the model should read an input chunk versus write an output token. These policies are computationally expensive to train and severely break batching during inference because every sequence follows a different execution path. Furthermore, text and audio operate at completely different framerates, making synchronous processing a major architectural headache.
DSM addresses these challenges by eliminating complex runtime alignment policies entirely, replacing them with a unified, batch-friendly, decoder-only architecture.
Methods
Instead of dynamically calculating alignments at runtime, DSM shifts the alignment to a pre-processing step where all modalities are mapped to a shared, constant framerate.
The core architecture relies on a standard decoder-only Transformer that processes multiple parallel token streams simultaneously. The crucial trick is the introduction of a stream delay ($\tau$):
- For ASR: The text stream is delayed relative to the audio stream. The model processes the audio tokens first, giving it the necessary acoustic context before it predicts the corresponding text tokens.
- For TTS: The audio stream is delayed relative to the text stream.
Architecture Components
- Transformer Backbone: A standard autoregressive Transformer (using RoPE positional encodings).
- Input Embedder: Learnt embedding tables for each discrete token stream. Crucially, the embeddings of parallel streams are simply summed together before being fed into the backbone.
- Conditional Sampler: A linear layer for text vocabulary, or a small Residual Vector Quantization (RVQ) Transformer (like Mimi codec) to sample multi-codebook audio tokens.
Advanced Streaming Tricks for TTS
To handle text input during streaming synthesis without knowing word durations in advance, DSM-TTS introduces two novel streams:
- Action Output Stream: Predicts whether the next input text token should be a
WORDtoken or aPADtoken, controlling when the model pulls in new text. - Lookahead Text Stream: Feeds future text tokens into the model ahead of time, providing the necessary semantic context to plan natural pauses and prosody.
Delay Conditioning
To avoid retraining separate models for different latency requirements, the authors train DSM-ASR with randomized delays and condition the network on a cosine embedding of the target delay. This allows users to dynamically adjust the latency/quality trade-off at inference time.
Datasets
- Pretraining: An massive audio collection of 2.5 million hours of English and French content, pseudo-labeled with word-level timestamps using
whisper-timestamped. - ASR Finetuning: A 28,000-hour mixture of public datasets including LibriSpeech, VoxPopuli, GigaSpeech, AMI, SPGISpeech, TED-LIUM, and Earnings22. Long-form training was augmented using concatenated LibriSpeech segments and synthetic dialogs.
- TTS Evaluation: News articles from NTREX-128 (for monologues) and 110 LLM-generated synthetic scripts (for dialogs), using voice conditioning from VCTK and CML.
Key Insights and Ideas
- The Power of Constant Framerates: Forcing text and audio into a shared time grid allows the model to step through time uniformly. This unlocks standard, highly optimized Transformer batching during streaming inference—a feature missing from most streaming architectures.
- Distillation Can Outperform the Teacher: Surprisingly, DSM-ASR achieved a lower Word Error Rate (6.4%) than the Whisper Medium teacher model (8.1%) used to generate its pretraining labels. The authors attribute this to low-temperature sampling smoothing out the teacher's systematic errors, combined with the regularizing effect of codebook dropout.
- Dynamic Latency Control: Explicitly conditioning the model on the stream delay allows a single network weights file to behave as an ultra-low latency model or a high-accuracy near-offline model on the fly.
Key Results
Automatic Speech Recognition (ASR)
DSM-ASR achieves competitive performance with top-tier offline models and significantly outperforms existing streaming baselines. On short-form evaluation, it hits an average Word Error Rate (WER) of 6.4%.
For long-form audio (up to 2 hours), DSM-ASR maintains an average WER of 7.9%, demonstrating robust stability over infinite contexts without needing manual chunking or stitching.
Text-To-Speech (TTS) & Throughput
- Quality: DSM-TTS achieved the lowest WER across both English and French monologues and dialogs compared to open-source alternatives (like F5-TTS and CosyVoice).
- Throughput: Because it supports standard batching, a single DSM model running on an H100 GPU can process 400 audio streams simultaneously in real-time, yielding a 100x throughput advantage over architectures like Whisper-Streaming.
Limitations and Future Work
- Domain Alignment Dependency: The framework relies heavily on the ability to align input and output domains to a shared time grid during pre-processing. This requires reliable word-level timestamping tools during dataset preparation.
- Watermarking Vulnerability: In their security analysis, the authors discovered that passing watermarked audio through the Mimi neural audio codec almost entirely erases standard acoustic watermarks. This poses a challenge for tracking and securing open-source TTS deployments.
- Future Directions: The authors plan to scale DSM beyond speech and text to handle more complex, multi-stream sequential multimodal tasks.
Summary updated