Skip to main content
QUICK REVIEW

[Paper Review] A Cascade Architecture for Keyword Spotting on Mobile Devices

Alexander Gruenstein, Raziel Álvarez|arXiv (Cornell University)|Dec 10, 2017
Speech Recognition and SynthesisComputer Science7 references33 citations
TL;DR

This paper presents a low-power, two-stage cascade architecture for keyword spotting on mobile devices, using a lightweight DSP-based first stage for continuous listening and a more accurate application processor-based second stage with speaker verification. The system achieves <0.01 false alarms per hour while maintaining a false reject rate of just 3.5%, enabling always-on keyword detection with minimal battery drain.

ABSTRACT

We present a cascade architecture for keyword spotting with speaker verification on mobile devices. By pairing a small computational footprint with specialized digital signal processing (DSP) chips, we are able to achieve low power consumption while continuously listening for a keyword.

Motivation & Objective

  • To enable continuous, low-power keyword spotting on battery-powered mobile devices with minimal battery consumption.
  • To reduce false alarm rates in real-world environments such as TV and radio noise without increasing false reject rates.
  • To integrate speaker verification on-device to prevent unauthorized triggers while maintaining low latency.
  • To optimize neural network models for deployment on power-constrained DSPs with limited memory and fixed-point computation.
  • To achieve high accuracy in keyword detection while minimizing computational footprint through a two-stage cascade design.

Proposed method

  • The system uses a cascade of two keyword detectors: a small, power-efficient DSP-based first stage and a larger, more accurate AP-based second stage.
  • The first stage performs real-time signal processing, including log-mel filterbank feature extraction, and uses a quantized 8-bit neural network for initial detection.
  • Upon detection, the first stage forwards a 2-second audio buffer to the second stage for final decision-making using a more complex acoustic encoder and decoder.
  • The decoder computes a normalized product score over smoothed posteriors to detect keyword sequences in order, using a sliding window of L frames.
  • Speaker verification is applied in the second stage using an LSTM-based speaker embedding model that compares live utterances to enrolled templates via cosine distance.
  • Neural network parameters are quantized to 8-bit integers to reduce memory and computational load, with platform-specific bit-identical emulation for cross-platform consistency.

Experimental results

Research questions

  • RQ1Can a two-stage cascade architecture achieve low false alarm rates while maintaining low false reject rates in real-world audio environments?
  • RQ2How can a lightweight DSP-based first stage be designed to trigger only a few times per hour in noisy environments?
  • RQ3To what extent does on-device speaker verification reduce false alarms without significantly increasing false reject rates?
  • RQ4What quantization and optimization techniques are required to deploy accurate neural networks on memory-constrained DSPs with fixed-point arithmetic?
  • RQ5How does the integration of server-side validation further improve system reliability and speech recognition accuracy?

Key findings

  • The cascade system achieves a false alarm rate of just 0.006 per hour on 924 hours of TV background noise, representing a 5-10x reduction compared to the first stage alone.
  • With a first-stage false alarm rate of 10.0 per hour, the overall system maintains a false reject rate of only 3.5%, close to the second-stage model’s performance.
  • The system reduces false alarms from other speakers, TV, and radio by a factor of 5 to 10 through speaker verification, with less than 1% absolute increase in false reject rate.
  • The first-stage model is optimized to 13kB, fitting within 128kB DSP memory constraints, with 25kB for code and 64kB for audio buffer.
  • Quantization to 8-bit integers enables efficient fixed-point inference on DSPs while preserving model accuracy through platform-specific emulation.
  • Server-side validation further reduces false alarms and improves start-of-speech detection, contributing to lower overall word error rates in downstream recognition.

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.