arXiv:2609.09677cs.CLSep 2026

Manuscript Offprint

arXiv:2609.09677

X2-NativeCursor: Native-Token Text Progress Tracking for Incremental-Text Streaming Codec TTS

Zehan Liu, Carl Chen, Rime Wen, Kaiqi Fu, Altman Lin, Shawn Qin, Lights Shi, Roy Gan, Hao Wang, Qian Wang

Abstract

Incremental-text streaming text-to-speech (TTS) needs online text progress tracking for synchronized highlighting, interruption handling, and dialogue-history updates. Input text arrives before it is spoken, so text arrival alone cannot indicate speech progress. Existing waveform-based alignment requires complete audio or adds acoustic processing during streaming. We propose X2-NativeCursor, a lightweight observer that tracks progress from native speech tokens before waveform decoding without changing the TTS generator. Its normalization plan links spoken labels to their original-text spans. Text and native-token encoders feed a local matcher that estimates the current label position. A separate output rule converts revisable position estimates into a cursor that never moves backward. Mean absolute error against an automatic reference is 0.151 Chinese characters with 80-ms lookahead, versus 1.253 characters with 320-ms lookahead for an online waveform baseline. Alignment real-time factor also decreases from 0.3598 to 0.0180 relative to this baseline. Lower tracking error is retained under a second automatic alignment reference. We evaluate X2-NativeCursor on Qwen3-TTS and validate its adaptation to CosyVoice2 by training a separate observer for each backbone. Code is publicly available at https://github.com/X-Square-Robot/X2Streaming-TTS.

Index Terms—incremental-text streaming TTS, text progress tracking, native speech tokens, online alignment, text normalization

1 Introduction

Incremental-text streaming text-to-speech (TTS) speaks before a language model finishes generating text [1, 2]. Text highlighting, interruption handling, and dialogue-history updates require knowing which words have been spoken [3]. Text arrival does not specify when individual words are spoken. In codec-based TTS, words span varying numbers of speech-token frames, so frame counts alone cannot locate the current word. Tracking therefore requires an online mapping from speech frames to original-text positions.

Existing methods use waveform-based alignment or alignment built into the TTS generator. Waveform-based aligners estimate timestamps through hidden Markov models (HMMs), connectionist temporal classification (CTC), or timestamp prediction [4, 5, 6, 7, 8, 9, 10]. LLM-ForcedAligner predicts timestamps at selected text positions in one non-autoregressive pass [11], while streaming reading trackers estimate positions from incoming speech [12]. Within TTS, Speech-T learns alignment through a transducer [13]. ELLA-V and CTC-TTS arrange text or phonemes with corresponding speech tokens [14, 15]; VoXstream generates audio tokens in input-phoneme order [16].

Complete-audio aligners cannot update progress during generation. Online waveform-based alignment still waits for the TTS waveform decoder to reconstruct audio from speech tokens, then processes it with a separate acoustic encoder. For CTC alignment, the aligner predicts frame-level label probabilities to align audio with known text. This path adds waiting and acoustic computation. Alignment built into a generator may require changing its architecture and retraining it. Native speech tokens already carry speech content and timing [17, 18], allowing tracking before waveform decoding without re-encoding decoded audio. We seek to track growing text and token streams with little computation and bounded lookahead.

We propose X2-NativeCursor, a lightweight online observer operating without waveform input. It reads native speech-token frames, the speech-side representations emitted at successive TTS time steps. A normalization plan converts text into spoken labels describing its normalized reading. Labels are released only when their reading is fixed, so later input cannot change them. They retain their original-text spans, including when numbers or symbols expand into multiple labels. A text encoder represents these labels, while a native-token encoder extracts speech features with bounded lookahead.

For each frame, a local matcher scores labels near the previous estimate using text and speech features. This local search keeps the number of comparisons small as text grows. Internal estimates can move backward or skip labels; an output rule maps the furthest label reached so far back to the original text. The published cursor therefore never retreats. We train a separate observer for each backbone, keeping the TTS generator, speech tokenizer, and waveform decoder unchanged.

Our contributions are as follows:

  1. We introduce an independently trained observer for online text tracking directly from native speech tokens, without waveform input or generator changes.

  2. We separate revisable alignment estimates from monotonic cursor output in the original text, with bounded lookahead.

  3. Against an automatic reference, Chinese-character mean absolute error (MAE) is 0.151 at 80-ms lookahead, versus the online waveform baseline's 1.253 at 320 ms. Our observer has 2.166M parameters and an alignment real-time factor of 0.0180, versus 0.3598 for this baseline. The tracking gain holds under a second automatic reference. The design supports codec-based TTS models through observer retraining, as demonstrated on Qwen3-TTS and CosyVoice2.