Towards Accurate and Reliable Energy Measurement of NLP Models

Qingqing Cao, Aruna Balasubramanian, Niranjan Balasubramanian
10/11/2020
cs.CL

Official code: csarron/sustainlp2020-energy (5 stars, Python, last commit 2020-11-11).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

50Python, ShellOct 10, 20206 years ago

Similar Papers

Cite this paper

@article{cao2020towards,
  title  = {Towards Accurate and Reliable Energy Measurement of NLP Models},
  author = {Qingqing Cao and Aruna Balasubramanian and Niranjan Balasubramanian},
  year   = {2020},
  eprint = {2010.05248},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.05248}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.05248.svg)](https://codeofpaper.com/paper/2010.05248)

Discussion