Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
@article{210567,
author = {Shraddha Gupta and Shilpa Jaiswal},
title = {Fitting Machine Learning into Kilobytes: An Empirical Study of Quantization, Pruning and Model Reduction for Microcontroller-Class IoT Devices},
journal = {International Journal of Innovative Research in Technology},
year = {2026},
volume = {13},
number = {6},
pages = {1555-1565},
issn = {2349-6002},
url = {https://ijirt.org/article?manuscript=210567},
abstract = {Running machine learning directly on low-cost microcontrollers saves energy and protects privacy in Internet of Things devices, but these chips offer only kilobytes of memory. This paper measures how quantization, pruning and structural reduction affect the accuracy, compiled size and robustness of seven classifier families: logistic regression, a multilayer perceptron, k-nearest neighbours, a decision tree, a random forest, gradient boosting and a support vector machine. Twenty-four configurations were trained on three public datasets, exported to standalone C, compiled for an Arm Cortex-M4F and an 8-bit AVR ATmega328P, and verified to give exactly the same predictions as their Python references. Accuracy was estimated over 15 cross-validation folds and robustness under Gaussian noise and pixel dropout. Storing parameters in 8 bits never caused a significant loss of accuracy, reduced flash by up to 3.9 times and, because the input quantizer clips out-of-range values, often improved robustness. Four-bit weights were harmless on the two small tabular tasks but cost the neural network 14.7 percentage points on handwritten digits, and pruning 90% of the weights reduced accuracy on every dataset. Replacing the nearest-neighbour training set with ten prototypes per class reached 98.3% accuracy on digits in 6.5 KB of flash, within the budget of an Arduino-class board. The models most accurate on clean data, the support vector machine and the neural network, were the most fragile under noise. Practical guidance is given for 8-bit and 32-bit devices.},
keywords = {TinyML, model compression, quantization, pruning, microcontrollers, edge computing},
month = {November},
}
Submit your research paper and those of your network (friends, colleagues, or peers) through your IPN account, and receive 800 INR for each paper that gets published.
Join NowNational Conference on Sustainable Engineering and Management - 2024 Last Date: 15th March 2024
Submit inquiry