arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.05520cs.LGcs.CYcs.SE
收藏

基于模型架构和训练环境的深度学习能耗估算

Estimating Deep Learning energy consumption based on model architecture and training environment

Universitat Politècnica de Catalunya(巴塞罗那理工大学);Tecnológico de Delft(代尔夫特理工大学)

Santiago del Rey, Luís Cruz, Xavier Franch, Silverio Martínez-Fernández

AI总结:

研究通过分析模型架构与训练环境对能耗的影响,提出STEP和PRE方法,显著提升能耗估算准确性,减少训练能耗达80.68%。

摘要:

为提高对深度学习环境影响的认识,许多研究估算DL系统的能耗。然而,训练期间的能耗估计常依赖未经验证的假设。本文通过研究模型架构和训练环境对能耗的影响,训练多种计算机视觉模型并收集能耗和准确率指标,分析其配置间的权衡。结果表明,选择合适的模型-训练环境组合可将训练能耗降低80.68%,准确率损失低于2%。发现模型与训练环境之间存在显著交互效应:GPU计算能力与模型复杂度成正比时,能效提升。此外,证明常用估算方法如FLOPs或GPU TDP无法捕捉这些动态,可能导致重大误差。为此,提出STable Training Epoch Projection (STEP)和Pre-training Regression-based Estimation (PRE)方法。在评估中,这些方法在估算准确性上比现有工具高两倍或更多。

英文摘要:

To raise awareness of the environmental impact of deep learning (DL), many studies estimate the energy use of DL systems. However, energy estimates during DL training often rely on unverified assumptions. This work addresses that gap by investigating how model architecture and training environment affect energy consumption. We train a variety of computer vision models and collect energy consumption and accuracy metrics to analyze their trade-offs across configurations. Our results show that selecting the right model-training environment combination can reduce training energy consumption by up to 80.68% with less than 2% loss in $F_1$ score. We find a significant interaction effect between model and training environment: energy efficiency improves when GPU computational power scales with model complexity. Moreover, we demonstrate that common estimation practices, such as using FLOPs or GPU TDP, fail to capture these dynamics and can lead to substantial errors. To address these shortcomings, we propose the Stable Training Epoch Projection (STEP) and the Pre-training Regression-based Estimation (PRE) methods. Across evaluations, our methods outperform existing tools by a factor of two or more in estimation accuracy.

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

↑