Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3589883.3589886acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicmltConference Proceedingsconference-collections
research-article
Open access

Energy-aware Tiny Machine Learning for Sensor-based Hand-washing Recognition

Published: 27 June 2023 Publication History

Abstract

Tiny wearable devices are nowadays one of the most popular and used devices in everyday life. At the same time, machine learning techniques have reached a level of maturity such that they can be used in the most varied fields. The union of these two technologies represents a valuable opportunity for the development of pervasive computing applications. On the other hand, pushing the machine learning inference on a wearable device can lead to nontrivial issues. In fact, devices with small size and low-energy availability, like those dedicated to wearable platforms, pose strict computational, memory, and power requirements which result in challenging issues to be addressed by designers. The main purpose of this study is to empirically explore the trade-off between energy consumption and classification accuracy of a machine learning-based hand-washing recognition task deployed on a real wearable device. Through extensive experimental results, obtained on a public human activity recognition dataset, we demonstrated that given an identical level of classification performance, a classic SVM classifier can save about 40% of energy with respect to a more complex LSTM network. Moreover, reducing the LSTM complexity, by lowering the number of its internal unit, can make the LSTM network energy cost-effective (with a savings of about 30%) at the cost of a reduction in accuracy of only 2%.

References

[1]
Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, 2016. Tensorflow: A system for large-scale machine learning. In 12th { USENIX} symposium on operating systems design and implementation ({ OSDI} 16). 265–283.
[2]
M. Abdel-Basset, H. Hawash, V. Chang, R. K. Chakrabortty, and M. Ryan. 2020. Deep learning for Heterogeneous Human Activity Recognition in Complex IoT Applications. IEEE Internet of Things Journal (2020), 1–1. https://doi.org/10.1109/JIOT.2020.3038416
[3]
Furqan Alam, Rashid Mehmood, Iyad Katib, and Aiiad Albeshri. 2016. Analysis of eight data mining algorithms for smarter Internet of Things (IoT). Procedia Computer Science 98 (2016), 437–442.
[4]
Michele Alessandrini, Giorgio Biagetti, Paolo Crippa, Laura Falaschetti, and Claudio Turchetti. 2021. Recurrent Neural Network for Human Activity Recognition in Embedded Systems Using PPG and Accelerometer Data. Electronics 10, 14 (2021), 1715.
[5]
Mert Bal and Reza Abrishambaf. 2017. A system for monitoring hand hygiene compliance based-on Internet-of-Things. In 2017 IEEE International Conference on Industrial Technology (ICIT). IEEE, 1348–1353.
[6]
Chih-Chung Chang and Chih-Jen Lin. 2011. LIBSVM: a library for support vector machines. ACM transactions on intelligent systems and technology (TIST) 2, 3 (2011), 1–27.
[7]
Jingyuan Cheng, Oliver Amft, and Paul Lukowicz. 2010. Active capacitive sensing: Exploring a new wearable sensing modality for activity recognition. In International conference on pervasive computing. Springer, 319–336.
[8]
Yves Luduvico Coelho, Francisco de Assis Souza dos Santos, Anselmo Frizera-Neto, and Teodiano Freire Bastos-Filho. 2021. A Lightweight Framework for Human Activity Recognition on Wearable Devices. IEEE Sensors Journal 21, 21 (2021), 24471–24481. https://doi.org/10.1109/JSEN.2021.3113908
[9]
Laizhong Cui, Shu Yang, Fei Chen, Zhong Ming, Nan Lu, and Jing Qin. 2018. A survey on application of machine learning for Internet of Things. International Journal of Machine Learning and Cybernetics 9, 8 (2018), 1399–1417.
[10]
Simone Disabato and Manuel Roveri. 2020. Incremental On-Device Tiny Machine Learning. In Proceedings of the 2nd International Workshop on Challenges in Artificial Intelligence and Machine Learning for Internet of Things. 7–13.
[11]
Atis Elsts, Ryan McConville, Xenofon Fafoutis, Niall Twomey, Robert J Piechocki, Raul Santos-Rodriguez, and Ian Craddock. 2018. On-Board Feature Extraction from Acceleration Data for Activity Recognition. In EWSN. 163–168.
[12]
Amir Erfan Eshratifar, Mohammad Saeed Abrishami, and Massoud Pedram. 2019. JointDNN: an efficient training and inference engine for intelligent mobile cloud computing services. IEEE Transactions on Mobile Computing (2019).
[13]
Valerie Galluzzi, Ted Herman, and Philip Polgreen. 2015. Hand hygiene duration and technique recognition using wrist-worn sensors. In Proceedings of the 14th International Conference on Information Processing in Sensor Networks - IPSN ’15. ACM Press, New York, New York, USA, 106–117.
[14]
Chirag Gupta, Arun Sai Suggala, Ankit Goyal, Harsha Vardhan Simhadri, Bhargavi Paranjape, Ashish Kumar, Saurabh Goyal, Raghavendra Udupa, Manik Varma, and Prateek Jain. 2017. Protonn: Compressed and accurate knn for resource-scarce devices. In International Conference on Machine Learning. PMLR, 1331–1340.
[15]
Karen Zita Haigh, Allan M Mackay, Michael R Cook, and Li G Lin. 2015. Machine learning for embedded systems: A case study. BBN Technologies: Cambridge, MA, USA (2015).
[16]
Mohammed Mehedi Hassan, Md Zia Uddin, Amr Mohamed, and Ahmad Almogren. 2018. A robust human activity recognition system using smartphone sensors and deep learning. Future Generation Computer Systems 81 (2018), 307–313.
[17]
C. Hou. 2020. A study on IMU-Based Human Activity Recognition Using Deep Learning and Traditional Machine Learning. In 2020 5th International Conference on Computer and Communication Systems (ICCCS). 225–234. https://doi.org/10.1109/ICCCS49078.2020.9118506
[18]
National Instruments. 2020. Installation Guide BNC-2120. Retrieved 2022-07-19 from http://www.ni.com/pdf/manuals/372123d.pdf
[19]
Nikhil Ketkar. 2017. Introduction to keras. In Deep learning with Python. Springer, 97–111.
[20]
Aftab Khan, Nils Hammerla, Sebastian Mellor, and Thomas Plötz. 2016. Optimising sampling rates for accelerometer-based human activity recognition. Pattern Recognition Letters 73 (2016), 33–40.
[21]
Nicholas D Lane, Sourav Bhattacharya, Akhil Mathur, Petko Georgiev, Claudio Forlivesi, and Fahim Kawsar. 2017. Squeezing deep learning into mobile and embedded devices. IEEE Pervasive Computing 16, 3 (2017), 82–88.
[22]
Oscar D Lara and Miguel A Labrador. 2012. A Survey on Human Activity Recognition using Wearable Sensors. IEEE communications surveys & tutorials 15, 3 (2012), 1192–1209.
[23]
Emanuele Lattanzi, Lorenzo Calisti, and Valerio Freschi. 2022. Unstructured Handwashing Recognition Using Smartwatch to Reduce Contact Transmission of Pathogens. IEEE Access 10 (2022), 83111–83124. https://doi.org/10.1109/ACCESS.2022.3197279
[24]
Emanuele Lattanzi, Matteo Donati, and Valerio Freschi. 2022. Exploring Artificial Neural Networks Efficiency in Tiny Wearable Devices for Human Activity Recognition. Sensors 22, 7 (2022), 2637.
[25]
Maurizio Leotta, Andrea Fasciglione, and Alessandro Verri. 2021. Daily Living Activity Recognition Using Wearable Devices: A Features-Rich Dataset and a Novel Approach. In Pattern Recognition. ICPR International Workshops and Challenges, Alberto Del Bimbo, Rita Cucchiara, Stan Sclaroff, Giovanni Maria Farinella, Tao Mei, Marco Bertini, Hugo Jair Escalante, and Roberto Vezzani (Eds.). Springer International Publishing, Cham, 171–187.
[26]
Hong Li, Shishir Chawla, Richard Li, Sumeet Jain, Gregory D. Abowd, Thad Starner, Cheng Zhang, and Thomas Plotz. 2018. WristWash: Towards automatic handwashing assessment using a wrist-worn device. Proceedings - International Symposium on Wearable Computers, ISWC (2018), 132–139.
[27]
Huan Liu and Lei Yu. 2005. Toward integrating feature selection algorithms for classification and clustering. IEEE Transactions on knowledge and data engineering 17, 4 (2005), 491–502.
[28]
Arm Ltd.2022. Mbed, Rapid IoT device development. Retrieved 2022-07-19 from https://os.mbed.com/
[29]
Philipp Mayer, Michele Magno, and Luca Benini. 2021. Energy-Positive Activity Recognition - From Kinetic Energy Harvesting to Smart Self-Sustainable Wearable Devices. IEEE Transactions on Biomedical Circuits and Systems 15, 5 (2021), 926–937. https://doi.org/10.1109/TBCAS.2021.3115178
[30]
Mikroe. 2022. Hexiwear: complete IOT development solution. Retrieved 2022-07-19 from https://www.mikroe.com/hexiwear
[31]
National.Instruments. 2020. PC-6251 datasheet. Retrieved 2022-07-19 from http://www.ni.com/pdf/manuals/375213c.pdf
[32]
Mohanad Odema, Nafiul Rashid, and Mohammad Abdullah Al Faruque. 2021. Energy-Aware Design Methodology for Myocardial Infarction Detection on Low-Power Wearable Devices. In Proceedings of the 26th Asia and South Pacific Design Automation Conference. 621–626.
[33]
N. Rashid, M. Dautta, P. Tseng, and M. A. Al Faruque. 2021. HEAR: Fog-Enabled Energy-Aware Online Human Eating Activity Recognition. IEEE Internet of Things Journal 8, 2 (2021), 860–868. https://doi.org/10.1109/JIOT.2020.3008842
[34]
Sasank Reddy, Min Mun, Jeff Burke, Deborah Estrin, Mark Hansen, and Mani Srivastava. 2010. Using mobile phones to determine transportation modes. ACM Transactions on Sensor Networks (TOSN) 6, 2 (2010), 1–27.
[35]
Farzad Samie, Lars Bauer, and Jörg Henkel. 2019. From cloud down to things: An overview of machine learning in internet of things. IEEE Internet of Things Journal 6, 3 (2019), 4921–4934.
[36]
Joshua L Santarpia, Danielle N Rivera, Vicki L Herrera, M Jane Morwitzer, Hannah M Creager, George W Santarpia, Kevin K Crown, David M Brett-Major, Elizabeth R Schnaubelt, M Jana Broadhurst, 2020. Aerosol and surface contamination of SARS-CoV-2 observed in quarantine and isolation care. Scientific reports 10, 1 (2020), 1–8.
[37]
Rohde & Schwarz. 2020. NGMO2 datasheet. Retrieved 2022-07-19 from https://www.rohde-schwarz.com/it/brochure-scheda-tecnica/ngmo2/
[38]
Marina Sokolova and Guy Lapalme. 2009. A systematic analysis of performance measures for classification tasks. Information processing & management 45, 4 (2009), 427–437.
[39]
Ingo Steinwart and Andreas Christmann. 2008. Support vector machines. Springer Science & Business Media.
[40]
Syeda Manjia Tahsien, Hadis Karimipour, and Petros Spachos. 2020. Machine learning based solutions for security of Internet of Things (IoT): A survey. Journal of Network and Computer Applications 161 (2020), 102630.
[41]
Google Brain Team. 2022. TensorFlow Lite for Microcontrollers. Retrieved 2022-07-19 from https://www.tensorflow.org/lite/microcontrollers
[42]
S Uma and R Eswari. 2021. Accident prevention and safety assistance using IOT and machine learning. Journal of Reliable Intelligent Environments (2021), 1–25.
[43]
Greg Van Houdt, Carlos Mosquera, and Gonzalo Nápoles. 2020. A review on the long short-term memory model. Artificial Intelligence Review 53, 8 (2020), 5929–5955.
[44]
Jindong Wang, Yiqiang Chen, Shuji Hao, Xiaohui Peng, and Lisha Hu. 2019. Deep learning for sensor-based activity recognition: A survey. Pattern Recognition Letters 119 (2019), 3–11. https://doi.org/10.1016/j.patrec.2018.02.010
[45]
X. Wang, M. Magno, L. Cavigelli, and L. Benini. 2020. FANN-on-MCU: An Open-Source Toolkit for Energy-Efficient Neural Network Inference at the Edge of the Internet of Things. IEEE Internet of Things Journal 7, 5 (2020), 4403–4417. https://doi.org/10.1109/JIOT.2020.2976702
[46]
Zhepeng Wang, Yawen Wu, Zhenge Jia, Yiyu Shi, and Jingtong Hu. 2021. Lightweight Run-Time Working Memory Compression for Deployment of Deep Neural Networks on Resource-Constrained MCUs. In Proceedings of the 26th Asia and South Pacific Design Automation Conference. 607–614.

Cited By

View all
  • (2024)Design of Tiny Contrastive Learning Network With Noise Tolerance for Unauthorized Device Identification in Internet of UAVsIEEE Internet of Things Journal10.1109/JIOT.2024.337652911:12(20912-20929)Online publication date: 15-Jun-2024
  • (2024)Real-Time Energy-Efficient Sensor Libraries for Wearable DevicesIEEE Access10.1109/ACCESS.2024.343004912(126006-126018)Online publication date: 2024

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
ICMLT '23: Proceedings of the 2023 8th International Conference on Machine Learning Technologies
March 2023
293 pages
ISBN:9781450398329
DOI:10.1145/3589883
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 27 June 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Energy aware
  2. Human Activity Recognition
  3. Long Short-Term Memory networks
  4. Support Vector Machine
  5. Tiny Machine Learning

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

ICMLT 2023

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)339
  • Downloads (Last 6 weeks)39
Reflects downloads up to 25 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Design of Tiny Contrastive Learning Network With Noise Tolerance for Unauthorized Device Identification in Internet of UAVsIEEE Internet of Things Journal10.1109/JIOT.2024.337652911:12(20912-20929)Online publication date: 15-Jun-2024
  • (2024)Real-Time Energy-Efficient Sensor Libraries for Wearable DevicesIEEE Access10.1109/ACCESS.2024.343004912(126006-126018)Online publication date: 2024

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media