JouleShare: Request-Level Energy Attribution for Batched LLM Serving
- Source
- arxiv.org
- Author
- Qi Luo, Kunlin Li, Ziwen Wang, Dongsheng Wang, Yun Chen
- Date

Context
When a GPU handles several AI requests together, its power meter measures their combined consumption. JouleShare investigates how to divide that total among requests. It replays different request subsets, measures their energy, and computes reference shares using a rule called Shapley allocation. A smaller then estimates those shares from inexpensive request information during serving. Method abstract.
Across the reported experiments, dividing energy in proportion to text- counts differed substantially from the reference allocation. Under continuous batching, the calibration model reduced the reported allocation error from 0.458 to 0.177. This improves agreement with the chosen accounting rule for assigning energy charges; it does not measure a reduction in the GPU's electricity consumption. Evaluation results.
- calibration — How well a model's confidence matches reality — a calibrated model saying "90% sure" is right about 90% of the time.
- Model — A computational system that uses learned patterns to produce an output from information supplied to it.
- Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
- eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.


