X2Streaming-TTS: Causal Token-Level Text-to-Speech from Streaming Text with Speech-State Inheritance

Rime Wen, Zehan Liu, Shawn Qin, Lights Shi, Roy Gan +2 more
8/19/2026
cs.CL

Official code: X-Square-Robot/X2Streaming-TTS (165 stars, Python, MIT, last commit 2026-09-08).

Abstract

Streaming text-to-speech is essential for low-latency spoken dialogue systems, yet many systems wait for sentence-level text and are therefore only pseudo-streaming. True token-level synthesis must generate speech from uncertain prefixes while maintaining perceptual continuity over an unbounded stream with bounded context.

Show full abstract

We present X2Streaming-TTS, a causal TTS framework that consumes asynchronously arriving text tokens and emits speech without accessing future input. To handle uncertain prefixes, we introduce causal commitment, which keeps ambiguous expressions provisional through uncertainty-aware buffering and performs capacity-adaptive, punctuation-aware segmentation. To preserve acoustic continuity, we further introduce causal speech-state inheritance, which carries the complete Code2Wav state and selected historical Talker states across segment boundaries. Together with an attention prior constraint, it blocks access to future positions while retaining bounded acoustic context. Experiments show that X2Streaming-TTS outperforms existing pseudo-streaming models on most subjective and objective metrics. Further analysis shows that causal commitment stabilizes online segmentation and reduces failures caused by insufficient context, while speech-state inheritance improves boundary continuity without degrading naturalness or speaker identity. X2Streaming-TTS thus achieves strict token-level synthesis with quality comparable to the evaluated offline baselines, a median time to first audio token (TTFT) of 15.8 ms for a single request, and a median TTFT of 260.8 ms at 128 concurrent requests. Our implementation is publicly available at https://github.com/X-Square-Robot/X2Streaming-TTS .

View on arXivView PDF

Code Implementations(1)

MIT
16510PythonAug 12, 20262 months agoMIT

Similar Papers

Cite this paper

@article{wen2026xstreamingtts,
  title  = {X2Streaming-TTS: Causal Token-Level Text-to-Speech from Streaming Text with Speech-State Inheritance},
  author = {Rime Wen and Zehan Liu and Shawn Qin and Lights Shi and Roy Gan and Hao Wang and Qian Wang},
  year   = {2026},
  eprint = {2608.18661},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.18661v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.18661.svg)](https://codeofpaper.com/paper/2608.18661)

Discussion