Research

Paper

TESTING March 17, 2026

Energy Flow Graph: Modeling Software Energy Consumption

Authors

Saurabhsingh Rajput, Tushar Sharma

Abstract

The growing energy demands of computational systems necessitate a fundamental shift from performance-centric design to one that treats energy consumption as one of the primary design considerations. Current approaches treat energy consumption as an aggregate, deterministic property, overlooking the path-dependent nature of computation, where different execution paths through the same software consume dramatically different energy. We introduce the Energy Flow Graph (EFG), a formal model that represents computational processes as state-transition systems with energy costs for both states and transitions. EFG enables various applications in software engineering, including static analysis of energy-optimal execution paths and a multiplicative cascade model that predicts combined optimization effects without exhaustive testing. Our early experiments demonstrate EFG's versatility across domains: in software programs validated through 3.5 million executions, 15.6% of solutions exhibit high path-dependent variance (CV $>$ 0.1), while structural optimization reveals up to 705$\times$ energy reduction. In AI pipelines, the cascade model predicts optimization combinations within 5.1% error, enabling selection from 4.2 million possibilities using only 22 measurements. The EFG transforms energy optimization from trial-and-error to systematic analysis, providing a foundation for green software engineering across computational domains.

Metadata

arXiv ID: 2603.17162
Provider: ARXIV
Primary Category: cs.SE
Published: 2026-03-17
Fetched: 2026-03-19 06:01

Related papers

Raw Data (Debug)
{
  "raw_xml": "<entry>\n    <id>http://arxiv.org/abs/2603.17162v1</id>\n    <title>Energy Flow Graph: Modeling Software Energy Consumption</title>\n    <updated>2026-03-17T21:47:10Z</updated>\n    <link href='https://arxiv.org/abs/2603.17162v1' rel='alternate' type='text/html'/>\n    <link href='https://arxiv.org/pdf/2603.17162v1' rel='related' title='pdf' type='application/pdf'/>\n    <summary>The growing energy demands of computational systems necessitate a fundamental shift from performance-centric design to one that treats energy consumption as one of the primary design considerations. Current approaches treat energy consumption as an aggregate, deterministic property, overlooking the path-dependent nature of computation, where different execution paths through the same software consume dramatically different energy. We introduce the Energy Flow Graph (EFG), a formal model that represents computational processes as state-transition systems with energy costs for both states and transitions. EFG enables various applications in software engineering, including static analysis of energy-optimal execution paths and a multiplicative cascade model that predicts combined optimization effects without exhaustive testing. Our early experiments demonstrate EFG's versatility across domains: in software programs validated through 3.5 million executions, 15.6% of solutions exhibit high path-dependent variance (CV $&gt;$ 0.1), while structural optimization reveals up to 705$\\times$ energy reduction. In AI pipelines, the cascade model predicts optimization combinations within 5.1% error, enabling selection from 4.2 million possibilities using only 22 measurements. The EFG transforms energy optimization from trial-and-error to systematic analysis, providing a foundation for green software engineering across computational domains.</summary>\n    <category scheme='http://arxiv.org/schemas/atom' term='cs.SE'/>\n    <published>2026-03-17T21:47:10Z</published>\n    <arxiv:primary_category term='cs.SE'/>\n    <author>\n      <name>Saurabhsingh Rajput</name>\n    </author>\n    <author>\n      <name>Tushar Sharma</name>\n    </author>\n  </entry>"
}