Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Jiaru, Wang, Zesong, Wang, Hao, Song, Tao, Su, Huai-an, Chen, Rui, Hua, Yang, Zhou, Xiangwei, Ma, Ruhui, Pan, Miao, Guan, Haibing
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2501.16397
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910802243485696
author Zhang, Jiaru
Wang, Zesong
Wang, Hao
Song, Tao
Su, Huai-an
Chen, Rui
Hua, Yang
Zhou, Xiangwei
Ma, Ruhui
Pan, Miao
Guan, Haibing
author_facet Zhang, Jiaru
Wang, Zesong
Wang, Hao
Song, Tao
Su, Huai-an
Chen, Rui
Hua, Yang
Zhou, Xiangwei
Ma, Ruhui
Pan, Miao
Guan, Haibing
contents Battery-powered mobile devices (e.g., smartphones, AR/VR glasses, and various IoT devices) are increasingly being used for AI training due to their growing computational power and easy access to valuable, diverse, and real-time data. On-device training is highly energy-intensive, making accurate energy consumption estimation crucial for effective job scheduling and sustainable AI. However, the heterogeneity of devices and the complexity of models challenge the accuracy and generalizability of existing estimation methods. This paper proposes THOR, a generic approach for energy consumption estimation in deep neural network (DNN) training. First, we examine the layer-wise energy additivity property of DNNs and strategically partition the entire model into layers for fine-grained energy consumption profiling. Then, we fit Gaussian Process (GP) models to learn from layer-wise energy consumption measurements and estimate a DNN's overall energy consumption based on its layer-wise energy additivity property. We conduct extensive experiments with various types of models across different real-world platforms. The results demonstrate that THOR has effectively reduced the Mean Absolute Percentage Error (MAPE) by up to 30%. Moreover, THOR is applied in guiding energy-aware pruning, successfully reducing energy consumption by 50%, thereby further demonstrating its generality and potential.
format Preprint
id arxiv_https___arxiv_org_abs_2501_16397
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle THOR: A Generic Energy Estimation Approach for On-Device Training
Zhang, Jiaru
Wang, Zesong
Wang, Hao
Song, Tao
Su, Huai-an
Chen, Rui
Hua, Yang
Zhou, Xiangwei
Ma, Ruhui
Pan, Miao
Guan, Haibing
Machine Learning
Battery-powered mobile devices (e.g., smartphones, AR/VR glasses, and various IoT devices) are increasingly being used for AI training due to their growing computational power and easy access to valuable, diverse, and real-time data. On-device training is highly energy-intensive, making accurate energy consumption estimation crucial for effective job scheduling and sustainable AI. However, the heterogeneity of devices and the complexity of models challenge the accuracy and generalizability of existing estimation methods. This paper proposes THOR, a generic approach for energy consumption estimation in deep neural network (DNN) training. First, we examine the layer-wise energy additivity property of DNNs and strategically partition the entire model into layers for fine-grained energy consumption profiling. Then, we fit Gaussian Process (GP) models to learn from layer-wise energy consumption measurements and estimate a DNN's overall energy consumption based on its layer-wise energy additivity property. We conduct extensive experiments with various types of models across different real-world platforms. The results demonstrate that THOR has effectively reduced the Mean Absolute Percentage Error (MAPE) by up to 30%. Moreover, THOR is applied in guiding energy-aware pruning, successfully reducing energy consumption by 50%, thereby further demonstrating its generality and potential.
title THOR: A Generic Energy Estimation Approach for On-Device Training
topic Machine Learning
url https://arxiv.org/abs/2501.16397