Human Activity Recognition on Microcontrollers with Quantized and Adaptive Deep Neural Networks

Francesco Daghero,Alessio Burrello,Chen Xie,Marco Castellano,Luca Gandolfi,Andrea Calimera,Enrico Macii,Massimo Poncino,Daniele Jahier Pagliari
DOI: https://doi.org/10.1145/3542819
2022-08-23
ACM Transactions on Embedded Computing Systems
Abstract:Human Activity Recognition (HAR) based on inertial data is an increasingly diffused task on embedded devices, from smartphones to ultra low-power sensors. Due to the high computational complexity of deep learning models, most embedded HAR systems are based on simple and not-so-accurate classic machine learning algorithms. This work bridges the gap between on-device HAR and deep learning, proposing a set of efficient one-dimensional Convolutional Neural Networks (CNNs) that can be deployed on general purpose microcontrollers (MCUs). Our CNNs are obtained combining hyper-parameters optimization with sub-byte and mixed-precision quantization, to find good trade-offs between classification results and memory occupation. Moreover, we also leverage adaptive inference as an orthogonal optimization to tune the inference complexity at runtime based on the processed input, hence producing a more flexible HAR system.
computer science, software engineering, hardware & architecture
What problem does this paper attempt to address?