计算机科学
语言模型
人工智能
数据建模
自然语言处理
计算机网络
钥匙(锁)
匹配(统计)
语言识别
方案(数学)
自然语言
集合(抽象数据类型)
作者
Yuanbin Cheng,Zhentong Shao,Nanpeng Yu,Yu Fu,Yue Dong
出处
期刊:IEEE Power Engineering Society General Meeting
[Institute of Electrical and Electronics Engineers]
日期:2026-07-01
卷期号:: 1-5
被引量:1
标识
DOI:10.1109/pesgm58988.2026.11693290
摘要
The rapid expansion of Large Language Model (LLM) inference has led to growing power and carbon footprints in data centers, largely driven by the compute and memory intensity of attention operations over long sequences. To address this challenge, we propose a sustainable LLM serving framework that optimizes energy efficiency and inference performance through intelligent KV cache compression. Unlike external scheduling or batching strategies, cache compression acts directly on the model’s internal key–value memory and enables fine-grained control over compute and memory usage with minimal latency overhead. We develop a reinforcement learning-based control strategy that dynamically selects optimal compression ratios in response to real-time energy prices and service quality constraints. Evaluations using real-world electricity market data and LLM inference traces show that the proposed approach substantially reduces energy cost while preserving service quality. By embedding electricity market awareness into artificial intelligence (AI) infrastructure design, this work establishes a scalable and practical path toward energy-efficient and grid-friendly LLM deployment. All code and datasets are made publicly available at: https://github.com/cybsbbb/LLM_energy_optimization_rl.
科研通智能强力驱动
Strongly Powered by AbleSci AI