Where Does the Energy Go? An End-to-End Energy Analysis of Model Compression for TinyML-Based Activity Classification on Low-Power
Small Deploying neural classifiers on microcontrollers is usually studied through model size and accuracy, while the energy cost of the complete sensing-to-decision pipeline receives less attention. This paper examines that gap for inertial human-activity recognition. A six-class, six-axis motion dataset is synthesised from a parametric gait model with subject-level variability in cadence, amplitude, noise and sensor orientation (7200 training and 2880 test windows, split by subject). A 42-feature multilayer perceptron (42-64-32-6) is compressed by global magnitude pruning with fine-tuning, int8 post-training quantisation and 4-bit weight quantisation, and evaluated over five random seeds. Flash footprint falls from 19.6 kB (float32) to 2.6 kB (80 % sparse, int8, compressed-row storage), a 7.6-fold reduction, with accuracy on unseen subjects of 90.5 ± 0.5 % against 89.9 ± 0.4 % for the dense float32 baseline. An analytical cycle-and-current model of a Cortex-M4F and an ESP32 core, however, shows that feature extraction accounts for 85 % of the dense float32 inference energy and 97 % of the compressed model's, so compression lowers energy per decision by only 12 %. A depth-8 decision tree reaches 92.3 % accuracy in about 1.7 kB, exceeding every compressed network tested. The results suggest that TinyML optimisation effort should begin with the feature pipeline and a classical-model baseline before network compression.
Authors
- K. Balaji Nanda Kumar Reddy
- N. Pushpalatha
- Thinnaluri Jyothi
- Irala Suneetha
- P. Harish
- S. Rohini
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24522328
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00