• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Scopus
  4. On-Device Training of Fully Quantized Deep Neural Networks on Cortex-M Microcontrollers
 
  • Details
  • Full
Options
2025
Journal Article
Title

On-Device Training of Fully Quantized Deep Neural Networks on Cortex-M Microcontrollers

Abstract
On-device training of deep neural networks (DNNs) allows models to adapt and fine tune to newly collected data or changing domains while deployed on microcontroller units (MCUs). However, DNN training is a resource-intensive task, making the implementation and execution of DNN training algorithms on MCUs challenging due to low processor speeds, constrained throughput, limited floating-point support, and memory constraints. In this work, we explore on-device training DNNs for different sized Cortex-M MCUs (Cortex-M0+, Cortex-M4, and Cortex-M7). We present a method that enables efficient training of DNNs completely in place on the MCU using fully quantized training (FQT) and dynamic partial gradient updates. We demonstrate the feasibility of our approach on multiple vision and time-series datasets and provide insights into the tradeoff between training accuracy, memory overhead, energy, and latency on real hardware. The results show that compared to related work, our approach requires 34.8% less memory and has a 49.0% lower latency per training sample, with dynamic partial gradient updates allowing a speedup of up to 8.7 compared to fully updating all weights.
Author(s)
Deutel, Mark
Friedrich-Alexander-Universität Erlangen-Nürnberg
Hannig, Frank
Friedrich-Alexander-Universität Erlangen-Nürnberg
Mutschler, Christopher  
Fraunhofer-Institut für Integrierte Schaltungen IIS  
Teich, J̈urgen
Friedrich-Alexander-Universität Erlangen-Nürnberg
Journal
IEEE transactions on computer-aided design of integrated circuits and systems  
DOI
10.1109/TCAD.2024.3484354
Language
English
Fraunhofer-Institut für Integrierte Schaltungen IIS  
Keyword(s)
  • Efficient AI

  • embedded machine learning

  • microcontrollers

  • on-device training

  • TinyML

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024