LiCo-Net: Linearized Convolution Network for Hardware-efficient Keyword Spotting

Haichuan Yang, Zhaojun Yang, Li Wan, Biqiao Zhang, Yangyang Shi, Yiteng Huang, Ivaylo Enchev, Limin Tang, Raziel Alvarez, Ming Sun, Xin Lei, Raghuraman Krishnamoorthi, Vikas ChandraarXiv 2022 · DOI

Abstract

Keyword spotting (KWS) for "always-on" devices requires high accuracy within extremely tight computational and power budgets. While Convolutional Neural Networks (CNNs) offer superior modeling capacity, they often underperform on low-power hardware compared to simpler Multi-Layer Perceptrons (MLPs) due to hardware-specific optimizations. This paper introduces LiCo-Net (Linearized Convolution Network), a dual-phase architecture that trains using 1D streaming convolutions but executes inference via mathematically equivalent 8-bit linear operators. Evaluated on a Cadence Tensilica HiFi4 DSP, LiCo-Net achieves an approximate 40% reduction in processor cycles compared to the state-of-the-art Singular Value Decomposition Filter (SVDF) while maintaining competitive detection accuracy.

Introduction

Keyword spotting—the technology enabling wake-word detection for virtual assistants—is an "always-on" task requiring continuous operation on battery-powered microcontrollers or DSPs. A significant challenge in this domain is the disconnect between theoretical complexity (measured in Multiply-Accumulates or MACs) and real-world execution speed (measured in processor cycles). On many low-power DSPs, linear layers are more highly optimized via SIMD instructions than convolutional layers. Consequently, a model with higher MAC counts but hardware-friendly linear operators can outperform a theoretically "lighter" convolutional model.

Methodology

LiCo-Net addresses this hardware-software gap through a dual-phase approach. During the training phase, the model utilizes 1D streaming convolutions to effectively learn complex temporal patterns from audio features, such as Log Mel-filterbank energies. During the inference phase, these convolutions are mathematically converted into equivalent 8-bit (int8) linear operators.

The Linearization Trick

The core innovation relies on a mathematical proof (Proposition 1) demonstrating that a streaming CNN can be converted into an MLP if the first 1D convolution layer has a stride ($s$) equal to the input chunk size ($t$), and all subsequent layers have a stride of 1. The researchers designed a specific "LiCo-Block"—a bottleneck structure consisting of one spatial 1D convolution followed by two pointwise ($1 \times 1$) convolutions—to facilitate this conversion while retaining the performance benefits of deep convolutional stacks.

Linearization of the LiCo-Block architecture.

Experimental Setup

The models were evaluated on a large-scale dataset consisting of 95,000 utterances from over 11,000 speakers, targeting the keyword "Hey operator." To ensure real-world robustness, the training set included hundreds of hours of negative data (irrelevant speech in various languages) and was augmented with background noise and speed perturbations.

Key Results

LiCo-Net was profiled on a Cadence Tensilica HiFi4 DSP to measure real-world efficiency. The results demonstrate that LiCo-Net consistently outperforms both standard MLPs and SVDF models in terms of throughput and cycle efficiency.

Performance comparison on Cadence Tensilica HiFi4 DSP.

As shown in the performance data, LiCo-Net reduced DSP cycles by approximately 40% compared to SVDF. For instance, in the "Large model" configuration with a stride of 1, LiCo-Net required 93,622 cycles compared to SVDF's 152,458. Furthermore, LiCo-Net maintained high accuracy; at a stride of 3, the small LiCo-Net improved the False Reject Rate (FRR) from 2% to 1.2% compared to a similarly sized SVDF model.

Conclusion

LiCo-Net demonstrates that hardware-aware architecture design can bridge the gap between high-level modeling capacity and low-level execution efficiency. By linearizing convolutions for deployment, LiCo-Net achieves significant power and cycle savings without sacrificing accuracy. Future work may extend this linearization approach to other always-on speech tasks, such as Voice Activity Detection (VAD) and noise suppression.

Summary updated

Abstract

This paper proposes a hardware-efficient architecture, Linearized Convolution Network (LiCo-Net) for keyword spotting. It is optimized specifically for low-power processor units like microcontrollers. ML operators exhibit heterogeneous efficiency profiles on power-efficient hardware. Given the exact theoretical computation cost, int8 operators are more computation-effective than float operators, and linear layers are often more efficient than other layers. The proposed LiCo-Net is a dual-phase system that uses the efficient int8 linear operators at the inference phase and applies streaming convolutions at the training phase to maintain a high model capacity. The experimental results show that LiCo-Net outperforms single-value decomposition filter (SVDF) on hardware efficiency with on-par detection performance. Compared to SVDF, LiCo-Net reduces cycles by 40% on HiFi4 DSP.
BibTeX
@misc{yang2022lico,
  author = {Haichuan Yang and Zhaojun Yang and Li Wan and Biqiao Zhang and Yangyang Shi and Yiteng Huang and Ivaylo Enchev and Limin Tang and Raziel Alvarez and Ming Sun and Xin Lei and Raghuraman Krishnamoorthi and Vikas Chandra},
  title = {{LiCo-Net: Linearized Convolution Network for Hardware-efficient Keyword Spotting}},
  year = {2022},
  eprint = {2211.04635},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.04635},
}
Figure