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 条
  • [1] PARTIAL VARIABLE TRAINING FOR EFFICIENT ON-DEVICE FEDERATED LEARNING
    Yang, Tien-Ju
    Guliani, Dhruv
    Beaufays, Francoise
    Motta, Giovanni
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 4348 - 4352
  • [2] Blockchained On-Device Federated Learning
    Kim, Hyesung
    Park, Jihong
    Bennis, Mehdi
    Kim, Seong-Lyun
    [J]. IEEE COMMUNICATIONS LETTERS, 2020, 24 (06) : 1279 - 1283
  • [3] TinyFL: On-Device Training, Communication And Aggregation On A Microcontroller For Federated Learning
    Wulfert, Lars
    Wiede, Christian
    Grabmaier, Anton
    [J]. 2023 21ST IEEE INTERREGIONAL NEWCAS CONFERENCE, NEWCAS, 2023,
  • [4] A Crowdsourcing Framework for On-Device Federated Learning
    Pandey, Shashi Raj
    Tran, Nguyen H.
    Bennis, Mehdi
    Tun, Yan Kyaw
    Manzoor, Aunas
    Hong, Choong Seon
    [J]. IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2020, 19 (05) : 3241 - 3256
  • [5] Federated Learning with Heterogeneous Models for On-device Malware Detection in IoT Networks
    Shukla, Sanket
    Rafatirad, Setareh
    Homayoun, Houman
    Dinakarrao, Sai Manoj Pudukottai
    [J]. 2023 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2023,
  • [6] Trading Data For Learning: Incentive Mechanism For On-Device Federated Learning
    Hu, Rui
    Gong, Yanmin
    [J]. 2020 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2020,
  • [7] SODA: Protecting Proprietary Information in On-Device Machine Learning Models
    Atrey, Akanksha
    Sinha, Ritwik
    Mitra, Saayan
    Shenoy, Prashant
    [J]. 2023 IEEE/ACM SYMPOSIUM ON EDGE COMPUTING, SEC 2023, 2023, : 121 - 132
  • [8] Hiding in the Crowd: Federated Data Augmentation for On-Device Learning
    Jeong, Eunjeong
    Oh, Seungeun
    Park, Jihong
    Kim, Hyesung
    Bennis, Mehdi
    Kim, Seong-Lyun
    [J]. IEEE INTELLIGENT SYSTEMS, 2021, 36 (05) : 80 - 86
  • [9] ENABLING ON-DEVICE TRAINING OF SPEECH RECOGNITION MODELS WITH FEDERATED DROPOUT
    Guliani, Dhruv
    Zhou, Lillian
    Ryu, Changwan
    Yang, Tien-Ju
    Zhang, Harry
    Xiao, Yonghui
    Beaufays, Francoise
    Motta, Giovanni
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 8757 - 8761
  • [10] Intermittent learning: On-device machine learning on intermittently powered system
    Lee S.
    Islam B.
    Luo Y.
    Nirjon S.
    [J]. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2019, 3 (04)