Skip to main content
QUICK REVIEW

[Paper Review] Online Keyword Spotting with a Character-Level Recurrent Neural Network

Kyuyeon Hwang, Minjae Lee|arXiv (Cornell University)|Dec 30, 2015
Advanced Text Analysis TechniquesComputer Science19 references32 citations
TL;DR

This paper proposes an end-to-end, context-aware keyword spotting system using a character-level unidirectional RNN trained with online connectionist temporal classification (CTC) for real-time, low-latency detection in continuous speech. The model detects keywords without phonetic transcription or language models, achieves high accuracy—especially on monosyllabic keywords—while requiring only 6% of the computation of a DNN-HMM baseline and enabling dynamic keyword updates without retraining.

ABSTRACT

In this paper, we propose a context-aware keyword spotting model employing a character-level recurrent neural network (RNN) for spoken term detection in continuous speech. The RNN is end-to-end trained with connectionist temporal classification (CTC) to generate the probabilities of character and word-boundary labels. There is no need for the phonetic transcription, senone modeling, or system dictionary in training and testing. Also, keywords can easily be added and modified by editing the text based keyword list without retraining the RNN. Moreover, the unidirectional RNN processes an infinitely long input audio streams without pre-segmentation and keywords are detected with low-latency before the utterance is finished. Experimental results show that the proposed keyword spotter significantly outperforms the deep neural network (DNN) and hidden Markov model (HMM) based keyword-filler model even with less computations.

Motivation & Objective

  • Address the limitations of traditional HMM-based keyword spotters that lack context awareness and struggle with false positives on partial word matches.
  • Overcome the need for phonetic transcription, senone modeling, or fixed lexicons in keyword spotting systems.
  • Enable real-time, online keyword detection with low latency on continuous audio streams without pre-segmentation.
  • Provide a flexible, dynamic keyword update mechanism without retraining the front-end RNN.
  • Improve detection accuracy for short and ambiguous keywords (e.g., monosyllabic words) through context modeling via RNN language learning.

Proposed method

  • Employ a deep unidirectional LSTM network with peephole connections and forget gates for character-level acoustic modeling.
  • Train the RNN end-to-end using online CTC to map raw audio features to character and word-boundary labels.
  • Use a simple back-end decoder that computes keyword posterior probabilities from the RNN’s soft character-level outputs.
  • Apply online CTC training with synchronized forward and backward steps on long, concatenated audio streams to enable real-time inference.
  • Introduce a word-boundary label to filter out false positives where keywords appear as substrings of longer words.
  • Use sum-to-max approximation in the decoder to reduce computational cost without degrading performance.

Experimental results

Research questions

  • RQ1Can a character-level RNN with online CTC training achieve low-latency, context-aware keyword spotting in continuous speech without pre-segmentation?
  • RQ2Does the inclusion of word-boundary labels significantly reduce false positives for keywords embedded in longer words?
  • RQ3Can the RNN learn weak language models and word boundaries end-to-end, eliminating the need for external lexicons or language models?
  • RQ4How does the proposed system compare in accuracy and efficiency to conventional DNN-HMM hybrid models, especially for short or monosyllabic keywords?
  • RQ5To what extent can the system support dynamic keyword updates without retraining the front-end RNN?

Key findings

  • The proposed CTC-based keyword spotter achieves an F1 score of 0.980 on Set A (multisyllabic keywords), significantly outperforming the DNN-HMM baseline (F1 = 0.936).
  • For Set B (monosyllabic keywords), the model achieves an F1 score of 0.847, compared to only 0.517 for the DNN-HMM baseline, demonstrating strong context-awareness.
  • The small CTC model (3x128 network size) achieves 0.964 F1 on Set A and 0.806 on Set B with only 6% of the computation of the DNN-HMM baseline.
  • The sum-to-max approximation in the decoder does not degrade detection accuracy, enabling efficient inference.
  • Keyword detection latency is less than 200 ms after utterance completion, comparable to human reaction time.
  • The system supports dynamic keyword addition and modification via the back-end decoder without retraining the RNN, enabling flexible deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.