Lightweight emotion analysis solution using tiny machine learning for portable devices

IF 4.9 3区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE Computers & Electrical Engineering Pub Date : 2025-01-10 DOI:10.1016/j.compeleceng.2024.110038
Maocheng Bai, Xiaosheng Yu
{"title":"Lightweight emotion analysis solution using tiny machine learning for portable devices","authors":"Maocheng Bai,&nbsp;Xiaosheng Yu","doi":"10.1016/j.compeleceng.2024.110038","DOIUrl":null,"url":null,"abstract":"<div><div>Deep learning-based models have obtained great improvements in facial expression recognition (FER). However, these deep models have high computational complexity and more memory during training and inference, limiting their scalability in deploying on portable devices. In addition, the exploration of the intrinsic connection between facial muscle movements and expressions has always been a huge challenge. To resolve these dilemmas, we propose an effective binary tiny machine learning (TinyML) model by combining two different attention mechanisms and binary operations. Specifically, to exploit the muscle movements in different facial expressions, we propose an effective lightweight deep model by introducing channel and spatial attention mechanisms in which learning weights for different regions can enable the network to focus on regions associated with facial expressions. Moreover, we introduce the scale factor-based binary operation to improve the inference speed. Extensive experiments on three public facial expression datasets prove that our proposed model can achieve advanced performance with 70 K parameters and 0.96MB model size. We have ported and tested our model on the Seeed XIAO ESP32S3 Sense platform, showing the superiority of what was proposed in terms of inference speed.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"123 ","pages":"Article 110038"},"PeriodicalIF":4.9000,"publicationDate":"2025-01-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790624009637","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Deep learning-based models have obtained great improvements in facial expression recognition (FER). However, these deep models have high computational complexity and more memory during training and inference, limiting their scalability in deploying on portable devices. In addition, the exploration of the intrinsic connection between facial muscle movements and expressions has always been a huge challenge. To resolve these dilemmas, we propose an effective binary tiny machine learning (TinyML) model by combining two different attention mechanisms and binary operations. Specifically, to exploit the muscle movements in different facial expressions, we propose an effective lightweight deep model by introducing channel and spatial attention mechanisms in which learning weights for different regions can enable the network to focus on regions associated with facial expressions. Moreover, we introduce the scale factor-based binary operation to improve the inference speed. Extensive experiments on three public facial expression datasets prove that our proposed model can achieve advanced performance with 70 K parameters and 0.96MB model size. We have ported and tested our model on the Seeed XIAO ESP32S3 Sense platform, showing the superiority of what was proposed in terms of inference speed.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
轻量级的情感分析解决方案,使用微型机器学习便携式设备
基于深度学习的模型在面部表情识别(FER)方面取得了很大的进步。然而,这些深度模型在训练和推理过程中具有很高的计算复杂度和更多的内存,限制了它们在便携式设备上部署的可扩展性。此外,探索面部肌肉运动和表情之间的内在联系一直是一个巨大的挑战。为了解决这些困境,我们提出了一种有效的二元微型机器学习(TinyML)模型,该模型结合了两种不同的注意机制和二元操作。具体来说,为了利用不同面部表情中的肌肉运动,我们提出了一个有效的轻量级深度模型,通过引入通道和空间注意机制,在该模型中,不同区域的学习权值可以使网络专注于与面部表情相关的区域。此外,我们还引入了基于比例因子的二值运算来提高推理速度。在3个公开的面部表情数据集上进行的大量实验证明,该模型在参数为70k、模型大小为0.96MB的情况下可以取得较好的性能。我们已经在Seeed XIAO ESP32S3 Sense平台上移植并测试了我们的模型,显示了在推理速度方面所提出的优势。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computers & Electrical Engineering
Computers & Electrical Engineering 工程技术-工程:电子与电气
CiteScore
9.20
自引率
7.00%
发文量
661
审稿时长
47 days
期刊介绍: The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency. Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.
期刊最新文献
Scalable decentralized prognostics for industrial systems under data heterogeneity Mango-Mamba and VN-MangoLeaf: A lightweight Mamba model and New Dataset for Mango leaf disease classification On the performance of cascaded RISs-aided hybrid PLC/WLC systems with SWIPT Advancements and challenges in deepfake medical imaging: generation and detection techniques Trust scoring algorithms for zero trust-based software-defined perimeter architectures: A systematic literature review of advancements, challenges, and future directions
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1