Learning Cost-Efficient Autoscaling for Latency-Constrained Disaggregated LLM Serving
Fu Luo, Binbin Chen, Qing Luo, Linhui Xu, Tieying Zhang, Zhenkun Wang
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › RL Rollout Acceleration · Type: new method · Keywords: autoscaling, LLM serving, latency constraints, reinforcement learning, GPU resource management
Summary
We propose a reinforcement learning (RL) framework that learns a cost-efficient autoscaling policy for latency-constrained disaggregated LLM serving.
Explained to a 5-year-old
When many people use a big AI model, the computer needs enough power to answer quickly. The system splits the work: one part reads the question, another part writes the answer. It tries to give enough power without wasting energy. A smart program watches how many people ask questions at different times and changes the power accordingly. This helps keep answers fast while using less electricity.
Explained to a 5-year-old, longer
Many people use big AI programs that answer questions, like chatbots. These programs need a lot of computer power, especially when they read a new question. The system can split the work: one part reads the question, another part writes the answer. Keeping the answers fast while using as little power as possible is tricky. Existing ways to adjust power are hard to set up and often use more power than needed. The researchers created a smart system that watches how many people ask questions over time. It looks at patterns, like when many questions come at once or when fewer come later. The smart system decides when to give more or less computer power to keep answers fast. It also makes sure not to switch power too often, which would waste energy. They taught this system using a computer simulation that copies real-world usage. The system works well in tests and even works on real computers in a data center. This helps save electricity and money while keeping the answers quick for users.
For a technical reader
The paper addresses the challenge of scaling GPU resources in a disaggregated LLM serving architecture where pre-fill and decode stages run on separate pools. It formulates the problem as minimizing GPU usage while meeting strict tail-latency targets for time-to-first-token (TTFT) and time-per-output-token (TPOT). The proposed solution uses a recurrent neural network to model workload trends and pod lifecycle states, and it constrains actions with masks and cooldown periods to avoid oscillations. The policy is trained in a high-fidelity simulator built from profiling data and validated on a physical testbed, showing latency compliance and lower average GPU occupancy than heuristic baselines. A real-cluster deployment on ShareGPT confirms that the learned policy transfers to production and maintains the required latency while reducing cost.
Problem
Ensuring that LLM serving systems meet strict latency targets while using as few resources as possible is difficult because workload characteristics such as request arrival rates and prompt lengths vary over time.
Method
The approach uses a recurrent neural network to model multi-timescale workload trends and pod lifecycle states, restricts actions with hard masks and anti-oscillation cooldowns, and is trained in a high-fidelity simulator calibrated from profiling data.
Results
The approach meets latency constraints while using less GPU resources compared to heuristic baselines, and transfers successfully to a real cluster.
Contributions
We formulate autoscaling as a latency-constrained cost minimization problem, propose a recurrent policy with action masking and cooldowns, and demonstrate its effectiveness via simulation and real-cluster deployment.
Practical relevance
Enables cost-efficient, latency-aware scaling of disaggregated LLM serving in production clusters, reducing wasted GPU resources.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction