Skip to main content
QUICK REVIEW

[Paper Review] Turning Whisper into Real-Time Transcription System

Dominik Macháček, Raj Dabre|arXiv (Cornell University)|Jul 27, 2023
Speech Recognition and SynthesisComputer Science7 citations
TL;DR

This paper presents Whisper-Streaming, a real-time speech transcription and translation system built on the Whisper ASR model using the LocalAgreement streaming policy with self-adaptive latency. It achieves 3.3 seconds average latency on English long-form speech with high quality, demonstrating robustness and practical usability in a live multilingual conference setting.

ABSTRACT

Whisper is one of the recent state-of-the-art multilingual speech recognition and translation models, however, it is not designed for real time transcription. In this paper, we build on top of Whisper and create Whisper-Streaming, an implementation of real-time speech transcription and translation of Whisper-like models. Whisper-Streaming uses local agreement policy with self-adaptive latency to enable streaming transcription. We show that Whisper-Streaming achieves high quality and 3.3 seconds latency on unsegmented long-form speech transcription test set, and we demonstrate its robustness and practical usability as a component in live transcription service at a multilingual conference.

Motivation & Objective

  • To enable real-time, low-latency speech transcription and translation using the offline Whisper ASR model.
  • To implement and evaluate a streaming inference pipeline that maintains high transcription quality under practical latency constraints.
  • To demonstrate the system's robustness and usability in a real-world multilingual conference environment.
  • To provide a publicly available, production-ready implementation for industrial and academic use.
  • To establish a strong baseline for future research in real-time, multilingual speech processing.

Proposed method

  • Extends the Whisper model with a streaming inference pipeline using the LocalAgreement algorithm to enable simultaneous transcription.
  • Applies a self-adaptive latency mechanism that dynamically adjusts based on confidence in the transcription output.
  • Uses the faster-whisper inference engine with CTranslate2 for efficient, low-latency inference on GPU.
  • Implements a server component integrated into the ELITR framework for distributed, multi-source, multi-target live transcription and translation.
  • Employs word-level timestamps and punctuation from the base Whisper model to support streaming alignment and confidence estimation.
  • Uses a buffer-based processing model where audio is processed in chunks, with confirmed output segments locked and unconfirmed segments refined over time.
Figure 1: Illustration of processing three consecutive updates. The yellow highlighted text is a “prompt”, the previous context to follow. The black-bordered rectangle is an audio buffer, and the text inside is Whisper’s transcript generated from that sound segment. The blue vertical line is a times
Figure 1: Illustration of processing three consecutive updates. The yellow highlighted text is a “prompt”, the previous context to follow. The black-bordered rectangle is an audio buffer, and the text inside is Whisper’s transcript generated from that sound segment. The blue vertical line is a times

Experimental results

Research questions

  • RQ1Can the Whisper ASR model be effectively adapted for real-time, low-latency transcription without sacrificing quality?
  • RQ2How does the LocalAgreement streaming policy perform when applied to large-scale, multilingual speech recognition tasks?
  • RQ3What is the achievable latency and word error rate (WER) of a streaming Whisper-based system on long-form, unsegmented speech?
  • RQ4How robust is the system in real-world, multilingual live transcription scenarios?
  • RQ5Can the system be reliably integrated into production-grade, distributed speech processing pipelines?

Key findings

  • Whisper-Streaming achieves an average latency of 3.3 seconds on the English ESIC test set using an NVIDIA A40 GPU, with computationally aware latency.
  • The system demonstrates high transcription quality, with a WER of 2.35% on the English track, comparable to offline Whisper performance.
  • For German and Czech, the system achieves WERs of 10.2% and 12.3% respectively at 0.5s latency, showing strong multilingual generalization.
  • The system was successfully deployed in a live multilingual conference, where it showed robustness and reliability with acceptable latency and high quality across English, Czech, and Ukrainian speech.
  • The integration with the ELITR framework enabled real-time, distributed processing of multiple language streams, supporting both ASR and speech translation.
  • The open-source release of Whisper-Streaming provides a production-ready baseline for real-time multilingual speech processing.
Figure 2: Impact of VAD filter on latency and quality. The striking difference in VAD activated or deactivated for English vs German is due to German being the speech of an interpreter.
Figure 2: Impact of VAD filter on latency and quality. The striking difference in VAD activated or deactivated for English vs German is due to German being the speech of an interpreter.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.