Tensor-Aware Energy Accounting
–arXiv.org Artificial Intelligence
With the rapid growth of Artificial Intelligence (AI) applications supported by deep learning (DL), the energy efficiency of these applications has an increasingly large impact on sustainability. We introduce Smaragdine, a new energy accounting system for tensor-based DL programs implemented with TensorFlow. At the heart of Smaragdine is a novel white-box methodology of energy accounting: Smaragdine is aware of the internal structure of the DL program, which we call tensor-aware energy accounting. With Smaragdine, the energy consumption of a DL program can be broken down into units aligned with its logical hierarchical decomposition structure. We apply Smaragdine for understanding the energy behavior of BERT, one of the most widely used language models. Layer-by-layer and tensor-by-tensor, Smaragdine is capable of identifying the highest energy/power-consuming components of BERT. Furthermore, we conduct two case studies on how Smaragdine supports downstream toolchain building, one on the comparative energy impact of hyperparameter tuning of BERT, the other on the energy behavior evolution when BERT evolves to its next generation, ALBERT.
arXiv.org Artificial Intelligence
Nov-19-2023
- Country:
- North America > United States
- Oregon > Multnomah County
- Portland (0.04)
- New York
- New York County > New York City (0.04)
- Broome County > Binghamton (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Massachusetts > Suffolk County
- Boston (0.04)
- Georgia > Chatham County
- Savannah (0.04)
- California > Sacramento County
- Sacramento (0.04)
- Oregon > Multnomah County
- Europe
- Portugal > Lisbon
- Lisbon (0.05)
- Netherlands > North Holland
- Amsterdam (0.04)
- Portugal > Lisbon
- Asia > Japan
- Honshū > Tōhoku > Fukushima Prefecture > Fukushima (0.04)
- North America > United States
- Genre:
- Research Report (0.82)
- Industry:
- Energy (0.53)
- Technology: