Machine Learning on Mainstream Microcontrollers
Open accessThe DOI matches its Crossref record; 27 of the 28 references it cites were found in a registry or an index.
Abstract
This paper presents the Edge Learning Machine (ELM), a machine learning framework for edge devices, which manages the training phase on a desktop computer and performs inferences on microcontrollers. The framework implements, in a platform-independent C language, three supervised machine learning algorithms (Support Vector Machine (SVM) with a linear kernel, k-Nearest Neighbors (K-NN), and Decision Tree (DT)), and exploits STM X-Cube-AI to implement Artificial Neural Networks (ANNs) on STM32 Nucleo boards. We investigated the performance of these algorithms on six embedded boards and six datasets (four classifications and two regression). Our analysis—which aims to plug a gap in the literature—shows that the target platforms allow us to achieve the same performance score as a desktop machine, with a similar time latency. ANN performs better than the other algorithms in most cases, with no difference among the target devices. We observed that increasing the depth of an NN improves performance, up to a saturation level. k-NN performs similarly to ANN and, in one case, even better, but requires all the training sets to be kept in the inference phase, posing a significant memory demand, which can be afforded only by high-end edge devices. DT performance has a larger variance across datasets. In general, several factors impact performance in different ways across datasets. This highlights the importance of a framework like ELM, which is able to train and compare different algorithms. To support the developer community, ELM is released on an open-source basis.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures





Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“As a rough summary result, the best performance was that of ANN in all datasets except Sonar dataset. In contrast the SVM achieved the best results on the Heart and EnviroCar dataset. The performance of DT was on Virus and Peugeot 14. However, KNN achieved the best result in the Sonar dataset only.”
From TinyML: Enabling of Inference Deep Learning Models on Ultra-Low-Power IoT Edge Devices for AI Applications (2022) · cites this paper as [5]
Experimental — accuracy not yet measuredThe cited source says what the claim attributes to it.
In the citing paper
“Four algorithms were implemented on six devices from ARM Cortex-M microcontrollers released by STM-32, namely (F091RC, F303RE, F401RE, F746ZG, H743ZI2, and L452RE).”
From TinyML: Enabling of Inference Deep Learning Models on Ultra-Low-Power IoT Edge Devices for AI Applications (2022) · cites this paper as [5]
The cited source says what the claim attributes to it.
In the citing paper
“The authors [5] developed an Edge Learning Machine (ELM) framework to execute ML inference in edge devices such as Microcontroller.”
From TinyML: Enabling of Inference Deep Learning Models on Ultra-Low-Power IoT Edge Devices for AI Applications (2022) · cites this paper as [5]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Ioffe, S., & Szegedy, C. (2015) · arXiv · doi:10.48550/arxiv.1502.03167 · Cited by 27,818
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Ioffe, S. (2024) · arXiv (Cornell University) · doi:10.57702/o9raffed · Cited by 14,214
Internet of Things (IoT): A vision, architectural elements, and future directions
Gubbi, J., Buyya, R., Marusic, S., & Palaniswami, M. (2013) · Future Generation Computer Systems · doi:10.1016/j.future.2013.01.010 · Cited by 12,293 · cited 1×
“, [2]) to the edge has advantages in terms of response latency, bandwidth occupancy, energy consumption, security and expected privacy (e.”
BackgroundEdge computing: Vision and challenges
Shi, W., Cao, J., Zhang, Q., Li, Y., & Xu, L. (2016) · IEEE Internet of Things Journal · doi:10.1109/jiot.2016.2579198 · Cited by 8,733
Understanding Machine Learning: From Theory to Algorithms
Shalev-Shwartz, S., & Ben-David, S. (2014) · doi:10.1017/cbo9781107298019 · Cited by 3,115
(2007) · The MIT Press eBooks · doi:10.7551/mitpress/7496.001.0001 · Cited by 536
Computation Offloading Toward Edge Computing
Lin, L., Liao, X., Jin, H., & Li, P. (2019) · Proceedings of the IEEE · doi:10.1109/jproc.2019.2922285 · Cited by 456 · cited 1×
“The trend of moving computation towards the edge is becoming ever more relevant, leading to performance improvements and the development of new field data processing applications [1].”
BackgroundNearest-Neighbor Methods in Learning and Vision: Theory and Practice
(2006) · The MIT Press eBooks · doi:10.7551/mitpress/4908.001.0001 · Cited by 440
Generative Adversarial Networks for face generation: A survey
Kammoun, A., Slama, R., Tabia, H., Ouni, T., & Abid, M. (2022) · ACM Computing Surveys · doi:10.1145/1122445.1122456 · Cited by 311
Research works printed but not linked: 3
- Louis, M., Azad, Z., Delhadtehrani, L., Gupta, S.L., Warden, P., Reddi, V., and Joshi, A. (2019). Towards deep learning using tensorFlow lite on RISC-V. Workshop Comput. Archit. Res. RISC-V.
- Goodfellow, I., Bengio, Y., and Courville, A. (2016). Deep Learning, The MIT Press.
- Vapnik, 1963, Recognition of Patterns with help of Generalized Portraits, Avtomat. Telemekh., 24, 774
Cited by
TinyML for Ultra-Low Power AI and Large Scale IoT Deployments: A Systematic Review
Schizas, N., Karras, A., Karras, C., & Sioutas, S. (2022) · Future Internet · doi:10.3390/fi14120363 · Cited by 215
Alajlan, N. N., & Ibrahim, D. M. (2022) · Micromachines · doi:10.3390/mi13060851 · Cited by 224
Quantization and Deployment of Deep Neural Networks on Microcontrollers
Novac, P.-E., Boukli Hacene, G., Pegatoquet, A., Miramond, B., & Gripon, V. (2021) · Sensors · doi:10.3390/s21092984 · Cited by 210
Artificial Intelligence in the IoT Era: A Review of Edge AI Hardware and Software
Sipola, T., Alatalo, J., Kokkonen, T., & Rantonen, M. (2022) · 2022 31st Conference of Open Innovations Association (FRUCT) · doi:10.23919/fruct54823.2022.9770931 · Cited by 100
“The weka-porter project supports only WEKA [177] decision tree conversions, and the Micro-LM project supports only models trained with the Desk-LM module [174], although the Desk-LM module in turn depends on and uses scikit-learn library.”
BackgroundMethodOn-Device Training of Machine Learning Models on Microcontrollers with Federated Learning
Giménez, N. L., Grau, M. M., Centelles, R. P., & Freitag, F. (2022) · Electronics · doi:10.3390/electronics11040573 · Cited by 76
Metadata
- Authors
- Sakr, F., Bellotti, F., Berta, R., & De Gloria, A.
- Affiliations
- University of Genoa (IT)
- Department of Electrical, Electronic and Telecommunication Engineering (DITEN)-University of Genoa, Via Opera Pia 11a, 16145 Genova, Italy
- Corresponding author
- Bellotti, Francesco
- Venue
- Sensors
- Publisher
- MDPI AG
- Published
- 2020-05-05
- Volume
- 20
- Issue
- 9
- Pages
- 2638
- ISSN
- 1424-8220 (ISSN-L)
- PMC
- PMC7249132
- OpenAlex
- W3021575660
- Cited by
- 109
- References
- 27
- Citations by year
- 2026: 10 · 2025: 14 · 2024: 25 · 2023: 16 · 2022: 21 · 2021: 20 · 2020: 2
- FWCI
- 6.93
- Type
- journal article
- Language
- en
- Open access
- gold
- dx.doi.org
- Licence
- Locations
- Sensors (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- CINECA IRIS Institutial Research Information System (University of Genoa) (submittedVersion, other-oa)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › IoT and Edge/Fog Computing
- Physical Sciences › Engineering › Control and Systems Engineering › Embedded Systems and FPGA Design
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- edge machine learning, microcontroller, embedded machine learning, artificial neural networks, support vector machine, k-nearest neighbors, decision tree, supervised classification, regression analysis, inference latency, open source software framework
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Machine Learning on Mainstream Microcontrollers. https://app.cochat.ai/papers/10.3390/s20092638
- The paper
- Sakr, F., Bellotti, F., Berta, R., & De Gloria, A. (2020). Machine Learning on Mainstream Microcontrollers. Sensors. https://doi.org/10.3390/s20092638
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.