{"title":"Design of a DNN-based operator on edge device for keyword spotting","authors":"Chan Kok Wei, Hermawan Nugroho","doi":"10.1007/s43674-025-00080-2","DOIUrl":null,"url":null,"abstract":"<div><p>Keyword spotting (KWS) is a critical component of voice-driven smart-device applications, requiring high accuracy, sensitivity, and responsiveness to deliver optimal user experiences. Given the always-on nature of KWS systems, minimizing computational complexity and power consumption is essential, particularly for battery-powered edge devices with constrained resources. In this paper, we propose a compact and highly efficient convolutional neural network (CNN) for edge-based KWS tasks, using the Google Speech Commands (GSC) V2 dataset for training and evaluation. Our model employs modified MobileNetV2 architecture, optimized via knowledge distillation from an ensemble of high-performing CNN models. Experimental results demonstrate that the proposed model achieves 94.48% accuracy on clean test data and significantly outperforms existing state-of-the-art edge models on challenging noisy test sets, reaching 86.38% accuracy. The proposed CNN maintains this superior performance with only 73.8K parameters and 19.5M floating-point operations (FLOPs)—approximately three times fewer FLOPs and substantially fewer parameters than previously reported edge-focused KWS models. Moreover, when evaluated on a realistic and challenging external Kaggle test set, the proposed model shows excellent generalization with 88.38% accuracy, surpassing baseline depthwise separable CNN (DS-CNN) approaches. Upon practical deployment on a widely used embedded computing platform, our optimized model achieved fast inference times between 11 ms and 14 ms per sample, outperforming existing baseline methods and confirming its suitability for real-time applications. This study highlights the successful integration of model compression techniques, including ensemble learning and knowledge distillation, to achieve breakthrough performance improvements in accuracy, robustness to noise, computational efficiency, and inference speed, thereby advancing the practical deployment of high-performance KWS solutions on resource-constrained edge devices.</p></div>","PeriodicalId":72089,"journal":{"name":"Advances in computational intelligence","volume":"5 2","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2025-04-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in computational intelligence","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1007/s43674-025-00080-2","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Keyword spotting (KWS) is a critical component of voice-driven smart-device applications, requiring high accuracy, sensitivity, and responsiveness to deliver optimal user experiences. Given the always-on nature of KWS systems, minimizing computational complexity and power consumption is essential, particularly for battery-powered edge devices with constrained resources. In this paper, we propose a compact and highly efficient convolutional neural network (CNN) for edge-based KWS tasks, using the Google Speech Commands (GSC) V2 dataset for training and evaluation. Our model employs modified MobileNetV2 architecture, optimized via knowledge distillation from an ensemble of high-performing CNN models. Experimental results demonstrate that the proposed model achieves 94.48% accuracy on clean test data and significantly outperforms existing state-of-the-art edge models on challenging noisy test sets, reaching 86.38% accuracy. The proposed CNN maintains this superior performance with only 73.8K parameters and 19.5M floating-point operations (FLOPs)—approximately three times fewer FLOPs and substantially fewer parameters than previously reported edge-focused KWS models. Moreover, when evaluated on a realistic and challenging external Kaggle test set, the proposed model shows excellent generalization with 88.38% accuracy, surpassing baseline depthwise separable CNN (DS-CNN) approaches. Upon practical deployment on a widely used embedded computing platform, our optimized model achieved fast inference times between 11 ms and 14 ms per sample, outperforming existing baseline methods and confirming its suitability for real-time applications. This study highlights the successful integration of model compression techniques, including ensemble learning and knowledge distillation, to achieve breakthrough performance improvements in accuracy, robustness to noise, computational efficiency, and inference speed, thereby advancing the practical deployment of high-performance KWS solutions on resource-constrained edge devices.