On-Device Training of Machine Learning Models on Microcontrollers with Federated Learning

被引:16
|
作者
Llisterri Gimenez, Nil [1 ]
Monfort Grau, Marc [1 ]
Pueyo Centelles, Roger [1 ]
Freitag, Felix [1 ]
机构
[1] Univ Politecn Catalunya UPC, Dept Arquitectura Comp, Barcelona 08034, Spain
关键词
machine learning; keyword spotting; embedded systems; federated learning;
D O I
10.3390/electronics11040573
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent progress in machine learning frameworks has made it possible to now perform inference with models using cheap, tiny microcontrollers. Training of machine learning models for these tiny devices, however, is typically done separately on powerful computers. This way, the training process has abundant CPU and memory resources to process large stored datasets. In this work, we explore a different approach: training the machine learning model directly on the microcontroller and extending the training process with federated learning. We implement this approach for a keyword spotting task. We conduct experiments with real devices to characterize the learning behavior and resource consumption for different hyperparameters and federated learning configurations. We observed that in the case of training locally with fewer data, more frequent federated learning rounds more quickly reduced the training loss but involved a cost of higher bandwidth usage and longer training time. Our results indicate that, depending on the specific application, there is a need to determine the trade-off between the requirements and the resource usage of the system.
引用
收藏
页数:15
相关论文
共 50 条
  • [31] Reduced precision floating-point optimization for Deep Neural Network On-Device Learning on microcontrollers
    Nadalini, Davide
    Rusci, Manuele
    Benini, Luca
    Conti, Francesco
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2023, 149 : 212 - 226
  • [32] Accelerated Training via Device Similarity in Federated Learning
    Wang, Yuanli
    Wolfrath, Joel
    Sreekumar, Nikhil
    Kumar, Dhruv
    Chandra, Abhishek
    [J]. PROCEEDINGS OF THE 4TH INTERNATIONAL WORKSHOP ON EDGE SYSTEMS, ANALYTICS AND NETWORKING (EDGESYS'21), 2021, : 31 - 36
  • [33] LEARNING TO LISTEN ... ON-DEVICE Present and future perspectives of on-device ASR
    Vipperla, Ravichander
    Ishtiaq, Samin
    Li, Rui
    Bhattacharya, Sourav
    Leontiadis, Ilias
    Lane, Nicholas D.
    [J]. GETMOBILE-MOBILE COMPUTING & COMMUNICATIONS REVIEW, 2019, 23 (04) : 5 - 9
  • [34] Toward On-Device Federated Learning: A Direct Acyclic Graph-Based Blockchain Approach
    Cao, Mingrui
    Zhang, Long
    Cao, Bin
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2023, 34 (04) : 2028 - 2042
  • [35] FedZKT: Zero-Shot Knowledge Transfer towards Resource-Constrained Federated Learning with Heterogeneous On-Device Models
    Zhang, Lan
    Wu, Dapeng
    Yuan, Xiaoyong
    [J]. 2022 IEEE 42ND INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2022), 2022, : 928 - 938
  • [36] Addressing the Gap Between Training Data and Deployed Environment by On-Device Learning
    Sunaga, Kazuki
    Kondo, Masaaki
    Matsutani, Hiroki
    [J]. IEEE MICRO, 2023, 43 (06) : 66 - 73
  • [37] Neural interface systems with on-device computing: machine learning and neuromorphic architectures
    Yoo, Jerald
    Shoaran, Mahsa
    [J]. CURRENT OPINION IN BIOTECHNOLOGY, 2021, 72 : 95 - 101
  • [38] Using Undervolting as an on-Device Defense Against Adversarial Machine Learning Attacks
    Majumdar, Saikat
    Samavatian, Mohammad Hossein
    Barber, Kristin
    Teodorescu, Radu
    [J]. 2021 IEEE INTERNATIONAL SYMPOSIUM ON HARDWARE ORIENTED SECURITY AND TRUST (HOST), 2021, : 158 - 169
  • [39] Machine Learning on Mobile: An On-device Inference App for Skin Cancer Detection
    Dai, Xiangfeng
    Spasic, Irena
    Meyer, Bradley
    Chapman, Samuel
    Andres, Frederic
    [J]. 2019 FOURTH INTERNATIONAL CONFERENCE ON FOG AND MOBILE EDGE COMPUTING (FMEC), 2019, : 301 - 305
  • [40] Robustness of on-device Models: Adversarial Attack to Deep Learning Models on Android Apps
    Huang, Yujin
    Hu, Han
    Chen, Chunyang
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2021), 2021, : 101 - 110