Abstract
Voice assistants require efficient, on-device wakeword detection to balance user privacy, battery life, and responsiveness. This paper introduces Tiny-CRNN, a compact architecture combining convolutional layers, recurrent units, and a lightweight attention mechanism. Designed for ultra-low-power devices, Tiny-CRNN achieves significant reductions in False Accepts (FA) within a strict 50k-250k parameter budget, outperforming traditional CNN and DNN baselines.
Introduction: The Challenge of On-Device Detection
Modern voice assistants utilize a tiered detection strategy. An initial "on-device" model continuously monitors audio for a specific wakeword. Upon detection, a more robust cloud-based model verifies the request. The primary challenge for the on-device stage is operating within extreme resource constraints while minimizing False Accepts—accidental triggers caused by background noise or phonetically similar words. High False Accept rates lead to unnecessary power consumption and degraded user trust.
Proposed Architecture: Tiny-CRNN
The researchers propose a Convolutional Recurrent Neural Network (CRNN) enhanced with attention to capture both local acoustic features and long-term temporal dependencies.
Model Components
The Tiny-CRNN architecture consists of three primary stages:
- Convolutional Front-End: Extracts local features (Log Mel Filter Bank Energies) from the audio stream.
- Recurrent Layer (GRU): A Gated Recurrent Unit (GRU) models the transitions between audio segments over time, providing temporal context.
- Scaled Dot-Product Attention: A lightweight attention layer weights specific time steps, focusing the model on the most discriminative parts of the audio signal.
Streaming Inference Strategy
To handle continuous audio, the authors implement Parallel Decoders—multiple recurrent layer instances running in a semi-parallel fashion. This ensures accurate detection without frequent memory resets, maintaining a production-ready latency of approximately 50ms.
Experimental Setup
The model was evaluated using an internal research benchmark comprising 5,388 hours of de-identified audio, including 0.9 million positive examples and 1.1 million negative examples. Data spanned diverse acoustic environments, including both near-field and far-field scenarios.
Key Insights and Results
- Attention Efficiency: The attention mechanism yielded a 5.2% reduction in False Accepts for a negligible parameter increase (<1%).
- Optimal Receptive Field: The CNN front-end performs best when limited to a ~300ms window, leaving sufficient temporal structure for the GRU to learn.
- Performance Gains: Tiny-CRNN demonstrated superior performance across different parameter budgets. At the 250k parameter level, it reduced False Accepts by 25% compared to a CNN baseline. At the 50k level, it achieved a 32% reduction compared to a word-level Dense Neural Network (DNN) baseline.
Conclusion
Tiny-CRNN provides a robust solution for high-accuracy wakeword detection on resource-constrained hardware. Future research will focus on detailed hardware profiling on specific low-power silicon and exploring more complex attention mechanisms to further optimize performance within tiny parameter budgets.
Summary updated