Are Microcontrollers Ready for Deep Learning-Based Human Activity Recognition?

Atis Elsts*, Ryan McConville

*Corresponding author for this work

    Research output: Contribution to journalArticle (Academic Journal)peer-review

    19 Citations (Scopus)
    275 Downloads (Pure)

    Abstract

    The last decade has seen exponential growth in the field of deep learning with deep learning on microcontrollers a new frontier for this research area. This paper presents a case study about machine learning on microcontrollers, with a focus on human activity recognition using accelerometer data. We build machine learning classifiers suitable for execution on modern microcontrollers and evaluate their performance. Specifically, we compare Random Forests (RF), a classical machine learning technique, with Convolutional Neural Networks (CNN), in terms of classification accuracy and inference speed. The results show that RF classifiers achieve similar levels of classification accuracy while being several times faster than a small custom CNN model designed for the task. The RF and the custom CNN are also several orders of magnitude faster than state-of-the-art deep learning models. On the one hand, these findings confirm the feasibility of using deep learning on modern microcontrollers. On the other hand, they cast doubt on whether deep learning is the best approach for this application, especially if high inference speed and, thus, low energy consumption is the key objective.
    Original languageEnglish
    Article number2640
    JournalElectronics
    Volume10
    Issue number21
    DOIs
    Publication statusPublished - 28 Oct 2021

    Bibliographical note

    Funding Information:
    Funding: This work was supported by the ERDF Activity 1.1.1.2 “Post-doctoral Research Aid” (No. 1.1.1.2/VIAA/2/18/282). It was also partially supported by the SPHERE Next Steps Project funded by the UK Engineering and Physical Sciences Research Council (EPSRC), Grant EP/R005273/1.

    Publisher Copyright:
    © 2021 by the authors. Licensee MDPI, Basel, Switzerland.

    Research Groups and Themes

    • SPHERE
    • Digital Health

    Keywords

    • machine learning
    • deep learning
    • neural networks
    • activity recognition
    • accelerometers

    Fingerprint

    Dive into the research topics of 'Are Microcontrollers Ready for Deep Learning-Based Human Activity Recognition?'. Together they form a unique fingerprint.

    Cite this