COLING 2024main3 citations

CB-Whisper: Contextual Biasing Whisper Using Open-Vocabulary Keyword-Spotting

Yuang Li, Yinglu Li, Min Zhang, Chang Su, Jiawei Yu, Mengyao Piao, Xiaosong Qiao, Miaomiao Ma

Abstract

End-to-end automatic speech recognition (ASR) systems often struggle to recognize rare name entities, such as personal names, organizations and terminologies that are not frequently encountered in the training data. This paper presents Contextual Biasing Whisper (CB-Whisper), a novel ASR system based on OpenAI’s Whisper model that can recognize user-defined name entities by performing open-vocabulary keyword-spotting (KWS) before the decoder. The KWS module leverages text-to-speech (TTS) techniques and a convolutional neural network (CNN) classifier to match the features between the entities and the utterances. To integrate the recognized entities into the Whipser decoder and avoid hallucinations, we carefully crafted multiple prompts with spoken form hints. Experiments show that the KWS module based on Whisper encoder’s features can recognize unseen user-defined keywords effectively. More importantly, the proposed CB-Whisper substantially improves the mixed-error-rate (MER) and entity recall compared to the original Whisper model on three internal datasets and two publicly available datasets including Aishell and ACL datasets that cover English-only, Chinese-only, and code-switching scenarios.

BibTeX
@inproceedings{li-etal-2024-cb,
    title = "{CB}-Whisper: Contextual Biasing Whisper Using Open-Vocabulary Keyword-Spotting",
    author = "Li, Yuang  and
      Li, Yinglu  and
      Zhang, Min  and
      Su, Chang  and
      Yu, Jiawei  and
      Piao, Mengyao  and
      Qiao, Xiaosong  and
      Ma, Miaomiao  and
      Zhao, Yanqing  and
      Yang, Hao",
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.262/",
    pages = "2941--2946"
}
CB-Whisper: Contextual Biasing Whisper Using Open-Vocabulary Keyword-Spotting · COLING 2024