NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Simultaneous Translation for Unsegmented Input: A Sliding Window Approach

Sukanta Sen, Ondrej Bojar, Barry HaddowarXiv 2022

Abstract

In the cascaded approach to spoken language translation (SLT), the ASR output is typically punctuated and segmented into sentences before being passed to MT, since the latter is typically trained on written text. However, erroneous segmentation, due to poor sentence-final punctuation by the ASR system, leads to degradation in translation quality, especially in the simultaneous (online) setting where the input is continuously updated. To reduce the influence of automatic segmentation, we present a sliding window approach to translate raw ASR outputs (online or offline) without needing to rely on an automatic segmenter. We train translation models using parallel windows (instead of parallel sentences) extracted from the original training data. At test time, we translate at the window level and join the translated windows using a simple approach to generate the final translation. Experiments on English-to-German and English-to-Czech show that our approach improves 1.3--2.0 BLEU points over the usual ASR-segmenter pipeline, and the fixed-length window considerably reduces flicker compared to a baseline retranslation-based online SLT system.

Introduction

Traditional cascaded spoken language translation (SLT) systems rely on a pipeline where Automatic Speech Recognition (ASR) output is first processed by a segmenter or punctuator before being passed to a Machine Translation (MT) engine. This dependency creates a significant bottleneck: MT models are generally optimized for clean, punctuated sentences, whereas raw ASR output is a continuous, unpunctuated stream. Errors in automatic segmentation frequently lead to "noisy" input for the MT model, degrading translation quality.

Furthermore, in simultaneous translation contexts, the need for low latency often conflicts with the requirement for stable output. Translating partial sentences "on the fly" can cause "flicker"—a phenomenon where the displayed translation changes or jumps as more context becomes available. This paper proposes a sliding window approach that bypasses explicit segmentation, improving both translation quality and display stability.

Methodology

Training on Windows

To make the MT model robust to unsegmented input, the authors move away from standard sentence-level training. They construct a "windowed" parallel corpus by word-aligning standard sentence-aligned data using fast_align and concatenating the results into a continuous stream. Target-side windows of 15–25 tokens are randomly sampled, and their corresponding source-side windows are identified via word alignments. This training regime teaches the model to handle arbitrary text chunks that may not start or end at sentence boundaries.

Inference: Retranslation and Merging

During inference, the system employs a retranslation strategy. As new tokens arrive from the ASR, the system re-translates the most recent $n$ tokens (the window). To ensure a smooth and stable output stream, a merging algorithm is used to stitch new translations onto the existing history.

Illustration of the merging algorithm for stable output generation.

The algorithm operates by finding the longest common substring between the current translation and the previous output. If a match exceeds a threshold $r$, the new content is appended. If no sufficient match is found, the system "extends the history" by looking further back into the ASR stream to find a more stable connection point.

Experimental Setup

The models were evaluated on English-to-German and English-to-Czech tasks. Training data included large-scale corpora such as WMT 2020/2021, Europarl, ParaCrawl, and OpenSubtitles. For evaluation, the researchers used the ESIC (European Parliament) dataset, which provides document-level alignments of live speech transcripts and interpreted translations, making it ideal for testing unsegmented input handling.

Key Results and Discussion

Translation Quality

The sliding window approach demonstrated significant improvements in translation quality over the traditional ASR-segmenter-MT pipeline. Specifically, it achieved a 1.3 BLEU point gain for English-to-German and a 2.0 BLEU point gain for English-to-Czech. By training on windows, the MT model becomes inherently robust to the lack of punctuation and the fragmented nature of real-time ASR output.

Stability and Flicker Reduction

A major advantage of the fixed-length window approach is its impact on user experience. In simultaneous settings, it significantly reduces flicker compared to baseline retranslation systems.

Flicker reduction across different window lengths compared to the baseline for English-German.

As shown in the results, increasing the "mask" (the number of tokens held back from display to ensure stability) further reduces flicker, with the sliding window approach consistently outperforming the baseline across various window lengths. Hyperparameter analysis revealed that a match threshold of $r=0.4$ offers an optimal balance between translation accuracy and output stability.

Conclusion

The proposed sliding window approach effectively addresses the limitations of automatic segmentation in SLT pipelines. By simplifying the architecture and training specifically for windowed input, the system achieves higher translation quality and a more stable user experience. While retranslating every token introduces computational overhead, the benefits in quality and stability are substantial. Future research may explore dynamic window sizing or integration with end-to-end speech-to-translation models to further optimize performance and latency.

Summary updated

BibTeX
@misc{sen2022simultaneous,
  author = {Sukanta Sen and Ondrej Bojar and Barry Haddow},
  title = {{Simultaneous Translation for Unsegmented Input: A Sliding Window Approach}},
  year = {2022},
  eprint = {2210.09754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.09754},
}
Figure