English

Dissecting FLOPs along input dimensions for GreenAI cost estimations

Machine Learning 2025-11-06 v1

Abstract

The term GreenAI refers to a novel approach to Deep Learning, that is more aware of the ecological impact and the computational efficiency of its methods. The promoters of GreenAI suggested the use of Floating Point Operations (FLOPs) as a measure of the computational cost of Neural Networks; however, that measure does not correlate well with the energy consumption of hardware equipped with massively parallel processing units like GPUs or TPUs. In this article, we propose a simple refinement of the formula used to compute floating point operations for convolutional layers, called {\alpha}-FLOPs, explaining and correcting the traditional discrepancy with respect to different layers, and closer to reality. The notion of {\alpha}-FLOPs relies on the crucial insight that, in case of inputs with multiple dimensions, there is no reason to believe that the speedup offered by parallelism will be uniform along all different axes.

Keywords

Cite

@article{arxiv.2107.11949,
  title  = {Dissecting FLOPs along input dimensions for GreenAI cost estimations},
  author = {Andrea Asperti and Davide Evangelista and Moreno Marzolla},
  journal= {arXiv preprint arXiv:2107.11949},
  year   = {2025}
}

Comments

Article accepted at the 7th International Conference on Machine Learning, Optimization, and Data Science. October 4-8, 2021, Grasmere, Lake District, UK

R2 v1 2026-06-24T04:30:44.196Z