This paper investigated the application of unsupervised learning on a mainstream microcontroller, like the STM32 F4. We focused on the simple K-means technique, which achieved good accuracy levels on the four test datasets. These results are similar to those obtained by training a k-nearest neighbor (K-NN) classifier with the actual labels, apart from one case, in which K-NN performs consistently better. We propose an autonomous edge learning and inferencing pipeline, with a K-NN classifier which is periodically (i.e., when a given number of new samples have arrived) trained with the labels obtained from clustering the dataset via K-means. This system performs only slightly worse than pure K-means in terms of accuracy (particularly with small data subsets), while it achieves a reduction of about two orders of magnitude in latency times. To the best of our knowledge, this is the first proposal of this kind in literature for resource-limited edge devices.
Exploring Unsupervised Learning on STM32 F4 Microcontroller
Bellotti F.;Berta R.;De Gloria A.;Sakr F.
2021-01-01
Abstract
This paper investigated the application of unsupervised learning on a mainstream microcontroller, like the STM32 F4. We focused on the simple K-means technique, which achieved good accuracy levels on the four test datasets. These results are similar to those obtained by training a k-nearest neighbor (K-NN) classifier with the actual labels, apart from one case, in which K-NN performs consistently better. We propose an autonomous edge learning and inferencing pipeline, with a K-NN classifier which is periodically (i.e., when a given number of new samples have arrived) trained with the labels obtained from clustering the dataset via K-means. This system performs only slightly worse than pure K-means in terms of accuracy (particularly with small data subsets), while it achieves a reduction of about two orders of magnitude in latency times. To the best of our knowledge, this is the first proposal of this kind in literature for resource-limited edge devices.File | Dimensione | Formato | |
---|---|---|---|
Applepies paper UL v4f.pdf
accesso chiuso
Descrizione: Contributo in atti di convegno
Tipologia:
Documento in Pre-print
Dimensione
537.13 kB
Formato
Adobe PDF
|
537.13 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.