Skip to content
AI.info

Research

Simulstream: Open-Source Toolkit for Evaluation and Demonstration of Streaming Speech-to-Text Translation Systems

Overview Research area: Streaming (simultaneous) Speech-to-Text Translation (StreamST), at the intersection of automatic speech recognition and machine translation. The paper is primarily a software/t

arXiv
2512.17648
Published
2025-12-19
Authors
Marco Gaido, Sara Papi, Mauro Cettolo, Matteo Negri, Luisa Bentivogli

AI summary

Overview

Research area: Streaming (simultaneous) Speech-to-Text Translation (StreamST), at the intersection of automatic speech recognition and machine translation. The paper is primarily a software/tooling contribution rather than a new modeling advance.

Technical level: Intermediate. The paper assumes familiarity with concepts such as latency, decoding policies, BLEU/COMET, and speech-translation evaluation, but the toolkit itself is presented as deployable software.

Scope in one sentence: The paper introduces simulstream, an open-source toolkit that unifies evaluation and live demonstration of streaming speech-to-text translation systems operating under both incremental and re-translation decoding on long-form speech.

What This Paper Is About

Streaming speech translation systems must produce translations while a speaker is still talking, trading off translation quality against latency. Progress in the field has been hard to measure because existing evaluation frameworks disagree on basic assumptions: some assume pre-segmented short audio rather than continuous long-form streams, and most support only one decoding paradigm. The paper's goal is a single, maintained, open-source framework that can evaluate both decoding paradigms fairly and also demonstrate systems interactively in real time.

Key Contributions

  1. A unified evaluation framework: simulstream is presented as the first unified open-source framework for long-form generation and evaluation of StreamST systems under both incremental and re-translation strategies, with accurate tracking of both emitted and deleted tokens.
  2. A lightweight proxy to SimulEval: A "SimulEval Agent Wrapper" speech processor calls SimulEval-based agents (supported for SimulEval >= 1.1.0), letting users reuse existing systems without modification.
  3. An interactive demonstration platform: A web-based interface (HTML/CSS/JavaScript over a WebSocket server) for real-time visualization and side-by-side comparison of systems, plus a command-line WAV client for evaluation runs.
  4. Built-in quality and latency metrics: BLEU (via sacreBLEU) and COMET, a reimplementation of StreamLAAL and StreamLAAL CA, normalized erasure (NE), and real time factor (RTF), with an interface for adding custom metrics computed a posteriori from fine-grained logs.

Main Findings

  • Adoption as an official benchmark tool: simulstream has been adopted as the official evaluation toolkit for the Simultaneous Translation track of the IWSLT 2026 Evaluation Campaign.
  • Canary v2 dominates on MuST-C retranslation: Averaged over the 8 MuST-C language pairs, Canary's sliding-window retranslation had markedly higher COMET and BLEU than SeamlessM4T (for example at window length 14: COMET 0.7986 and BLEU 29.20 for Canary vs. COMET 0.7469 and BLEU 25.65 for SeamlessM4T), with similar StreamLAAL latency but lower NE and RTF.
  • VAD sharply reduces flickering and cost but hurts quality: Adding the VAD wrapper before sliding-window retranslation reduced flickering (NE) by roughly 8x and RTF by 2-3x for both models, but translation quality dropped substantially (for example Canary at threshold 0.6: COMET 0.7375, BLEU 24.70, versus COMET 0.7986, BLEU 29.20 for plain sliding window at window length 14). The latency-quality operating points also became clustered, with latency differences spanning 0.2s and quality differences under 0.015 COMET.
  • Incremental vs. retranslation depends on the model: On SeamlessM4T, incremental StreamAtt outperformed sliding-window retranslation in both latency and quality while eliminating flickering entirely (NE 0.0000 across all checkpoints), at the cost of higher RTF. On Canary, the pattern reversed: sliding window gave substantial quality gains at comparable or even lower latency than StreamAtt. The paper states this is the first direct comparison between incremental and retranslation approaches enabled by a unified framework.
  • No universally superior decoding strategy: The authors conclude that the best quality-latency trade-off is model- and application-dependent.
  • MCIF results confirm the trend: On the MCIF set (en-de, en-it, en-zh), retranslation consistently achieved the highest translation quality with Canary, while StreamAtt yielded the lowest latency with SeamlessM4T.
  • Larger model is not better here: Appendix A reports that SeamlessM4T v1 medium outperformed SeamlessM4T v2 large on all metrics except normalized erasure, with higher latency and notably worse ideal StreamLAAL for the large model (for example at window length 14, RTF 0.6101 vs. 0.2878; StreamLAAL 6.35 vs. 4.26). The main paper therefore uses the medium v1 version.

Methodology in Plain English

The authors built a client-server tool rather than training new models. A WebSocket server waits for clients; clients send JSON configuration messages (such as input and output languages) and audio chunks encoded as 16-bit integers; the server responds with JSON containing transcripts and translations produced by a configurable "speech processor." The server uses two YAML configuration files, one for server settings (IP/DNS address and port) and one for the speech processor, and maintains a fixed-size pool of processors so that excess incoming connections are rejected, controlling concurrency and preventing out-of-memory errors.

Two clients ship with the tool: an HTTP web server with a browser interface for demonstrations, and a command-line WAV client that streams a list of WAV files and produces metric logs. A separate command processes audio lists without a client-server setup.

Four speech processors are included: a sliding-window retranslation processor with deduplication based on the longest common subsequence between consecutive windows (implemented for Canary v2, Seamless, and any speech-to-text HuggingFace model); StreamAtt, which uses cross-attention-based audio-textual alignments to decide what to emit and what audio history to keep (implemented for Seamless and Canary); a SimulEval agent wrapper; and a VAD wrapper using Silero VAD that filters non-speech before passing audio to an underlying processor. Custom processors are created by subclassing simulstream.server.speech_processors.SpeechProcessor, placing it on the PYTHONPATH, and referencing it in the YAML configuration; chunks arrive as 1D NumPy arrays of PCM audio normalized to [-1.0, 1.0] at 16 kHz, and processors must return incremental outputs listing tokens to delete and tokens to emit.

Evaluation is performed on JSONL logs recording generated and deleted text at each step alongside computational costs and total audio processed. Quality is computed after re-segmenting the full generated text to match sentence-level references, using mweralign. Latency uses a reimplementation of StreamLAAL, with the key difference being the use of mweralign instead of mwerSegmenter. StreamLAAL assumes monotonic word-level alignment and uniformly distributes reference words over the utterance duration; emission time is either the ideal (audio processed) time or the computational-aware time that also counts model execution. For retranslation processors, latency is computed on the final output sequence using each word's last update time, a design that the authors acknowledge may overestimate latency compared to user experience while boosting measured quality. For character-level languages (Chinese, Japanese, Korean), the latency unit is a single character.

Experiments compared the released processors on Canary v2 and Seamless medium v1. Sliding-window and VAD setups slide the window by 2s (chosen after testing 1s, 2s, and 3s on the dev set). Sliding window used window lengths of 8, 10, 12, and 14 seconds with the VAD probability threshold fixed at 0.1; the VAD wrapper used a 14s window length with VAD thresholds from 0.3 to 0.6; StreamAtt used 1-second speech chunks with cutoff frames of 2, 4, 6, and 8. All inference ran on a single NVIDIA A40 40GB.

Test data were the 8 language pairs of MuST-C (en to de, es, fr, it, nl, pt, ro, ru), processing entire TED talks in the test set (each lasting about 10 minutes), plus MCIF (scientific presentations of about 5-6 minutes each, covering en to de, it, zh, with different recording qualities, accents, and domain-specific terminology). The authors explicitly avoided CoVoST2 and FLEURS because they contain sentence-level audios of a few seconds, which are not representative of long audio streams.

Why This Matters

Impact on research: The paper argues that fragmented evaluation—different frameworks making different assumptions about continuous vs. segmented input and about whether outputs can be revised—has made fair comparison between systems difficult. By supporting both decoding paradigms under one tool with consistent metrics, simulstream enables reproducible benchmarking, and its selection as the official IWSLT 2026 Simultaneous Translation evaluation toolkit suggests community-level impact. It also enables comparisons that were previously not directly possible, such as incremental versus retranslation on identical footing.

Real-world applications:

  • Live subtitling and captioning of conferences, lectures, and talks, where latency constraints and stability of displayed text directly affect usability.
  • Real-time translation for international meetings and multilingual events, where the choice between stable append-only output and self-correcting output matters to listeners.
  • Broadcast and media workflows requiring low-latency translated captions over long, continuous audio streams rather than isolated utterances.
  • Product teams needing to demonstrate and compare candidate streaming systems interactively before deployment, using the web interface.

Industry relevance: The toolkit's SimulEval agent wrapper lets organizations reuse systems already built for the legacy framework without modification, and the retranslation support matches a paradigm described as prevalent in industrial applications because it requires no modification or re-training of underlying offline speech translation models. Fine-grained logging also allows new metrics to be computed on past runs without re-execution, which reduces the cost of internal benchmarking.

Future Directions

  • Closing the quality gap for VAD-based processing: The VAD wrapper dramatically reduced flickering and RTF but caused a large quality drop and compressed the controllable latency-quality trade-off space. Whether better VAD integration can retain quality while keeping the efficiency gains is not resolved.
  • Tuning the quality-latency balance for the incremental vs. retranslation choice: Because no single strategy was universally superior and the best option differed between Canary and SeamlessM4T, a principled way to select a paradigm per model and application remains open.
  • Extending to further modalities and setups: The paper notes that incremental decoding remains essential for applications such as cascaded speech-to-speech translation systems, but the toolkit as described targets speech-to-text; extension to other streaming pipelines is a natural next step.
  • Broadening benchmark coverage: The reported experiments are limited to MuST-C (8 language pairs) and MCIF (3 language pairs); whether the observed trends hold for other languages, domains, and model families is not established here.

Target Audience

Researchers and engineers working on simultaneous and streaming speech translation, including those preparing submissions to evaluation campaigns; developers who need to benchmark existing SimulEval-based systems under both incremental and retranslation decoding; and practitioners who want a ready-made interactive demonstration environment for streaming speech translation. The paper will also interest evaluation-methodology researchers concerned with latency metrics, flickering measurement, and fair comparison across decoding paradigms.

Authors’ abstract

Streaming Speech-to-Text Translation (StreamST) requires producing translations concurrently with incoming speech under strict latency constraints, demanding models that balance low latency with high translation quality. Despite rapid progress, evaluation remains fragmented across existing frameworks, which make different assumptions about how systems operate - for example, whether they process continuous speech or short pre-segmented audio, and whether they support output revision (retranslation) or not (incremental). For instance, SimulEval, the most widely used framework, supports only incremental decoding, assumes short segmented inputs, and lacks a native support for system demonstrations. As a result, comparing systems fairly and consistently across studies remains challenging, with no unified solution for benchmarking and interactive demonstration. To address this gap, we introduce simulstream, the first open-source framework for StreamST evaluation and demonstration. It supports both incremental and re-translation decoding on long-form speech, provides fine-grained logging for quality and latency evaluation, and includes an interactive web interface for real-time visualization and comparison.

Read the original paper