CoChat

Machine Learning on Mainstream Microcontrollers

Open access
Sakr, Fouad, Bellotti, Francesco, Berta, Riccardo, De Gloria, Alessandro · 2020 · Sensors

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.3390/s20092638

Cites

27 of 28 references verified0 citation errors · 1 not checkable

Statistics

Figures

Figure 1 Block diagram of the Edge Learning Machine system architecture.
Figure 1 Block diagram of the Edge Learning Machine system architecture.CC BY · PubMed Central
Figure 2 Supported workflow.
Figure 2 Supported workflow.CC BY · PubMed Central
Figure 3 Accuracy vs. Epochs for (a) Heart, (b) Virus, (c) Sonar, (d) Peugeot target 14, and (e) Peugeot target 15.
Figure 3 Accuracy vs. Epochs for (a) Heart, (b) Virus, (c) Sonar, (d) Peugeot target 14, and (e) Peugeot target 15.CC BY · PubMed Central
Figure 4 Mean Squared Error vs. Epochs for (a) EnviroCar, and (b) air quality index (AQI).
Figure 4 Mean Squared Error vs. Epochs for (a) EnviroCar, and (b) air quality index (AQI).CC BY · PubMed Central
Figure 5 Number of occurrences of each DT parameter.
Figure 5 Number of occurrences of each DT parameter.CC BY · PubMed Central

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 28 references

Research works printed but not linked: 3

  1. Suda N. Loh D. Machine Learning on ARM Cortex-M Microcontrollers Arm Ltd. Cambridge, UK 2019
  2. Goodfellow I. Bengio Y. Courville A. Deep Learning The MIT Press Cambridge, UK 2016
  3. Vapnik V.N. Lerner A.Y. Recognition of Patterns with help of Generalized Portraits Avtomat. Telemekh. 1963 24 774 780

Cited by

Items 101–111 of 111

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)
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
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

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.