嵌入式系统上用于手势识别的紧凑型 CNN 的优化技术

Q4 Engineering
João Carlos Bittencourt, Walber Conceição de Jesus Rocha
{"title":"嵌入式系统上用于手势识别的紧凑型 CNN 的优化技术","authors":"João Carlos Bittencourt, Walber Conceição de Jesus Rocha","doi":"10.24840/2183-6493_009-005_002156","DOIUrl":null,"url":null,"abstract":"Embedded applications are increasingly prevalent in various domains, from consumer electronics to industrial automation and smart cities. With the advances in integrated circuit manufacturing technologies, low-power chips can now execute complex algorithms, including machine learning models. However, the computational constraints of embedded devices require compact and efficient neural network models, as well as software frameworks and optimisation techniques tailored to their hardware resources. This study investigates the implementation of Convolutional Neural Network (CNN) models for gesture recognition on an STM32F4 microcontroller, by exploring the impact of freezing layers, fine-tuning and pruning techniques on pre-trained CNN models. The results demonstrate that fine-tuning and freezing layers improve accuracy by up to 18%. Additionally, freezing layers by 10% and 20% improved the accuracy. Finally, we demonstrate that pruning reduced the model size by 90%, enabling it to perform gesture recognition on small devices. These findings are significant for developing software and optimisation techniques for embedded systems, particularly in the context of the Internet of Things.","PeriodicalId":36339,"journal":{"name":"U.Porto Journal of Engineering","volume":"2002 12","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Optimisation Techniques for Compact CNN on Embedded Systems for Gesture Recognition\",\"authors\":\"João Carlos Bittencourt, Walber Conceição de Jesus Rocha\",\"doi\":\"10.24840/2183-6493_009-005_002156\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Embedded applications are increasingly prevalent in various domains, from consumer electronics to industrial automation and smart cities. With the advances in integrated circuit manufacturing technologies, low-power chips can now execute complex algorithms, including machine learning models. However, the computational constraints of embedded devices require compact and efficient neural network models, as well as software frameworks and optimisation techniques tailored to their hardware resources. This study investigates the implementation of Convolutional Neural Network (CNN) models for gesture recognition on an STM32F4 microcontroller, by exploring the impact of freezing layers, fine-tuning and pruning techniques on pre-trained CNN models. The results demonstrate that fine-tuning and freezing layers improve accuracy by up to 18%. Additionally, freezing layers by 10% and 20% improved the accuracy. Finally, we demonstrate that pruning reduced the model size by 90%, enabling it to perform gesture recognition on small devices. These findings are significant for developing software and optimisation techniques for embedded systems, particularly in the context of the Internet of Things.\",\"PeriodicalId\":36339,\"journal\":{\"name\":\"U.Porto Journal of Engineering\",\"volume\":\"2002 12\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-11-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"U.Porto Journal of Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.24840/2183-6493_009-005_002156\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"Engineering\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"U.Porto Journal of Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24840/2183-6493_009-005_002156","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"Engineering","Score":null,"Total":0}
引用次数: 0

摘要

从消费电子产品到工业自动化和智能城市,嵌入式应用在各个领域日益普及。随着集成电路制造技术的进步,低功耗芯片现在可以执行复杂的算法,包括机器学习模型。然而,由于嵌入式设备的计算限制,需要紧凑高效的神经网络模型,以及适合其硬件资源的软件框架和优化技术。本研究通过探索冻结层、微调和剪枝技术对预训练 CNN 模型的影响,研究了在 STM32F4 微控制器上实施用于手势识别的卷积神经网络 (CNN) 模型。结果表明,微调和冻结层可将准确率提高 18%。此外,冻结层的准确率分别提高了 10%和 20%。最后,我们证明剪枝将模型大小缩小了 90%,使其能够在小型设备上进行手势识别。这些发现对于开发嵌入式系统的软件和优化技术具有重要意义,尤其是在物联网背景下。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Optimisation Techniques for Compact CNN on Embedded Systems for Gesture Recognition
Embedded applications are increasingly prevalent in various domains, from consumer electronics to industrial automation and smart cities. With the advances in integrated circuit manufacturing technologies, low-power chips can now execute complex algorithms, including machine learning models. However, the computational constraints of embedded devices require compact and efficient neural network models, as well as software frameworks and optimisation techniques tailored to their hardware resources. This study investigates the implementation of Convolutional Neural Network (CNN) models for gesture recognition on an STM32F4 microcontroller, by exploring the impact of freezing layers, fine-tuning and pruning techniques on pre-trained CNN models. The results demonstrate that fine-tuning and freezing layers improve accuracy by up to 18%. Additionally, freezing layers by 10% and 20% improved the accuracy. Finally, we demonstrate that pruning reduced the model size by 90%, enabling it to perform gesture recognition on small devices. These findings are significant for developing software and optimisation techniques for embedded systems, particularly in the context of the Internet of Things.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
U.Porto Journal of Engineering
U.Porto Journal of Engineering Engineering-Engineering (all)
CiteScore
0.70
自引率
0.00%
发文量
58
审稿时长
20 weeks
×
引用
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学术官方微信