Skip to content

Adaptive Synchronous Text Stream Refinement via Monotonic Latency-Aware Training

Khanh Le, Kiet Anh Hoang, Bao Nguyen, Duy Vo, Dung Vo, Thai Tran, Edward Nguyen, Danh Vo, Vu Le, Mai Nguyen, Khoa D. Doan

cs.CL

Abstract

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-kk) 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 (1) adaptive phrase-aligned mixup training with stochastic cross-attention masking to mitigate misalignment hallucinations; (2) a forced latency penalty loss regularizing the decoder toward monotonic alignment; and (3) 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×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

Create a lesson

Metadata

Comments
EACL 2027