Skip to main content
QUICK REVIEW

[Paper Review] AutoKWS: Keyword Spotting with Differentiable Architecture Search

Bo Zhang, Wenfeng Li|arXiv (Cornell University)|Sep 8, 2020
Speech and Audio ProcessingComputer Science29 references6 citations
TL;DR

This paper proposes AutoKWS, a differentiable neural architecture search framework to discover efficient, high-accuracy keyword spotting models for resource-constrained devices. By applying NoisyDARTS to a custom TC-ResNet-based search space, the method achieves 97.2% top-1 accuracy on the Google Speech Commands V1 dataset with only ~100K parameters, outperforming prior arts in both accuracy and model efficiency.

ABSTRACT

Smart audio devices are gated by an always-on lightweight keyword spotting program to reduce power consumption. It is however challenging to design models that have both high accuracy and low latency for accurate and fast responsiveness. Many efforts have been made to develop end-to-end neural networks, in which depthwise separable convolutions, temporal convolutions, and LSTMs are adopted as building units. Nonetheless, these networks designed with human expertise may not achieve an optimal trade-off in an expansive search space. In this paper, we propose to leverage recent advances in differentiable neural architecture search to discover more efficient networks. Our searched model attains 97.2% top-1 accuracy on Google Speech Command Dataset v1 with only nearly 100K parameters.

Motivation & Objective

  • To address the challenge of designing lightweight, high-accuracy keyword spotting models for smart audio devices with strict latency and parameter constraints.
  • To overcome the limitations of manually designed neural architectures in balancing accuracy, model size, and computational cost.
  • To apply differentiable neural architecture search (DARTS and its variants) to the keyword spotting task in a way that is efficient and suitable for deployment on IoT devices.
  • To evaluate whether robustified DARTS variants like NoisyDARTS can yield better-performing, more stable architectures than standard DARTS in the KWS domain.

Proposed method

  • Design a search space based on TC-ResNet-SE blocks, where each layer consists of multiple candidate operations (e.g., different kernel sizes, depthwise separable convolutions) and skip connections, each weighted by a learnable architectural parameter α.
  • Use differentiable architecture search with gradient-based optimization to jointly train network weights and architectural coefficients, enabling end-to-end search in a single training loop.
  • Apply two robustified DARTS variants—FairDARTS and NoisyDARTS—to mitigate known instability issues, such as overuse of skip connections and unfair gradient competition.
  • Introduce noise injection into skip connection feature maps in NoisyDARTS to reduce their gradient dominance and improve search stability.
  • Train and evaluate the searched models on the Google Speech Commands Dataset V1 and V2, comparing performance across accuracy, parameters, and multiply-add operations.
  • Use a one-shot, weight-sharing mechanism to drastically reduce search cost, enabling efficient exploration of a large architecture space.

Experimental results

Research questions

  • RQ1Can differentiable neural architecture search effectively discover lightweight, high-accuracy keyword spotting models for edge devices?
  • RQ2How do robustified DARTS variants like FairDARTS and NoisyDARTS improve search stability and performance compared to standard DARTS in the KWS task?
  • RQ3Does the proposed search space design, based on TC-ResNet-SE blocks, enable the discovery of architectures that outperform manually designed baselines in accuracy and efficiency?
  • RQ4To what extent does noise injection in skip connections (NoisyDARTS) reduce the bias toward residual connections and improve the quality of searched architectures?
  • RQ5Can the searched models generalize well across different versions of the Speech Commands dataset, particularly with increased data in V2?

Key findings

  • The NoisyDARTS-TC14 model achieved 97.18% average accuracy and 97.44% best accuracy on the Google Speech Commands V2 dataset, outperforming prior arts in accuracy and efficiency.
  • The NoisyDARTS-TC14 model achieved 97.2% top-1 accuracy on the V1 dataset with only 109K parameters, significantly fewer than the 886K parameters of NAS2, a contemporary method.
  • The NoisyDARTS variant reduced the average number of parameters by nearly 8× compared to NAS2, demonstrating superior efficiency in architecture search.
  • The ROC curve analysis showed that the NoisyDARTS-TC14 model achieved better false negative vs. false positive trade-off than both MHAtt-RNN and a boosted TC-ResNet-365K model.
  • FairDARTS and NoisyDARTS both mitigated the overuse of skip connections seen in standard DARTS, leading to more diverse and higher-performing architectures.
  • The search process was stable and reproducible, with NoisyDARTS consistently finding models that outperformed random search and standard DARTS across multiple runs.

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.