Dissecting Transformers: A CLEAR Perspective Towards Green AI

Hemang Jain, Shailender Goyal, Divyansh Pandey, Karthik Vaidhyanathan


Abstract
The rapid adoption of Large Language Models (LLMs) has raised significant environmental concerns. Unlike the one-time cost of training, LLM inference occurs continuously and dominates the AI energy footprint. Yet most sustainability studies report only coarse model-level metrics, treating energy efficiency as an afterthought rather than a primary objective. Addressing the limitation, we propose Component-Level Energy Assessment via Repetitions (CLEAR), to overcome temporal mismatch between microsecond scale component execution and millisecond(ms) scale monitoring of energy sensors. Using CLEAR, we evaluate 15 models spanning four architecture types, keeping component-wise energy variance below 9.5% while capturing over 90% of total energy as individual components. We present the first comprehensive, fine-grained energy analysis of Transformer components across key parameters such as batch size, attention heads, hidden dimension, KV cache, and attention variants. Our findings reveal that Attention consumes significantly more Energy per FLOP as compared to the entire model, indicating that FLOPs alone fail to capture true component-level energy cost. CLEAR enables reliable fine-grained energy measurements and provides a strong formal foundation for predictive modelling of energy consumption.
Anthology ID:
2026.emnlp-main.21
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
452–483
Language:
URL:
https://aclanthology.org/2026.emnlp-main.21/
DOI:
Bibkey:
Cite (ACL):
Hemang Jain, Shailender Goyal, Divyansh Pandey, and Karthik Vaidhyanathan. 2026. Dissecting Transformers: A CLEAR Perspective Towards Green AI. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 452–483, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Dissecting Transformers: A CLEAR Perspective Towards Green AI (Jain et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.21.pdf