Design of a DNN-based operator on edge device for keyword spotting

Chan Kok Wei, Hermawan Nugroho
{"title":"Design of a DNN-based operator on edge device for keyword spotting","authors":"Chan Kok Wei,&nbsp;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.

一种基于dnn算子的关键字定位边缘设备设计
关键字识别(KWS)是语音驱动的智能设备应用程序的关键组成部分,需要高精度、灵敏度和响应能力来提供最佳的用户体验。考虑到KWS系统始终在线的特性,最小化计算复杂性和功耗至关重要,特别是对于资源有限的电池供电边缘设备。在本文中,我们提出了一种紧凑高效的卷积神经网络(CNN),用于基于边缘的KWS任务,使用谷歌Speech Commands (GSC) V2数据集进行训练和评估。我们的模型采用改进的MobileNetV2架构,通过从高性能CNN模型集合中提取知识进行优化。实验结果表明,该模型在干净测试数据上的准确率为94.48%,在具有挑战性的噪声测试集上的准确率为86.38%,显著优于现有的边缘模型。所提出的CNN仅以73.8K参数和19.5M浮点运算(FLOPs)保持了这种优越的性能-大约比先前报道的边缘聚焦KWS模型少三倍的FLOPs和更少的参数。此外,当在一个现实且具有挑战性的外部Kaggle测试集上进行评估时,所提出的模型具有良好的泛化效果,准确率为88.38%,超过了基线深度可分离CNN (DS-CNN)方法。经过在广泛使用的嵌入式计算平台上的实际部署,我们优化的模型实现了每个样本在11 ms到14 ms之间的快速推理时间,优于现有的基线方法,并确认了其适用于实时应用。本研究强调了模型压缩技术(包括集成学习和知识蒸馏)的成功集成,在准确性、抗噪声鲁棒性、计算效率和推理速度方面实现了突破性的性能提升,从而推进了高性能KWS解决方案在资源受限边缘设备上的实际部署。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信