top of page

Towards Accurate and Reliable Energy Measurement of NLP Models

Reference Type: 

Conference Paper

Cao, Qingqing, A. Balasubramanian, and Niranjan Balasubramanian. 2020. “Towards Accurate and Reliable Energy Measurement of NLP Models.” In Proceedings of SustaiNLP: Workshop on Simple and Efficient Natural Language Processing, 141–48. Association for Computational Linguistics. https://doi.org/10.18653/v1/2020.sustainlp-1.19.

This work shows that existing software-based energy estimations are not accurate because they do not take into account hardware differences and how resource utilization affects energy consumption, and quantify the error by using a hardware power meter. 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 estimations 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 estimations 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.

Download Reference:

Search for the Publication In:

Formatted Reference:

bottom of page