TL;DR
This paper introduces a personalized keyphrase detection system that can be easily customized for any phrase, moving beyond fixed wake words. By combining an end-to-end ASR model with speaker verification and adaptive noise cancellation, the system significantly reduces false triggers and rejections, even in noisy, multi-talker environments.
What Problem Does This Paper Address?
Traditional voice assistants rely on a limited set of predefined "wake words" (like "Hey Google" or "Alexa") to activate. This approach is inflexible, requiring system retraining to support new phrases. Users, however, often desire more natural interactions, using arbitrary commands like "Turn on the lights." The challenge lies in building a system that can:
- Detect a vast number of user-defined keyphrases.
- Handle keyphrases of variable length and duration.
- Allow easy customization without extensive retraining.
A major hurdle in achieving this is accurately distinguishing spoken keyphrases from background noise, especially when the noise includes speech that might sound similar to the target keyphrase (e.g., someone on TV saying "turn off the lights"). This is the "cocktail party problem" in the context of keyphrase detection.
Methods
The proposed system integrates several components to address these challenges:
- End-to-End ASR with Pruning: The core speech recognition is handled by a Recurrent Neural Network Transducer (RNN-T) model. To enable on-device deployment with reduced CPU usage and prolonged battery life, the model is significantly pruned (60% sparsity) and quantized. The model is trained on a massive dataset and uses a "domain-ID" to implicitly bias it towards common voice commands.
- Text-Independent Speaker Verification: To reduce false triggers, a speaker verification (SV) model is employed. This model is "text-independent," meaning it can verify a speaker regardless of what they are saying, which is crucial for supporting arbitrary keyphrases. It uses a d-vector (an embedding representing voice characteristics) for identification.
- Speaker Separation (VoiceFilter-Lite): To combat the "cocktail party problem" and improve the accuracy of speaker verification in multi-talker scenarios, a speaker separation model called VoiceFilter-Lite is used. This model enhances the input features for the SV system by suppressing speech from non-enrolled speakers. It operates on filterbank energies, supports streaming, and adaptively adjusts suppression strength.
- Adaptive Noise Cancellation (Speech Cleaner): For devices with multiple microphones (like smart speakers), an adaptive noise cancellation (ANC) algorithm, dubbed "Speech Cleaner," is implemented. This algorithm learns a filter to suppress background noise by analyzing the correlation between microphone signals during silent periods. Unlike previous methods, it estimates filter coefficients from a preceding non-speech audio segment and then freezes them for the duration of the speech.
Datasets
- Training:
- ASR model: 400K hours of multi-domain data (YouTube, voice search, farfield, telephony speech).
- Speaker Verification model: Vendor-provided multi-language speech query dataset (37 locales), plus public datasets (LibriVox, CN-Celeb, TIMIT, VCTK). Multi-style training (MTR) was used for noise robustness.
- Evaluation:
- Multi-talker Speaker Verification: Vendor-provided English speech query dataset (enrollment: 8,069 utterances, 1,434 speakers; test: 194,890 utterances, 1,241 speakers) with interference speech from a separate dev-set (220,092 utterances, 958 speakers). Non-speech noises were sourced from various environments.
- Keyphrase Detection (False Acceptance - FA/h): 156 hours of curated, hand-annotated YouTube videos designed to mimic background noise without true keyphrases.
- Keyphrase Detection (False Rejection - FRR): * Synthesized dataset: 98 Text-to-Speech (TTS) speakers, each with 1000 keyphrases.
- Vendor-provided dataset: 61,555 utterances from 250 speakers.
- All evaluation datasets were augmented with speech or non-speech background noise at various SNRs and reverberation levels using MTR. For ANC evaluation, utterances were prepended with 3 seconds of silence.
Key Insights and Ideas
- Speaker Identity is Key to Reducing False Triggers: The paper strongly demonstrates that incorporating speaker verification is the primary driver for reducing false acceptances (FA/h). This is because it effectively filters out any spoken keyphrase if it's not from the enrolled user.
- Speaker Separation Mitigates SV Errors: While speaker verification reduces false triggers, it can introduce false rejections (FRR) in noisy, multi-talker scenarios. The VoiceFilter-Lite model significantly improves SV accuracy in these conditions, thereby reducing FRR. This highlights that SV errors, not ASR errors, are the main cause of false rejections in speech-heavy noise.
- ASR Bias vs. SV Robustness Trade-off: The ASR model's implicit bias towards common voice commands helps reduce false rejections by making it more likely to hypothesize these phrases. However, this bias can also lead to false triggers if those phrases are spoken by others. Speaker verification acts as a crucial gatekeeper to mitigate this.
- ANC for General Noise Robustness: Adaptive noise cancellation (Speech Cleaner) provides an additional layer of robustness, particularly effective against non-speech noise and further improving performance in speech noise conditions, complementing the benefits of speaker separation.
Key Results
- False Acceptance Reduction: Including speaker verification alone reduced FA/h by 91% compared to a system without SV. Adding VoiceFilter-Lite further improved this.
- False Rejection Improvement (with VFL): VoiceFilter-Lite reduced the FRR by 29.4% in multi-talker scenarios (SNR=0dB) compared to a system with only SV. It also achieved a 67.4% relative reduction in speaker verification EER under speech noise conditions.
- False Rejection Improvement (with ANC): Adaptive noise cancellation (Speech Cleaner) reduced FRR by 68.3% in non-speech noise and 25.2% in speech noise (SNR=0dB) compared to a system with only SV.
- Overall: The combined system demonstrated robustness to both background noise and overlapping speech, achieving low FA/h and FRR.
Limitations and Future Work
- Limitations:
- The paper notes that the increase in false rejections was primarily due to incorrect speaker verification (64% of errors) in certain scenarios, even with VFL.
- While the ASR model is biased towards common commands, this can still lead to false triggers if those commands are spoken by non-enrolled users.
- Future Work: Not explicitly detailed, but the success of combining these components suggests further exploration into optimizing the interplay between ASR, SV, speaker separation, and ANC for even greater accuracy and efficiency. The adaptive nature of Speech Cleaner and the streaming capabilities of VoiceFilter-Lite point towards continued on-device optimization.
Summary updated