- 제목
- Memory-efficient DNN Training on Mobile Devices (고정길 교수님 연구실)
- 작성일
- 2022.06.15
- 작성자
- 글로벌융합공학부
- 게시글 내용
-
Memory-efficient DNN Training on Mobile Devices
ACM International Conference on Mobile Systems, Applications, and Services (ACM MobiSys) 2022. (한국연구재단 인정 CS분야 최우수 국제학술대회 - IF 3인정)
Abstract:
On-device deep neural network (DNN) training holds the potential to enable a rich set of privacy-aware and infrastructure-independent personalized mobile applications. However, despite advancements in mobile hardware, locally training a complex DNN is still a non-trivial task given its resource demands. In this work, we show that the limited memory resources on mobile devices are the main constraint and propose Sage as a framework for efficiently optimizing memory resources for on-device DNN training. Specifically, Sage configures a flexible computation graph for DNN gradient evaluation and reduces the memory footprint of the graph using operator- and graph-level optimizations. In run-time, Sage employs a hybrid of gradient checkpointing and micro-batching techniques to dynamically adjust its memory use to the available system memory
budget. Using implementation on off-the-shelf smartphones, we show that Sage enables local training of complex DNN models by reducing memory use by more than 20-fold compared to a baseline approach. We also show that Sage successfully adapts to run-time memory budget variations, and evaluate its energy consumption to show Sage’s practical applicability.