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
DOI: https://doi.org/10.1016/j.future.2024.107600
IF: 7.307
2024-11-13
Future Generation Computer Systems
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.
computer science, theory & methods
What problem does this paper attempt to address?