Incremental text streams from real-time applications such as streaming automatic speech recognition (ASR), translation, and live writing assistants frequently suffer from compounding corruptions, including formatting omissions, casing errors, and diverse typographical or acoustic noise.
Prior streaming post-processing methods remain fragmented, relying on rule-based tagger-transducer cascades that scale poorly and cannot execute complex, multi-word structural rewrites.
Meanwhile, simultaneous sequence generation models are optimized for cross-lingual reordering.
When applied to monotonic intra-lingual refinement, their fixed positional schedules (e.g., wait-k) suffer from tokenization asymmetry, resulting in severe decoder misalignment and hallucinations.
In this work, we present an end-to-end seq2seq framework for synchronous text stream refinement, introducing:
- adaptive phrase-aligned mixup training with stochastic cross-attention masking to mitigate misalignment hallucinations;
- a forced latency penalty loss regularizing the decoder toward monotonic alignment;
- a dynamic emission policy leveraging weak cross-attention to newly arrived frontier tokens.
Evaluated on Vietnamese, our model narrows the gap to offline quality while dominating all simultaneous generation baselines across all latency budgets, achieving $1.58\times$ inference throughput via fully cached, batched execution.
Additional experiments with an alternative backbone and an English benchmark confirm this robust quality-latency behavior, while evaluation on real ASR transcripts yields a 12.1\% relative reduction in word error rate.
Our code is available at https://github.com/khanld/text-stream-refinement