Short-Term Word-Learning in a Dynamically Changing Environment

Christian Huber, Rishu Kumar, Ondřej Bojar, Alexander WaibelarXiv 2022

TL;DR

This paper introduces a method for Automatic Speech Recognition (ASR) systems to learn new, rare, or technical words on the fly by utilizing a dynamic "word memory." By extracting keywords from supporting documents like research papers or presentation slides, the researchers achieved a massive jump in new-word recognition accuracy (F1 score rising from 0.30 to 0.80) while maintaining the low latency required for real-time applications.

What Problem Does This Paper Address?

Modern neural ASR systems are incredibly powerful, but they have a "vocabulary gap." While they can theoretically recognize any word using sub-word units (like characters or byte-pairs), in practice, they often fail on terms they didn't see frequently during training. This includes named entities, technical jargon, and numbers—exactly the kind of high-information words that are most important for understanding a talk or lecture.

Traditional solutions involve retraining the model, which is too slow for live environments. This paper tackles the challenge of short-term word learning: how can we give an ASR system a "cheat sheet" of relevant words for a specific talk and ensure it uses them correctly without hallucinating them elsewhere?

Methods

The authors build upon a specialized architecture that supplements a standard end-to-end ASR system with two key components:

  1. Memory-Attention Layer: This layer predicts if a relevant word from a provided list (the "memory") is likely to appear in the current audio segment.
  2. Memory-Entry-Attention Layer: This extracts the specific information from the memory to help the model output the correct word.

Key Innovations in this Paper: * Dynamic Acquisition: Instead of a static list, they propose extracting words from external sources like the PDF of a speaker's paper or OCR-processed presentation slides. * Casing and Punctuation Integration: They adapted the system's post-processing model to use the memory-attention internals. If the ASR recognizes a word from the memory, it automatically applies the correct casing (e.g., "NLP" instead of "nlp") provided in the list. * False Positive Mitigation: They experimented with "extending" the memory list. By adding common words that sound similar to the new technical terms, they help the model's attention mechanism distinguish between them, reducing "false alarms."

Datasets

The researchers evaluated their system on two primary datasets:

  • ELITR Testset: 8 talks totaling 3.7 hours, used to simulate an operator manually adding misrecognized words to the memory.
  • EMNLP 2020 Dataset: 10 talks (1.6 hours) from a major AI conference. This included the actual papers and slides used by the speakers, providing a realistic test for automatic keyword extraction.
  • TED-LIUM: Used specifically to test how the system handles very large memory sizes.

Key Insights and Ideas

  • The "Cheat Sheet" Works: Priming the model with words from a speaker's own slides or papers is highly effective. The model doesn't just need to know the words exist; it needs to know they are relevant right now.
  • mWER is a Blunt Instrument: The authors found that standard Word Error Rate (WER) didn't change much even when keyword recognition improved significantly. This highlights that "important" words are often a small fraction of total words, requiring metrics like F1 score to see the real progress.
  • The Goldilocks Zone of Memory: You can't just give the model a dictionary. As shown in Figure 5, if the memory grows too large (thousands of random words), the error rate spikes because the model starts "hearing" those rare words in place of common ones.
  • Timing Matters: The best results came from adding words to the memory before they occurred (simulating a slight delay in processing or a re-translation setup), which gives the system the best chance to catch them on the first pass.

Key Results

The system showed dramatic improvements in recognizing out-of-vocabulary terms:

  • F1 Score Jump: On the ELITR dataset, the F1 score for new words improved from a baseline of 0.30 to 0.80 when using an optimized memory list.
  • Document-Based Extraction: Using words extracted from EMNLP papers yielded an F1 score of 0.63, a massive improvement over the 0.09 achieved with an empty memory.
This figure shows the trade-off between Recall and Precision. Adding words before they occur (Oracle ext. be. occ.) significantly boosts performance.
The F1 score (bottom) clearly illustrates the jump in performance from the baseline (Empty) to the memory-enhanced approaches.
This plot demonstrates that "more is not always better." As the memory size increases with random words, the Word Error Rate (WER) increases due to false positives.

Limitations and Future Work

  • OCR Sensitivity: When extracting words from slides, the system is only as good as the Optical Character Recognition (OCR). Poor OCR quality leads to poor memory lists.
  • Memory Scaling: The current architecture struggles with very large memories. Future work could involve more sophisticated filtering to keep the memory "lean and mean."
  • Pronunciation Mismatches: If a speaker's pronunciation is very non-standard, the memory-attention layer might still miss the word. The authors suggest a "confused form" approach (mapping common mispronunciations to the correct memory entry), but this currently requires knowing where errors occur in advance.

Summary updated

BibTeX
@misc{huber2022short,
  author = {Christian Huber and Rishu Kumar and Ondřej Bojar and Alexander Waibel},
  title = {{Short-Term Word-Learning in a Dynamically Changing Environment}},
  year = {2022},
  eprint = {2203.15404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.15404},
}
Figure