Litcius/Paper detail

ML-MCU: A Framework to Train ML Classifiers on MCU-Based IoT Edge Devices

Bharath Sudharsan, John G. Breslin, Muhammad Intizar Ali

2021IEEE Internet of Things Journal46 citationsDOI

Abstract

The majority of IoT edge devices are embedded systems with a tiny microcontroller unit (MCU), which acts as its brain. When users want their edge devices to continuously improve for better edge-analytics results, there is a need to equip their devices with algorithms that can learn/train from the continuously evolving real-world data. Currently, such devices are not capable of executing any machine learning (ML)-based model training tasks due to their resource constraints such as: limited memory (SRAM, Flash, and EEPROM), low operations per second, its inability to perform parallel processing, etc. In this article, we provide ML-MCU, a framework with our novel <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Optimized-Stochastic Gradient Descent (Opt-SGD)</i> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Optimized One-Versus-One (Opt-OVO)</i> algorithms to enable both binary and multiclass ML classifier training directly on MCUs. Thus, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ML-MCU</i> enables billions of MCU-based IoT edge devices to self learn/train (offline) after their deployment, using live data from a wide range of IoT use cases. When evaluating our algorithms on multiple popular MCUs, using various data sets of different sizes and feature dimensions, one of the most exciting findings was, our <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Opt-OVO</i> algorithm trained a multiclass classifier using a data set of class count 50, on a <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\$ $ </tex-math></inline-formula> 3 resource-constrained MCU and also performed onboard unit inference for the same 50 class data in super real time (6.2 ms).

Topics & Concepts

Computer scienceMicrocontrollerEnhanced Data Rates for GSM EvolutionEEPROMEdge deviceArtificial intelligenceComputer hardwareEmbedded systemMachine learningOperating systemCloud computingIoT and Edge/Fog ComputingAdvanced Neural Network ApplicationsMachine Learning and ELM
ML-MCU: A Framework to Train ML Classifiers on MCU-Based IoT Edge Devices | Litcius