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

NLP模型能量的精确可靠测量

Towards Accurate and Reliable Energy Measurement of NLP Models

Stony Brook University(石溪大学);Department of Computer Science(计算机科学系);Stony Brook, NY 11794, USA(石溪,纽约州,11794,美国(注意:此地址部分不应作为机构,根据要求修正))

Qingqing Cao, Aruna Balasubramanian, Niranjan Balasubramanian

摘要:

在选择和训练大规模NLP模型时,准确可靠的能耗测量对于做出明智的设计选择至关重要。在这项工作中,我们表明,现有的基于软件的能源测量是不准确的,因为它们不考虑硬件的差异,以及资源利用率如何影响能源消耗。我们用四种不同的模型对一个问答任务进行了能量测量实验。我们量化现有的基于软件的能量测量的误差,通过使用硬件功率计,提供高度准确的能量测量。我们的关键是需要一个更准确的能源估计模型,考虑到硬件的可变性和资源利用率和能源消耗之间的非线性关系。我们在https://github.com/csarron/sustainlp2020-energy上发布代码和数据。

英文摘要:

Accurate and reliable measurement of energy consumption is critical for making well-informed design choices when choosing and training large scale NLP models. In this work, we show that existing software-based energy measurements are not accurate because they do not take into account hardware differences and how resource utilization affects energy consumption. We conduct energy measurement experiments with four different models for a question answering task. We quantify the error of existing software-based energy measurements by using a hardware power meter that provides highly accurate energy measurements. Our key takeaway is the need for a more accurate energy estimation model that takes into account hardware variabilities and the non-linear relationship between resource utilization and energy consumption. We release the code and data at https://github.com/csarron/sustainlp2020-energy.

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

↑