TinyML Empowered Transfer Learning on the Edge
Open Access
- 5 March 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of the Communications Society
- Vol. 5, 1656-1672
Abstract
Tiny machine learning (TinyML) is a promising approach to enable intelligent applications relying on Human Activity Recognition (HAR) on resource-limited and low-power internet of things (IoT) edge devices. However, designing efficient TinyML models for these devices remains challenging due to computational resource constraints and the need for customisation to unique use cases. To address this, we propose a novel approach that utilises transfer learning (TL) techniques on edge micro-controller units (MCUs) to accelerate TinyML development. Our strategy involves pre-training generalised ML models on large-scale and varied datasets and fine-tuning them on-device for specific applications using TL. We demonstrate the effectiveness of our approach for HAR by experimenting with a convolutional neural network, long short-term memory TL (CNN-LSTM-TL) model architecture and visualisation techniques like t-distributed stochastic neighbour embedding (t-SNE) for dimensionality reduction. To further validate our model’s proficiency and adaptability, we conducted extensive testing using two distinct datasets: MotionSense and UCI. This dual-dataset approach allowed us to assess the robustness of our model across different data domains, showcasing its versatility and effectiveness in various HAR scenarios. Our results show significant model accuracy and reduced training time while maintaining high inference rates and low MCU memory footprint. We also provide insights into best practices for implementing TL on edge MCUs and evaluate classification performance metrics such as accuracy, precision, recall, F1 score, and categorical cross-entropy loss. Our work lays a solid foundation for faster and more efficient TinyML deployments through TL framework across different application domains and types of edge IoT devices.Keywords
Funding Information
- Engineering and Physical Sciences Research Council (EPSRC) CHEDDAR (EP/X040518/1)
- UK Research and Innovation (EP/X039161/1)
- MSCA Horizon EU (101086218)
- Abdul Hameed Shoman Foundation (230800328)
This publication has 45 references indexed in Scilit:
- A review on TinyML: State-of-the-art and prospectsJournal of King Saud University Computer and Information Sciences, 2022
- Multi-sensor information fusion based on machine learning for real applications in human activity recognition: State-of-the-art and research challengesInformation Fusion, 2022
- Stride segmentation of inertial sensor data using statistical methods for different walking activitiesRobotica, 2021
- TinyML Meets IoT: A Comprehensive SurveyInternet of Things, 2021
- Cross-subject transfer learning in human activity recognition systems using generative adversarial networksNeurocomputing, 2021
- AdaBoost-CNN: An adaptive boosting algorithm for convolutional neural networks to classify multi-class imbalanced datasets using transfer learningNeurocomputing, 2020
- Overview and comparative study of dimensionality reduction techniques for high dimensional dataInformation Fusion, 2020
- Analysis of Dimensionality Reduction Techniques on Big DataIEEE Access, 2020
- Design and Implementation of a Convolutional Neural Network on an Edge Computing Smartphone for Human Activity RecognitionIEEE Access, 2019
- Recent trends in machine learning for human activity recognition—A surveyWIREs Data Mining and Knowledge Discovery, 2018