On-Device Training of Machine Learning Models on Microcontrollers With a Look at Federated Learning
Marc Monfort Grau, Roger Pueyo Centelles, Fèlix Freitag
Abstract
Recent progress in machine learning frameworks makes it now possible to run an inference with sophisticated machine learning models on tiny microcontrollers. Model training, however, is typically done separately on powerful computers. There, the training process has abundant CPU and memory resources to process the stored datasets. In this work, we explore a different approach: training the model directly on the microcontroller. We implement this approach for a keyword spotting task. Then, we extend the training process using federated learning among microcontrollers. Our experiments with model training show an overall trend of decreasing loss with the increase of training epochs.
Topics & Concepts
MicrocontrollerComputer scienceProcess (computing)Training (meteorology)InferenceTask (project management)Machine learningArtificial intelligenceEmbedded systemOperating systemEngineeringMeteorologySystems engineeringPhysicsIoT and Edge/Fog ComputingData Stream Mining TechniquesInternet Traffic Analysis and Secure E-voting