Can Contextual Biasing Remain Effective with Whisper and GPT-2?

Guangzhi Sun, Xianrui Zheng, Chao Zhang, Philip C. Woodland
6/2/2023
cs.CLcs.SDeess.AS

No official code found. Best implementation: BriansIDP/WhisperBiasing (89 stars, MIT, last commit 2025-07-31).

Abstract

End-to-end automatic speech recognition (ASR) and large language models, such as Whisper and GPT-2, have recently been scaled to use vast amounts of training data. Despite the large amount of training data, infrequent content words that occur in a particular task may still exhibit poor ASR performance, with contextual biasing a possible remedy. This paper investigates the effectiveness of neural contextual biasing for Whisper combined with GPT-2. Specifically, this paper proposes integrating an adapted tree-constrained pointer generator (TCPGen) component for Whisper and a dedicated training scheme to dynamically adjust the final output without modifying any Whisper model parameters. Experiments across three datasets show a considerable reduction in errors on biasing words with a biasing list of 1000 words. Contextual biasing was more effective when applied to domain-specific data and can boost the performance of Whisper and GPT-2 without losing their generality.

View on arXivView PDF

Code Implementations(1)

MIT
8911Shell, PythonFeb 15, 20231 years agoMIT

Similar Papers

Cite this paper

@article{sun2023contextual,
  title  = {Can Contextual Biasing Remain Effective with Whisper and GPT-2?},
  author = {Guangzhi Sun and Xianrui Zheng and Chao Zhang and Philip C. Woodland},
  year   = {2023},
  eprint = {2306.01942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.01942v1}
}

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/2306.01942.svg)](https://codeofpaper.com/paper/2306.01942)

Discussion