Abstract
Keyword Spotting (KWS) systems often suffer from performance degradation when deployed for users with unique vocal characteristics, such as accents or speech disorders. While on-device personalization can mitigate this, traditional fine-tuning is computationally prohibitive for resource-constrained TinyML devices. This paper proposes a lightweight personalization method that freezes a pre-trained backbone and updates only a small user embedding layer. Experimental results on the Google Speech Commands dataset demonstrate up to a 19% relative error reduction with minimal memory and energy overhead, making it suitable for battery-powered microcontrollers.
Introduction
Most commercial KWS systems utilize a "train-once-deploy-everywhere" paradigm. While efficient for general use, these models frequently struggle with out-of-distribution speech patterns. The ideal solution is on-device adaptation; however, standard backpropagation requires significant memory and compute power, exceeding the capabilities of typical IoT sensors and smartwatches. Furthermore, users typically provide only a few labeled samples, necessitating a "few-shot" learning approach that is both efficient and effective.
Proposed Architecture
The authors introduce a novel architecture designed to decouple general feature extraction from user-specific adaptation. The system consists of two primary components:
- Frozen Backbone: A Depthwise Separable CNN (DS-CNN) extracts general audio features from MFCC inputs. This component remains static on the device, significantly reducing memory requirements during the adaptation phase.
- Learnable User Embeddings: A small embedding layer maps speaker identity to a feature vector representing unique vocal characteristics.
The "secret sauce" of this approach is Late Feature Fusion. The user embedding vector is fused with the backbone's activations just before the final classification. Among various methods tested—including addition and concatenation—multiplicative fusion provided the most significant accuracy gains by effectively scaling the backbone features according to user-specific traits.
Experimental Results
The approach was evaluated using the Google Speech Commands (GSC) dataset (v2) across 10-class (GSC10) and 35-class (GSC35) tasks. To simulate real-world conditions, the researchers used a "leave-one-speaker-out" protocol to treat specific users as unseen during initial training.
Efficiency and Performance
The proposed method achieves a remarkable balance between accuracy and resource consumption. On the GSC35 task, updating only the user projections reduced the error rate from 30.1% to 24.3%, representing a 19% relative improvement.
As shown in the table above, the embedding update strategy requires orders of magnitude fewer FLOPs and significantly less memory than full training. For instance, on a DS-CNN "Small" model, the embedding update requires only 3.6 kB of memory and 1.04 MFLOPs, compared to 1530 kB and 354 MFLOPs for full training. On a specialized "Vega" SoC, the energy cost was measured at just 13.22 µJ per epoch.
Few-Shot Learning
The system demonstrated strong few-shot capabilities, reaching peak accuracy with as few as four labeled samples per class. This is critical for user experience, as it minimizes the effort required for personalization.
Conclusion and Future Work
By focusing on "vocal fingerprints" through learnable embeddings, this research enables high-performance KWS personalization on ultra-low-power hardware. Future work will address automatic speaker identification in multi-user environments and explore self-supervised learning to eliminate the need for explicit user labeling. Additionally, the embedding-based approach may be extended to adapt models to specific environmental noise profiles.
Summary updated