Measured Joules, Learned Routes: Learning to Route for Energy-Efficient LLM Serving
Muhammad Abdur Rab Siddiqui, Daniela Rojas, Chen Yang, Wenqi Cui, Yuanyuan Shi, Yize Chen
Abstract
Large language models (LLMs) and agentic AI systems are creating rapidly growing inference energy demands as model sizes grow and reasoning trajectories extend. While in practice, many queries do not require the capabilities of the largest available model, and routinely directing such queries to a high-capability model can introduce unnecessary, considerable computation and energy consumption. In this paper, we investigate whether adaptive routing across a heterogeneous pool of LLMs can reduce this energy burden without substantially compromising task performance. We design a language-model-based router that reads in each query and selects an answer model from a fixed candidate pool. The candidate models are first profiled through an offline tournament that records their correctness, latency, power, and GPU energy for each query. Using these measurements, the router is trained through supervised fine-tuning followed by group relative policy optimization (GRPO) with the tailored paradigms. Results demonstrate that learned routing can selectively allocate expensive model capacity based on query context and improve the accuracy-energy tradeoff in multi-LLM serving. Across seven benchmark tasks, we also observe a sharp accuracy-energy phase transition among routers, providing practical insights into improving energy efficiency while maintaining LLM performance.
Create a lesson
Related papers
Architectural Trade-offs in the Energy-Efficient Era: A Comparative Study of power-capping NVIDIA H100 and H200
Shared title terminology · Aditya Ujeniya, Jan Eitzinger, Georg Hager et al.
Energy-Efficient GPU DVFS for Fine-Tuning of SLMs on Resource-constrained Embedded Devices
Shared title terminology · Jurn-Gyu Park, Sanzhar Zholdybayev, Aidar Amangeldi et al.
Measuring the Energy Cost of Completing Tasks with Quantized Language-Model Agents
Shared title terminology · Stephen Abkin, Aldric Yang, Alex Flesher et al.
The Joule Point: an Energy-Optimal Operating Point for AI Inference
Shared title terminology · Alexander Apartsin, Yehudit Aperstein
EMO: Energy Efficiency Modeling and Optimization for AI Workloads
Shared title terminology · Jiyu Luo, Shaoyu Chen, Jingwei Sun et al.
Mixed-Precision For Energy Efficient Computations
Shared title terminology · Gülçin Gedik, Robert Schöne, Roman Iakymchuk