Adaptive ensemble optimization for memory-related hyperparameters in retraining DNN at edge

Yidong Xu, Rui Han*, Xiaojiang Zuo, Junyan Ouyang, Chi Harold Liu, Lydia Y. Chen

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Edge applications are increasingly empowered by deep neural networks (DNN) and face the challenges of adapting or retraining models for the changes in input data domains and learning tasks. The existing techniques to enable DNN retraining on edge devices are to configure the memory-related hyperparameters, termed m-hyperparameters, via batch size reduction, parameter freezing, and gradient checkpoint. While those methods show promising results for static DNNs, little is known about how to online and opportunistically optimize all their m-hyperparameters, especially for retraining tasks of edge applications. In this paper, we propose, MPOptimizer, which jointly optimizes an ensemble of m-hyperparameters according to the input distribution and available edge resources at runtime. The key feature of MPOptimizer is to easily emulate the execution of retraining tasks under different m-hyperparameters and thus effectively estimate their influence on task performance. We implement MPOptimizer on prevalent DNNs and demonstrate its effectiveness against state-of-the-art techniques, i.e. successfully find the best configuration that improves model accuracy by an average of 13% (up to 25.3%) while reducing memory and training time by 4.1x and 5.3x under the same model accuracies.

Original languageEnglish
Article number107600
JournalFuture Generation Computer Systems
Volume164
DOIs
Publication statusPublished - Mar 2025

Keywords

  • Deep neural networks (DNN)
  • Edge computing
  • Memory-related hyperparameters
  • Model retraining

Fingerprint

Dive into the research topics of 'Adaptive ensemble optimization for memory-related hyperparameters in retraining DNN at edge'. Together they form a unique fingerprint.

Cite this