← Latest papers
🤖 machine learning

EnergyLens: Interpretable Closed-Form Energy Models for Multimodal LLM Inference Serving

EnergyLens introduces an interpretable, twelve-parameter closed-form energy model derived via symbolic regression that accurately predicts inference energy across diverse multimodal LLMs and hardware with minimal profiling data, outperforming existing black-box and analytical baselines in configuration selection and extrapolation.

Original authors: Vittorio Palladino, Gianluca Palermo, Michael E. Papka, Zhiling Lan

Published 2026-05-12
📖 4 min read☕ Coffee break read

Original authors: Vittorio Palladino, Gianluca Palermo, Michael E. Papka, Zhiling Lan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive, high-speed delivery service for a giant company. Your "trucks" are AI models (Large Language Models), and your "packages" are user requests (like writing a poem, analyzing a photo, or summarizing a video).

The goal is to get every package delivered as fast as possible (low latency) and as cheaply as possible (low energy). But here's the problem: Fast doesn't always mean Cheap.

Sometimes, sending two trucks down a narrow road together (a strategy called Tensor Parallelism) is faster than sending one big truck, but it burns way more fuel because the trucks are constantly shouting at each other to coordinate. Other times, splitting the work across a long line of trucks (called Pipeline Parallelism) might be slightly slower, but it saves a ton of fuel because the trucks can take breaks between stops.

For a long time, people trying to optimize this delivery service made a big mistake: they assumed that if a route was the fastest, it was automatically the most fuel-efficient. They also tried to use "black box" computers (complex AI models) to guess the fuel usage, but these computers needed to be fed thousands of test runs just to learn the rules, and they couldn't explain why they made a certain guess.

Enter EnergyLens.

What is EnergyLens?

Think of EnergyLens as a master mechanic who writes down the exact rules of the road in plain English.

Instead of guessing or needing thousands of test drives, EnergyLens uses a special tool called "symbolic regression." Imagine giving a computer a stack of fuel receipts and asking it to find the hidden mathematical pattern. Instead of giving you a confusing list of numbers, it spits out a simple, readable formula (like a recipe) that explains exactly how much energy is used based on:

  • How many trucks you use (Parallelism).
  • How big the package is (Batch Size).
  • How long the delivery route is (Sequence Length).

How It Works (The Analogy)

The paper explains that AI inference happens in two distinct phases, like a restaurant kitchen:

  1. The "Prefill" Phase (Cooking the Order): The kitchen reads the whole order (the input text or image) at once. This is heavy lifting.
  2. The "Decode" Phase (Serving the Dishes): The kitchen starts serving one dish at a time (generating the output word by word). This is memory-heavy.

EnergyLens treats these two phases separately. It realizes that the "fuel cost" of cooking the order is different from the cost of serving the dishes. It also realizes that the "truck coordination" (Tensor Parallelism) affects cooking differently than it affects serving.

By separating these factors, EnergyLens creates a 12-ingredient recipe (a closed-form equation) that predicts energy usage with high accuracy.

Why It's Better Than the Old Ways

The paper compares EnergyLens to two other methods:

  1. The "Speed-Proxy" Method: This assumes "Fast = Cheap." The paper shows this is wrong. In over 20% of cases, the fastest configuration actually wastes the most energy. EnergyLens finds the true fuel-efficient route, not just the fast one.
  2. The "Black Box" Method: These are complex AI models that need hundreds of test runs to learn. They are like a student who memorizes the answers but doesn't understand the math.
    • EnergyLens only needs 50 test runs (about 10 times fewer) to learn the rules.
    • EnergyLens is interpretable: You can look at the formula and say, "Ah, I see that using 4 trucks saves energy here because of this specific term." The black box cannot tell you that.

The Results

The researchers tested EnergyLens on a wide variety of "trucks" (different AI models), "roads" (different computer chips from NVIDIA, Intel, and AMD), and "packages" (text, images, and videos).

  • Accuracy: When asked to pick the single best, most fuel-efficient configuration, EnergyLens got it right 88.2% of the time. The previous best method only got it right 60.9% of the time.
  • Generalization: Once the "recipe" is written, it works on new types of trucks and roads without needing to be rewritten. You just tweak a few numbers (coefficients) based on a tiny new test run.
  • Extrapolation: Even if you ask EnergyLens to predict the fuel usage for a delivery route 10 times longer than anything it has seen before, it still guesses correctly. The "black box" methods fail miserably in this scenario.

The Bottom Line

EnergyLens is a practical, transparent tool that helps data centers stop guessing and start calculating. It proves that you don't need a massive supercomputer to predict energy usage; you just need the right mathematical formula that understands the physics of how these AI models actually work. It turns the mystery of "how much energy will this cost?" into a simple, solvable equation.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →