Simul-Whisper: Attention-Guided Streaming Whisper with Truncation Detection

Haoyu Wang, Guoqiang Hu, Guodong Lin, Wei-Qiang Zhang, Jian Li
6/14/2024
cs.SDcs.CLeess.AS

No official code found. Best implementation: backspacetg/simul_whisper (115 stars, Apache-2.0, last commit 2025-03-30).

Abstract

As a robust and large-scale multilingual speech recognition model, Whisper has demonstrated impressive results in many low-resource and out-of-distribution scenarios. However, its encoder-decoder structure hinders its application to streaming speech recognition. In this paper, we introduce Simul-Whisper, which uses the time alignment embedded in Whisper's cross-attention to guide auto-regressive decoding and achieve chunk-based streaming ASR without any fine-tuning of the pre-trained model. Furthermore, we observe the negative effect of the truncated words at the chunk boundaries on the decoding results and propose an integrate-and-fire-based truncation detection model to address this issue. Experiments on multiple languages and Whisper architectures show that Simul-Whisper achieves an average absolute word error rate degradation of only 1.46% at a chunk size of 1 second, which significantly outperforms the current state-of-the-art baseline.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for our INTERSPEECH paper Simul-Whisper: Attention-Guided Streaming Whisper with Truncation Detection

11510PythonJun 7, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2024simulwhisper,
  title  = {Simul-Whisper: Attention-Guided Streaming Whisper with Truncation Detection},
  author = {Haoyu Wang and Guoqiang Hu and Guodong Lin and Wei-Qiang Zhang and Jian Li},
  year   = {2024},
  eprint = {2406.10052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10052v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.10052.svg)](https://codeofpaper.com/paper/2406.10052)

Discussion