Skip to main content
QUICK REVIEW

[Paper Review] An End-to-End Architecture for Keyword Spotting and Voice Activity Detection

Christopher T. Lengerich, Awni Hannun|arXiv (Cornell University)|Nov 28, 2016
Speech Recognition and SynthesisComputer Science11 references32 citations
TL;DR

This paper proposes a single end-to-end deep learning architecture based on Connectionist Temporal Classification (CTC) with bidirectional gated recurrent units (BLSTM) that jointly performs keyword spotting (KWS) and voice activity detection (VAD) without retraining. The model achieves 98.1% true positive rate at 5% false positive rate for KWS and 99.8% for VAD, outperforming strong baselines while requiring no aligned training data or separate model maintenance.

ABSTRACT

We propose a single neural network architecture for two tasks: on-line keyword spotting and voice activity detection. We develop novel inference algorithms for an end-to-end Recurrent Neural Network trained with the Connectionist Temporal Classification loss function which allow our model to achieve high accuracy on both keyword spotting and voice activity detection without retraining. In contrast to prior voice activity detection models, our architecture does not require aligned training data and uses the same parameters as the keyword spotting model. This allows us to deploy a high quality voice activity detector with no additional memory or maintenance requirements.

Motivation & Objective

  • To develop a single neural network architecture that performs both keyword spotting and voice activity detection without retraining.
  • To eliminate the need for frame-aligned labels or hand-engineered features in voice activity detection.
  • To enable low-latency, real-time inference for online keyword spotting using a modified CTC scoring algorithm.
  • To improve robustness in noisy environments through data augmentation with synthetic noise during training.
  • To reduce deployment and maintenance overhead by sharing model parameters across KWS and VAD tasks.

Proposed method

  • The model uses a 2D convolutional layer followed by three gated recurrent layers (BLSTM) and a final softmax layer to output character-level probabilities including blank and space tokens.
  • It is trained end-to-end using the Connectionist Temporal Classification (CTC) loss function on unaligned character-level transcripts, avoiding the need for forced alignment.
  • For keyword spotting, a modified CTC scoring algorithm computes the probability of a keyword with wildcards around its first and last characters to reduce window size sensitivity.
  • For voice activity detection, the probability of speech is derived as one minus the cumulative probability of the blank token over a window of frames.
  • A novel inference algorithm computes the CTC score for a keyword by dynamically tracking forward probabilities across time steps and label positions.
  • The model is trained on a combination of 526K transcribed utterances, 1,544 keyword examples, and 57K noise clips, with keyword data augmented by adding random noise clips 10 times.

Experimental results

Research questions

  • RQ1Can a single end-to-end neural network architecture perform both keyword spotting and voice activity detection with shared parameters?
  • RQ2Can CTC-based models achieve high accuracy in both KWS and VAD without requiring frame-aligned labels for VAD?
  • RQ3How does data augmentation with synthetic noise affect model robustness in noisy environments?
  • RQ4To what extent does model depth and width improve performance on both KWS and VAD tasks?
  • RQ5Can inference algorithms be designed to maintain low latency while ensuring high detection accuracy for online keyword spotting?

Key findings

  • The proposed model achieves a 98.1% true positive rate at 5% false positive rate for keyword spotting, outperforming the DNN-HMM baseline (96.2%).
  • For voice activity detection, the model reaches 99.8% true positive rate at 5% false positive rate, significantly outperforming the WebRTC VAD baseline (44.6%).
  • Adding synthetic noise during training improves KWS performance from 94.3% to 98.9% true positive rate at 5% false positive rate.
  • VAD performance saturates when model depth exceeds 2 layers or width exceeds 128 units, with most large models achieving >99.9% true positive rate at 5% FPR.
  • The model with 3 layers of 256 units and ~1.5M parameters has been successfully deployed on modern smartphones with low latency and no additional memory or maintenance overhead.
  • The same architecture and parameters are used for both KWS and VAD, eliminating the need for separate models or retraining.

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.