arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.12264cs.LGcs.AIcs.PFcs.SE
收藏

通过细粒度能量测量增强深度学习中的能量感知

Enhancing Energy-Awareness in Deep Learning through Fine-Grained Energy Measurement

Dalhousie University(达尔豪斯大学);University College London(伦敦大学学院);Nanyang Technological University(南洋理工大学)

Saurabhsingh Rajput, Tim Widmayer, Ziyuan Shang, Maria Kechagia, Federica Sarro, Tushar Sharma

AI总结:

针对深度学习细粒度能耗测量工具缺失的问题,提出基于静态插桩的FECoM框架,在TensorFlow上验证了其测量能力并探究了能耗影响因素,为DL能量感知研究提供工具支撑。

摘要:

随着深度学习(DL)模型的使用规模、范围和复杂度不断提升,其快速增长的能耗已成为关键问题。在不同粒度层面推动绿色发展与能量感知,是当下限制深度学习系统碳排放的迫切需求。然而,目前缺乏可重复的标准工具来在细粒度(例如方法级)上准确测量并优化能耗,阻碍了该领域的进展。本文提出FECoM(细粒度能耗计量器),这是一款用于深度学习细粒度能耗测量的框架。FECoM支持研究人员和开发者从能耗角度对深度学习应用程序接口(API)进行性能剖析。它通过静态插桩技术,并考虑计算负载、温度稳定性等多种因素,解决了细粒度层面能耗测量的相关难题。我们针对最流行的开源深度学习框架之一TensorFlow,评估了FECoM的细粒度能耗测量能力。借助FECoM,我们还探究了参数规模与执行时间对能耗的影响,深化了对TensorFlow API能耗特征的认知。此外,本文详细阐述了设计与实现细粒度能耗测量工具时需要考量的注意事项、存在的问题与面临的挑战。本研究将推动深度学习能耗测量领域的进一步发展,助力深度学习系统能量感知实践的开发。

英文摘要:

With the increasing usage, scale, and complexity of Deep Learning (DL) models, their rapidly growing energy consumption has become a critical concern. Promoting green development and energy awareness at different granularities is the need of the hour to limit carbon emissions of DL systems. However, the lack of standard and repeatable tools to accurately measure and optimize energy consumption at a fine granularity (e.g., at method level) hinders progress in this area. This paper introduces FECoM (Fine-grained Energy Consumption Meter), a framework for fine-grained DL energy consumption measurement. FECoM enables researchers and developers to profile DL APIs from energy perspective. FECoM addresses the challenges of measuring energy consumption at fine-grained level by using static instrumentation and considering various factors, including computational load and temperature stability. We assess FECoM's capability to measure fine-grained energy consumption for one of the most popular open-source DL frameworks, namely TensorFlow. Using FECoM, we also investigate the impact of parameter size and execution time on energy consumption, enriching our understanding of TensorFlow APIs' energy profiles. Furthermore, we elaborate on the considerations, issues, and challenges that one needs to consider while designing and implementing a fine-grained energy consumption measurement tool. This work will facilitate further advances in DL energy measurement and the development of energy-aware practices for DL systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑