Performance Analysis of Deep Learning Model-Compression Techniques for Audio Classification on Edge Devices

IF 4.1
Sci Pub Date : 2024-04-02 DOI:10.3390/sci6020021
Afsana Mou, M. Milanova
{"title":"Performance Analysis of Deep Learning Model-Compression Techniques for Audio Classification on Edge Devices","authors":"Afsana Mou, M. Milanova","doi":"10.3390/sci6020021","DOIUrl":null,"url":null,"abstract":"Audio classification using deep learning models, which is essential for applications like voice assistants and music analysis, faces challenges when deployed on edge devices due to their limited computational resources and memory. Achieving a balance between performance, efficiency, and accuracy is a significant obstacle to optimizing these models for such constrained environments. In this investigation, we evaluate diverse deep learning architectures, including Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM), for audio classification tasks on the ESC 50, UrbanSound8k, and Audio Set datasets. Our empirical findings indicate that Mel spectrograms outperform raw audio data, attributing this enhancement to their synergistic alignment with advanced image classification algorithms and their congruence with human auditory perception. To address the constraints of model size, we apply model-compression techniques, notably magnitude pruning, Taylor pruning, and 8-bit quantization. The research demonstrates that a hybrid pruned model achieves a commendable accuracy rate of 89 percent, which, although marginally lower than the 92 percent accuracy of the uncompressed CNN, strikingly illustrates an equilibrium between efficiency and performance. Subsequently, we deploy the optimized model on the Raspberry Pi 4 and NVIDIA Jetson Nano platforms for audio classification tasks. These findings highlight the significant potential of model-compression strategies in enabling effective deep learning applications on resource-limited devices, with minimal compromise on accuracy.","PeriodicalId":510703,"journal":{"name":"Sci","volume":"181 ","pages":""},"PeriodicalIF":4.1000,"publicationDate":"2024-04-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sci","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/sci6020021","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Audio classification using deep learning models, which is essential for applications like voice assistants and music analysis, faces challenges when deployed on edge devices due to their limited computational resources and memory. Achieving a balance between performance, efficiency, and accuracy is a significant obstacle to optimizing these models for such constrained environments. In this investigation, we evaluate diverse deep learning architectures, including Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM), for audio classification tasks on the ESC 50, UrbanSound8k, and Audio Set datasets. Our empirical findings indicate that Mel spectrograms outperform raw audio data, attributing this enhancement to their synergistic alignment with advanced image classification algorithms and their congruence with human auditory perception. To address the constraints of model size, we apply model-compression techniques, notably magnitude pruning, Taylor pruning, and 8-bit quantization. The research demonstrates that a hybrid pruned model achieves a commendable accuracy rate of 89 percent, which, although marginally lower than the 92 percent accuracy of the uncompressed CNN, strikingly illustrates an equilibrium between efficiency and performance. Subsequently, we deploy the optimized model on the Raspberry Pi 4 and NVIDIA Jetson Nano platforms for audio classification tasks. These findings highlight the significant potential of model-compression strategies in enabling effective deep learning applications on resource-limited devices, with minimal compromise on accuracy.
用于边缘设备音频分类的深度学习模型压缩技术性能分析
使用深度学习模型进行音频分类对语音助手和音乐分析等应用至关重要,但由于计算资源和内存有限,在边缘设备上部署时面临挑战。如何在性能、效率和准确性之间取得平衡,是针对此类受限环境优化这些模型的一大障碍。在这项研究中,我们评估了不同的深度学习架构,包括卷积神经网络(CNN)和长短期记忆(LSTM),用于ESC 50、UrbanSound8k 和 Audio Set 数据集上的音频分类任务。我们的实证研究结果表明,梅尔频谱图的性能优于原始音频数据,这归功于它们与先进图像分类算法的协同配合,以及它们与人类听觉感知的一致性。为了解决模型大小的限制,我们采用了模型压缩技术,特别是幅度剪枝、泰勒剪枝和 8 位量化。研究表明,混合剪枝模型达到了 89% 的准确率,虽然略低于未压缩 CNN 的 92% 的准确率,但却在效率和性能之间找到了平衡点。随后,我们在 Raspberry Pi 4 和 NVIDIA Jetson Nano 平台上部署了优化后的模型,用于音频分类任务。这些发现凸显了模型压缩策略在资源有限的设备上实现有效深度学习应用的巨大潜力,同时对准确性的影响最小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Sci
Sci
CiteScore
4.50
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书