Knowledge Transfer for Efficient on-Device False Trigger Mitigation

Pranay Dighe, Erik Marchi, Srikanth Vishnubhotla, Sachin Kajarekar, Devang Naik

This paper, authored by researchers at Apple, presents a clever way to make smart assistants more private and less annoying by catching "false triggers" (when the device wakes up accidentally) faster and more efficiently.

TL;DR

Apple researchers developed a lightweight, on-device LSTM model that identifies false triggers using only raw acoustic features, bypassing the need for power-hungry speech recognition. By "distilling" knowledge from a complex, high-accuracy teacher model into a simple student model, they achieved an 87% false trigger mitigation rate with a footprint 120x smaller than the original system.

What Problem Does This Paper Address?

Smart assistants like Siri or Alexa rely on "trigger phrases" to wake up. However, these systems often suffer from false triggers—instances where background noise, TV dialogue, or side conversations sound just enough like the wake word to activate the device.

Traditionally, the "gold standard" for fixing this is to run the audio through a full Automatic Speech Recognition (ASR) engine and analyze the resulting text (the "lattice") to see if the user’s intent was actually directed at the device. This approach has three major flaws:

  1. Privacy: It requires transcribing audio that the user never intended for the device to hear.
  2. Latency: The system usually has to wait for the entire sentence to finish before it can decide to shut down.
  3. Resources: Running full ASR on-device is computationally expensive, especially for low-power hardware like watches.

The authors sought a way to make this decision on-device, in real-time, and using only acoustic signals (the "sound" of the audio) rather than the transcribed words.

Methods

The core innovation is a Knowledge Transfer (Distillation) framework.

  1. The Teacher (LatticeGNN): The researchers start with a powerful, pre-existing model called a LatticeGNN. This model is very accurate because it looks at the complex word-choice graphs (lattices) produced by an ASR engine. It "understands" the context of the words.
  2. The Student (LSTM): They design a much smaller 4-layer Long Short-Term Memory (LSTM) network. This student model only looks at 40-dimensional acoustic features (log filterbank energies)—essentially the "texture" of the sound—every 10 milliseconds.
  3. The Transfer: During training, the student isn't just trying to guess "True" or "False." It is forced to perform two tasks simultaneously:
  4. Classification: Predict if the trigger is real.
  5. Regression: Try to mimic the internal "embedding" (the mathematical representation of intent) that the heavy Teacher model produces.

This forces the tiny LSTM to learn high-level "semantic" cues from low-level audio signals. At inference time (on your device), the Teacher and the ASR engine are discarded, leaving only the lightweight Student.

Datasets

The study used a large-scale internal dataset of user utterances:

  • Training Set: ~133k true triggers and ~29k false triggers.
  • Augmentation: To help the student learn the teacher's complex embeddings, they added an additional 1 million true trigger utterances to the training pool.
  • Evaluation Set: ~13k true triggers and ~7.4k false triggers.

Key Insights and Ideas

  • Acoustics Carry Intent: The paper operates on the hypothesis that acoustic features (background noise, the "tone" of directed speech, environment) provide complementary information to the actual words spoken.
  • "Imagining" the Lattice: The most striking idea is that a simple LSTM can be trained to "hallucinate" the useful parts of a complex ASR lattice just by listening to the audio, provided it was coached by a model that actually saw the lattice during training.
  • Streaming Decisions: Unlike previous models that wait for the end of a sentence, this model makes a decision at every frame. This allows for an "early exit"—if the model is 99% sure it's a false trigger 1.5 seconds in, it can kill the process immediately.

Key Results

  • Massive Compression: The student LSTM has only ~0.5 million parameters, making it 120x smaller than the teacher system.
  • High Accuracy: The model mitigates 87% of false triggers while maintaining a 99% True Positive Rate (meaning it rarely kills a legitimate request).
  • Speed (Latency): In a streaming scenario, the system only needs to listen to 1.69 seconds of a false trigger before rejecting it. This is significantly faster than waiting for a full 5-6 second sentence to finish.
  • Superiority of Distillation: The "Student" model significantly outperformed a "Baseline" LSTM that was trained on the same data but without the knowledge transfer from the LatticeGNN.

Limitations and Future Work

  • Late Decision Penalty: The authors note that the current training doesn't explicitly penalize the model for taking too long to decide. Future versions could include a "latency loss" to encourage even faster rejections.
  • Task Expansion: While this paper focuses on false triggers, the authors suggest this knowledge transfer approach could be used for other on-device tasks, such as general intent classification (e.g., "Is the user asking for music or weather?") without needing ASR.
  • Proprietary Data: As is common with industry papers, the results are based on a private dataset, making it difficult for outside researchers to replicate the exact numbers on public benchmarks like LibriSpeech.

Summary updated

BibTeX
@inproceedings{dighe2021knowledge,
  author = {Pranay Dighe and Erik Marchi and Srikanth Vishnubhotla and Sachin Kajarekar and Devang Naik},
  title = {{Knowledge Transfer for Efficient on-Device False Trigger Mitigation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp39728.2021.9414771},
}
Figure