Contextual Biasing with the Knuth-Morris-Pratt Matching Algorithm
Not on the map. Why?
Abstract (arXiv)
Contextual biasing refers to the problem of biasing the automatic speech recognition (ASR) systems towards rare entities that are relevant to the specific user or application scenarios. We propose algorithms for contextual biasing based on the Knuth-Morris-Pratt algorithm for pattern matching. During beam search, we boost the score of a token extension if it extends matching into a set of biasing phrases. Our method simulates the classical approaches often implemented in the weighted finite state transducer (WFST) framework, but avoids the FST language altogether, with careful considerations on memory footprint and efficiency on tensor processing units (TPUs) by vectorization. Without introducing additional model parameters, our method achieves significant word error rate (WER) reductions on biasing test sets by itself, and yields further performance gain when combined with a model-based biasing method.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 21 of its 47 references that are in the map. First posted on arXiv 29 Sep 2023.
Builds on
21 of 47 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2015Listen, Attend and Spellcited by 542
- 2020Hopfield Networks is All You Needcited by 461
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2015On Using Monolingual Corpora in Neural Machine Translationcited by 149
- 2018Deep context: end-to-end contextual speech recognitioncited by 136
- 2016Towards better decoding and language model integration in sequence to sequence modelscited by 100
- 2021Contextualized Streaming End-to-End Speech Recognition with Trie-Based Deep Biasing and Shallow Fusioncited by 100
- 2021Context-Aware Transformer Transducer for Speech Recognitioncited by 56
9 more
- 2019Metalearned Neural Memorycited by 44
- 2020Class LM and word mapping for contextual biasing in End-to-End ASRcited by 42
- 2022Improving End-to-End Contextual Speech Recognition with Fine-Grained Contextual Knowledge Selectioncited by 39
- 2021Tied & Reduced RNN-T Decodercited by 35
- 2018Contextual Speech Recognition with Difficult Negative Training Examplescited by 28
- 2021Fast Contextual Adaptation with Neural Associative Memory for On-Device Personalized Speech Recognitioncited by 25
- 2022Pseudo Label Is Better Than Human Labelcited by 25
- 2023Robust Acoustic and Semantic Contextual Biasing in Neural Transducers for Speech Recognitioncited by 18
- 2023Adaptive Contextual Biasing for Transducer Based Streaming Speech Recognitioncited by 12
Built on by
Citing papers per year: 2024: 4; 2025: 4; 2026: 1.
9 papers.
- 2024Improving Neural Biasing for Contextual Speech Recognition by Early Context Injection and Text Perturbationcited by 11
- 2025TurboBias: Universal ASR Context-Biasing powered by GPU-accelerated Phrase-Boosting Treecited by 4
- 2024Text Injection for Neural Contextual Biasingcited by 3
- 2025Evaluating ASR robustness to spontaneous speech errors: A study of WhisperX using a Speech Error Databasecited by 2
- 2024Self-consistent context aware conformer transducer for speech recognitioncited by 1
- 2024Unifying Global and Near-Context Biasing in a Single Trie Passcited by 1
- 2025PHRASED: Phrase Dictionary Biasing for Speech Translationcited by 1
- 2025A Neural Model for Contextual Biasing Score Learning and Filteringcited by 1
- 2026LOGIC: Efficient and Robust Contextual Biasing for Speech LLMs via Logit-Space Integrationcited by 0
- 2026LOGIC: Efficient and Robust Contextual Biasing for Speech LLMs via Logit-Space Integration21 Jan 2026
- 2025A Neural Model for Contextual Biasing Score Learning and Filtering27 Oct 2025
- 2025Evaluating ASR robustness to spontaneous speech errors: A study of WhisperX using a Speech Error Database18 Aug 2025
- 2025TurboBias: Universal ASR Context-Biasing powered by GPU-accelerated Phrase-Boosting Tree9 Aug 2025
- 2025PHRASED: Phrase Dictionary Biasing for Speech Translation10 Jun 2025
- 2024Unifying Global and Near-Context Biasing in a Single Trie Pass20 Sep 2024
- 2024Improving Neural Biasing for Contextual Speech Recognition by Early Context Injection and Text Perturbation14 Jul 2024
- 2024Text Injection for Neural Contextual Biasing5 Jun 2024
- 2024Self-consistent context aware conformer transducer for speech recognition9 Feb 2024