训练的力量:不同神经网络架构如何影响能源需求
The Power of Training: How Different Neural Network Setups Influence the Energy Demand
AI总结:
本研究评估机器学习训练参数与学习范式对计算能耗的影响,发现相同模型硬件下不当超参数能耗可达最优设置的5倍,并验证了预训练、多任务训练等范式的节能作用。
摘要:
本研究从生命周期视角出发,对机器学习训练机制与学习范式的差异对计算(尤其是高性能计算(HPC)硬件)能耗的影响开展启发式评估。随着数据可用性的提升与高性能硬件的创新推动了复杂模型的训练,人们对能耗与碳排放的感知也在逐渐弱化。因此,本研究旨在提升人们对通用训练参数与流程(从学习率、批量大小到知识迁移)的能源影响的认知。研究在三种不同硬件系统上评估了多种具备不同超参数配置的训练设置。在诸多结果中我们发现,即便使用相同模型与硬件以达到相同精度,超参数设置不当的训练方案消耗的能源最高可达最优设置的5倍。我们还广泛探究了多种学习范式的节能效益,包括通过预训练复用知识、通过多任务训练共享知识的范式。
英文摘要:
This work offers a heuristic evaluation of the effects of variations in machine learning training regimes and learning paradigms on the energy consumption of computing, especially HPC hardware with a life-cycle aware perspective. While increasing data availability and innovation in high-performance hardware fuels the training of sophisticated models, it also fosters the fading perception of energy consumption and carbon emission. Therefore, the goal of this work is to raise awareness about the energy impact of general training parameters and processes, from learning rate over batch size to knowledge transfer. Multiple setups with different hyperparameter configurations are evaluated on three different hardware systems. Among many results, we have found out that even with the same model and hardware to reach the same accuracy, improperly set training hyperparameters consume up to 5 times the energy of the optimal setup. We also extensively examined the energy-saving benefits of learning paradigms including recycling knowledge through pretraining and sharing knowledge through multitask training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。