arXiv:2508.01744cs.LG2025-08被引 3

用强化学习动态调频,让大模型推理省电44.3%且延迟几乎不变

AGFT: An Adaptive GPU Frequency Tuner for Real-Time LLM Inference Optimization

  • 通过在线强化学习实时感知请求负载,自动调整GPU频率
  • 实测节省44.3%能耗,延迟增加不足10%,能效比提升40.3%
  • 适合追求高能效的云服务厂商和大模型推理集群部署

交互式大语言模型的爆炸式增长对云端GPU的低延迟提出了前所未有的要求,迫使它们长期处于高功耗模式,导致能源成本急剧上升。实时推理任务具有显著的动态波动性,蕴含巨大节能潜力。然而,传统静态或规则驱动的电源管理策略难以在不牺牲峰值性能的前提下充分挖掘这些机会。为此,我们提出AGFT(自适应GPU频率调节器),一个采用在线强化学习自主学习最优频率调节策略的框架。通过监控实时请求负载、延迟等特征,AGFT利用细粒度频率控制进行精准调节,并通过智能动作空间剪枝实现稳定高效的决策。我们在模拟真实波动请求的环境中全面评估了AGFT。实验结果表明,AGFT成功降低了44.3%的GPU能耗,引入的性能延迟开销低于10%。该成果实现了高达40.3%的综合能效-延迟乘积(EDP)优化,充分证明本框架可在不损害服务质量的前提下,显著提升现有大模型推理集群的能效与经济效益。

原文摘要 · Abstract (English)

The explosive growth of interactive Large Language Models (LLMs) has placed unprecedented demands for low latency on cloud GPUs, forcing them into high-power modes and causing escalating energy costs. Real-time inference workloads exhibit significant dynamic volatility, presenting substantial energy-saving opportunities. However, traditional static or rule-based power management strategies struggle to exploit these opportunities without compromising peak performance. To address this challenge, we propose AGFT (An Adaptive GPU Frequency Tuner), a framework that employs online reinforcement learning to autonomously learn an optimal frequency tuning policy. By monitoring real-time features like request load and latency, AGFT utilizes fine-grained frequency control for precise adjustments and intelligent action space pruning for stable, efficient decision-making. This creates a robust, automated energy management solution. We comprehensively evaluated AGFT in an environment simulating realistic, fluctuating inference requests. The experimental results demonstrate that AGFT successfully saves 44.3% of GPU energy consumption while introducing a minimal performance latency overhead of under 10%. This achievement translates into a comprehensive Energy-Delay Product (EDP) optimization of up to 40.3%, clearly showing that our framework can significantly enhance the energy efficiency and economic benefits of existing LLM inference clusters without compromising service quality.

GPU调频大模型推理能效优化强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。