TL;DR
This paper introduces a novel post-training strategy for large language model (LLM)-based streaming text-to-speech (TTS) that solves two classic problems: unnatural prosody and long-form generation collapse. By utilizing a prosodic-boundary marker and a bounded sliding-window mechanism, the model achieves seamless, real-time audio generation with a massive 66.2% absolute reduction in word error rate (WER) for long texts without requiring any architectural modifications.
What Problem Does This Paper Address?
Streaming TTS systems need to generate high-quality speech in real time as text arrives incrementally. However, existing LLM-based architectures (which interleave text and speech tokens) face two major roadblocks:
- Unnatural Prosody: To speak naturally, humans look ahead at upcoming words to plan stress and pauses. Streaming models often lack this future context (lookahead), leading to robotic or disjointed phrasing.
- Long-Form Collapse: As an interactive session goes on, the history grows indefinitely. In interleaved models, the physical distance between a text token and its corresponding speech token widens over time. This causes the Key-Value (KV) cache to explode, leading to semantic drift, hallucinations, or premature termination (the model simply breaks down during long monologues).
Existing solutions try to fix this with complex, custom causal attention mechanisms or precise, manually annotated text-speech alignments. The authors ask: Can we achieve robust, long-form streaming using only weakly time-aligned data, without changing the underlying model architecture?
Methods
The authors propose a post-training strategy called Prosodic Boundary-Aware Streaming Generation, built on top of the CosyVoice2 architecture. The pipeline consists of two main phases:
1. Training with Dynamic Boundary Insertion
Instead of manual annotations, the authors use an off-the-shelf aligner (WhisperX) to get word-level timestamps from audio. During fine-tuning, they randomly insert a special token—the marker_boundary—into the text sequence. The target speech sequence is then truncated precisely at the audio timestamp corresponding to that boundary word.
This teaches the LLM to treat the marker as an early-stopping cue: it reads the text after the marker to plan prosody but stops generating audio tokens right at the marker.
2. Inference via Bounded Sliding-Window Prompting
During inference, text is processed in chunks of $k$ words, plus a small lookahead window of $f$ words.
As shown in Figure 1, the input sequence is formatted as:
$$\text{Chunk Text} + \text{marker\_boundary} + \text{Lookahead Text}$$
To keep the context from growing indefinitely, the model uses a Sliding-Window Prompt. For each new chunk, the history is truncated, and the prompt is replaced solely by the text and speech tokens synthesized in the immediate previous step. This bounds the KV cache complexity to $O(k + f)$, completely preventing long-form collapse.
Datasets
- Training: An English subset of CommonVoice 13.0, comprising roughly 930,000 utterances (~1,000 hours). Word-level timestamps were automatically extracted using WhisperX.
- Standard Evaluation: The Seed-TTS-Eval benchmark, which consists of short, read-style sentences paired with reference speaker prompts.
- Long-Form Evaluation: To stress-test the system, the authors created an LLM-expanded Long-form Evaluation dataset. They used DeepSeek-V3 to expand each Seed-TTS-Eval sentence into a coherent paragraph of 280–320 words, keeping the original sentence as the opening segment.
Key Insights and Ideas
- Lookahead Without Custom Attention: Traditionally, giving a model lookahead context meant rewriting the attention masking matrix to let tokens look "forward" by $N$ steps. This paper proves you can achieve the same effect purely through prompt engineering and post-training: give the model the future text, but use a boundary token to tell it exactly where to stop generating audio.
- The Danger of Too Much Lookahead: Intuitively, more context should mean better quality. However, the authors' ablation study revealed a fascinating trade-off: if the lookahead window $f$ is too large relative to the chunk size $k$ (e.g., $k=10, f=6$), long-form WER actually degrades. Overly strong future conditioning can destabilize the generation of the current segment.
- Audio Tails as Anchors: Using the previous chunk's audio tail as a prompt acts as a powerful acoustic anchor, preserving speaker identity and emotional consistency across chunk boundaries without needing the entire generation history.
Key Results
The proposed method drastically outperforms standard interleaved streaming baselines, particularly in long-form scenarios:
- Catastrophe Averted in Long-Form: On the long-form benchmark, the standard Interleaved baseline suffered a catastrophic failure, yielding a 70.97% WER due to hallucinations and deletions. The proposed Boundary-Aware method maintained a stable 4.77% WER.
- Acoustic Fidelity: In long-form generation, the naive Sliding-Window baseline suffered from severe speaker drift (Speaker Similarity dropped to 0.22). The proposed method maintained a high speaker similarity (0.65 SPK-SIM) and emotional consistency (0.912 EMO-SIM).
- Lower Latency: The system achieved the lowest Time-to-First-Audio (1296 ms TTFA), outperforming the native interleaved implementation (1414 ms) due to its efficient, bounded prompting mechanism.
Limitations and Future Work
While highly effective, the authors note a few areas for improvement:
- Fixed Chunking: The current implementation uses a fixed chunk size ($k$ words). In the future, implementing adaptive boundary prediction—where the model dynamically decides the best linguistic places to chunk the incoming text stream—could further improve prosodic naturalness.
- Architectural & Language Scope: The method was validated primarily on the CosyVoice2 architecture and English text. Future work will explore how well this post-training strategy generalizes to other LLM-based TTS architectures and multilingual environments.
Summary updated