Custom vocabulary biasing: help ASR recognize names and rare words
Custom vocabulary biasing supplies context terms such as contacts, product names, and technical terms to improve recognition. Keep lists relevant and measure false insertions as well as target-word recall.
Custom vocabulary biasing gives a speech recognizer a list of names or rare words that are likely in the current context. It can help with contacts, organizations, products, or technical terms, but a listed term may also be inserted when it was not spoken. Measure false activations and ordinary-word errors as well as target-word recall.
What belongs on the list?
Add only terms relevant to the current task and repeatedly misrecognized by the baseline. A huge address book or dictionary can create confusion and extra computation. Be careful with homophones and similar-sounding candidates. For names whose pronunciation is unclear from spelling, check whether approved pronunciation hints or alternate pronunciations are supported. Follow the product's limits on list size, weights, and language.
Context should be useful for the current utterance. A meeting roster or contact list can hurt when it is unrelated to the conversation. Consider retrieving a small relevant subset instead of passing the full catalog. Keep sensitive lists under user control and understand how they are transmitted, retained, and deleted.
How it works and what it trades off
Shallow fusion adds context-list scores to recognition candidates during decoding and may work with an existing model. Deep neural biasing feeds context into the model and often needs model support or additional training. Implementation differs by product, so verify the actual input format and behavior.
A high bias weight can help recover a target name, but may turn a similar-sounding ordinary phrase into that name. Test with the bias list active on utterances where none of its terms are spoken.
Fox and Delworth (Interspeech 2022) studied contextual lists on the Earnings21 benchmark. Their alternate-spelling prediction method improved rare-word recall by 34.7% relative and out-of-vocabulary recall by 97.2% relative over contextual biasing alone. These are recall results on a particular English benchmark and model, not a guarantee of better precision or results in every language.
Huang et al. (Interspeech 2024) tested early context injection plus training with alternate spellings. On LibriSpeech, they reported relative biased-word error-rate (B-WER) reductions of 60% versus no biasing and 25% versus shallow fusion, without degrading unbiased WER. They also reported gains on SPGISpeech and ConEC, while noting sensitivity to context-list size. Results are limited to the evaluated models and data.
The ConEC study shows that real context from earnings-call materials, such as participant names and affiliations, is noisier and less complete than synthetic context built from ground truth. Real systems should test with realistically incomplete and imperfect lists.
Validate a configuration
Identify important names or terms in actual error cases and include only candidates relevant to the task.
Check the product's input format, language, maximum list size, weight range, and privacy handling.
Compare no list, a short precise list, and a larger list on identical audio with fixed transcript rules and decoding settings.
Track biased-word recall/error rate plus ordinary WER/CER, unbiased-word errors, and false insertions. Include control utterances that contain none of the listed terms.
Change weight or list size one at a time. If false insertions rise, narrow the list, lower the weight, or disable biasing.
Use a custom list when precise context improves results, but do not promise that it will recognize every proper noun. Users should be able to correct results and choose another input path.
References
[Fox & Delworth, Improving Contextual Recognition of Rare Words with an Alternate Spelling Prediction Model (Interspeech 2022)](https://www.isca-archive.org/interspeech_2022/fox22_interspeech.pdf)
[Huang et al., Improving Neural Biasing for Contextual Speech Recognition by Early Context Injection and Text Perturbation (Interspeech 2024)](https://par.nsf.gov/servlets/purl/10545340)
[Huang et al., ConEC: Earnings Call Dataset with Real-world Contexts (LREC-COLING 2024)](https://aclanthology.org/2024.lrec-main.328/)