arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.13972cs.LGcs.SE
收藏

深度学习训练中的节能实践:迈向绿色AI的初步步骤

Uncovering Energy-Efficient Practices in Deep Learning Training: Preliminary Steps Towards Green AI

Delft University of Technology(代尔夫特理工大学);University of Groningen(格罗宁根大学)

Tim Yarally, Luís Cruz, Daniel Feitosa, June Sallou, Arie van Deursen

摘要:

现代人工智能实践都朝着同一个目标努力:更好的结果。在深度学习的背景下,术语“结果”通常指的是在竞争性问题集上实现的准确性。在本文中,我们采用了新兴的绿色人工智能领域的想法,将能耗视为与准确性同等重要的指标,并减少任何不相关的任务或能源使用。我们从可持续性的角度来研究深度学习管道的训练阶段,通过研究超参数调整策略和模型复杂性,这两个因素极大地影响了整个管道的能耗。首先,我们研究了网格搜索,随机搜索和贝叶斯优化在超参数调整的有效性,我们发现贝叶斯优化显着占主导地位的其他策略。此外,我们分析了卷积神经网络的架构,其中三种主要层类型的能耗:卷积层,线性层和ReLU层。结果表明,卷积层是计算成本最高的。此外,我们观察到更耗能的模型的准确性收益递减。通过降低网络复杂度,训练的总能耗可以减半。总之,我们强调了用于训练深度学习模型的创新和有前途的节能实践。为了扩大绿色人工智能的应用,我们主张通过考虑能源效率和准确性之间的权衡,改变深度学习模型的设计。

英文摘要:

Modern AI practices all strive towards the same goal: better results. In the context of deep learning, the term "results" often refers to the achieved accuracy on a competitive problem set. In this paper, we adopt an idea from the emerging field of Green AI to consider energy consumption as a metric of equal importance to accuracy and to reduce any irrelevant tasks or energy usage. We examine the training stage of the deep learning pipeline from a sustainability perspective, through the study of hyperparameter tuning strategies and the model complexity, two factors vastly impacting the overall pipeline's energy consumption. First, we investigate the effectiveness of grid search, random search and Bayesian optimisation during hyperparameter tuning, and we find that Bayesian optimisation significantly dominates the other strategies. Furthermore, we analyse the architecture of convolutional neural networks with the energy consumption of three prominent layer types: convolutional, linear and ReLU layers. The results show that convolutional layers are the most computationally expensive by a strong margin. Additionally, we observe diminishing returns in accuracy for more energy-hungry models. The overall energy consumption of training can be halved by reducing the network complexity. In conclusion, we highlight innovative and promising energy-efficient practices for training deep learning models. To expand the application of Green AI, we advocate for a shift in the design of deep learning models, by considering the trade-off between energy efficiency and accuracy.

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

↑