배치 LLM 서빙을 위한 요청 수준 에너지 귀속
Request-Level Energy Attribution for Batched LLM Serving
한국어 초록
배치(batch) 대규모 언어 모델(LLM) 서빙은 처리량을 향상시키지만 에너지 회계를 복잡하게 만듭니다. GPU 전력 원격 측정(telemetry)은 집계된 형태로 제공되는 반면, 지속가능성 보고, 비용 청구(chargeback), 워크로드 분석에서는 종종 요청 수준의 에너지 청구가 필요합니다. 기존 추론(inference) 에너지 벤치마크는 모델(model), 단계 또는 토큰(token) 수준의 에너지를 보고하며, 최근의 탄소 회계 연구는 섀플리(Shapley) 공정성을 개념적으로 제시합니다. 그러나 둘 다 측정된 요청 수준의 정답값(ground truth)을 제공하지 못하므로, 실제로 사용되는 회계 규칙이 공정한 배분에서 얼마나 벗어나는지는 알려지지 않았습니다. 본 논문에서는 두 가지 구성 요소로 이루어진 귀속 프레임워크인 JouleShare를 제시합니다. 오프라인 하네스는 재현 가능한 프로토콜을 바탕으로 vLLM 환경에서 요청 하위 집합을 재생하고, GPU 전력 원격 측정을 통합하며, 각 요청에 대한 정확한 섀플리 에너지를 계산하여 이러한 정답값을 확립합니다. 그런 다음 경량 보정 모델인 JCalib이 서빙 시점에 사용할 수 있도록 저비용 요청 특성으로부터 섀플리 지분을 예측하도록 학습합니다. 16개의 모델/워크로드 실행 전반에서, 토큰 비례 귀속은 정확한 섀플리와 비교할 때 정규화된 L1 기준으로 정적 배치 하에서 평균 0.440, 연속 배치 하에서 0.458만큼 차이가 났으며, 이러한 격차는 세 가지 데이터센터 GPU 전반에서 재현되었습니다. JCalib은 정확한 배치 에너지 효율을 보존하면서 이 오차를 정적 배치 하에서 0.116, 연속 배치 하에서 0.177로 줄여 온라인에서 사용할 수 없는 단독 측정 기준선(baseline)보다도 낮췄습니다. 샘플링된 섀플리는 측정된 기준을 더 큰 그룹 크기로 확장하며, 여기서도 격차는 지속되고 단일 오프라인 보정이 배포 가능한 가장 정확한 규칙으로 유지됩니다. 이러한 결과는 토큰 귀속이 배치 실행 환경에서 한계 에너지에 대한 신뢰할 수 있는 대리 지표가 아님을 보여주며, 측정된 섀플리 정답값을 통해 저비용 요청 특성을 보다 공정한 귀속으로 보정할 수 있음을 나타냅니다.
원문 초록
Batched LLM serving improves throughput but complicates energy accounting. GPU power telemetry is aggregate, whereas sustainability reporting, chargeback, and workload analysis often require request-level energy charges. Existing inference-energy benchmarks report model-, phase-, or token-level energy, and recent carbon-accounting work motivates Shapley fairness conceptually. Neither provides measured request-level ground truth, so how far the accounting rules used in practice deviate from a fair allocation has remained unknown. We present JouleShare, an attribution framework with two components. An offline harness establishes this ground truth by replaying request subsets under vLLM with a reproducible protocol, integrating GPU power telemetry, and computing exact Shapley energy for each request. A lightweight calibration model, JCalib, then learns to predict Shapley shares from cheap request features for use at serving time. Across 16 model/workload runs, token-proportional attribution differs from exact Shapley by 0.440 normalized L1 on average under static batching and by 0.458 under continuous batching, a gap that reproduces across three data-center GPUs. JCalib reduces this error to 0.116 under static batching and 0.177 under continuous batching, below even a standalone-measurement baseline that is unavailable online, while preserving exact batch-energy efficiency. Sampled Shapley extends the measured reference to larger group sizes, where the gap persists and a single offline calibration remains the most accurate deployable rule. The results show that token attribution is not a reliable proxy for marginal energy under batched execution, and that measured Shapley ground truth can calibrate low-cost request features toward fairer attribution.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.00026v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.