Energy Calculus: A Compositional Algebra of Energy in Computational Systems

πŸ“… 2026-07-13
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses the lack of a general, composable framework for energy modeling in existing AI systems, which hinders holistic analysis of energy efficiency across diverse optimization strategies. The paper introduces Energy Calculusβ€”a novel algebraic system that treats energy consumption as a first-class primitive. Built upon energy units, energy signatures, and three composition operators, it supports arbitrary DAG-structured computational tasks. The framework formally reveals the non-commutative and non-distributive nature of energy under sequential and parallel composition, and introduces a reduction theorem enabling context-free degradation. Integrated with seven hardware axioms and an uncertainty propagation mechanism, Energy Calculus facilitates energy prediction with bounded error and enables cross-device, multi-granularity Pareto-front analysis of time-energy trade-offs.
πŸ“ Abstract
Energy is a binding constraint for AI scaling, yet it lacks the formal treatment that computation, communication, and learning have long enjoyed. Recent systems demonstrate large energy savings, but each targets a specific granularity and structure; one cannot combine frequency scaling from one system with critical-path analysis from another and reason about their joint effect on total energy. Energy remains a monolithic scalar that is measured after the fact and optimized with point solutions that do not generalize. We propose energy calculus, a compositional algebra that treats energy as a first-class primitive. It builds on energy elements, units of computation whose energy we can reliably measure, each carrying an energy signature that comprises its time, its static and dynamic energy, the hardware operating point and execution context under which we measured it, and the associated measurement uncertainty. Three operators (sequential, same-device parallel, and cross-device parallel) compose signatures along the same structure as the computation itself, covering arbitrary DAG-structured executions. The algebra rests on seven axioms that capture how hardware consumes energy, and it exhibits two properties distinctive to energy among computing resources: sequential composition commutes only when elements are mutually context-insensitive, and sequential composition does not distribute over parallel composition. We also present a Reduction Theorem that recovers simple context-independent algebra whenever interactions fall below measurement uncertainty, so practitioners pay for context dependence only where the physics demands it. Uncertainty propagates through every composition, so each prediction carries an error bound. Finally, we show that the same operators extend from energy totals to time--energy Pareto frontiers, so reasoning about tradeoffs composes with the same algebra.
Problem

Research questions and friction points this paper is trying to address.

energy modeling
compositional algebra
computational systems
energy compositionality
formal energy reasoning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Energy Calculus
Compositional Algebra
Energy Signature
Context-Dependent Composition
Uncertainty Propagation
πŸ”Ž Similar Papers
No similar papers found.