NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Replicas-as-Variables: A Planner for Throughput-Optimal Routing in LLM Deployment

Shaojiang Wang, Geer Yang, Wenbo Wang, Bin Wu, Pengcheng Wang

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Fault-Tolerant LLM Training · Type: new method · Keywords: LLM deployment optimization, heterogeneous GPU clustering, replica placement, throughput routing, resource allocation

Summary

Replicas-as-Variables (ReVar) is a holistic framework that treats replica counts as primary decision variables to optimize throughput-optimal routing of LLM inference across heterogeneous GPU clusters.

Explained to a 5-year-old

We have many computers (GPUs) that help a big robot think (LLM). Sometimes they are different sizes, so some are faster than others. The robot can copy itself many times and send its thoughts through different paths to use all the fast computers. This helps the robot answer questions faster. The new idea makes sure the copies are placed wisely so nothing is wasted.

Explained to a 5-year-old, longer

When we use a big AI to answer questions, we need many computers to help it think. These computers are like tiny brains that work together. Sometimes the computers are not the same; some are faster, some are slower. Old ways of using the computers just copy the AI the same way everywhere. This wastes the fast computers because they are not used enough. The new idea lets the AI make many copies of itself and decide where to put each copy. It also decides which copy sends its answers along which path. By doing this, the AI can use the fast computers more and the slow ones less. This makes the AI answer questions quicker and uses the electricity and money more wisely. The researchers proved that finding the best way to do this is a hard problem, like a puzzle. They also created a math model that shows how good the best solution can be. Finally, they found simple rules for when the computers are very different, making it easy to apply the idea.

For a technical reader

Replicas-as-Variables (ReVar) is a framework that treats the number of model replicas as optimization variables to improve LLM inference throughput on clusters with diverse GPU capabilities. It models the deployment problem as a joint resource-allocation and flow-routing task, replacing static pipelines with fluid execution graphs that allow uneven replication and multiple routing paths. The authors provide theoretical results, proving the problem is NP-hard, formulating a MILP for upper bounds, and deriving closed-form solutions for special cases. Empirically, ReVar achieves the highest throughput in 14 out of 15 benchmark settings and up to a 3.1× improvement in mixed-GPU environments, validated on a real cluster. This approach helps engineers deploy large language models more efficiently, reducing hardware underutilization and operational costs.

Problem

Deploying large language models on heterogeneous GPU clusters is limited by rigid parallelism that does not fully exploit hardware asymmetry, leading to suboptimal throughput. Efficiently allocating replicas and routing activations to balance load across diverse hardware resources remains a challenging optimization problem.

Method

The approach models inference as a coupled resource-allocation and flow-routing problem, treating replica counts as primary variables for all model components. It replaces static pipelines with fluid execution graphs that allow uneven replication and multi-path routing. Theoretical analysis includes NP-hardness proof, a MILP formulation for throughput upper bounds, and closed-form solutions for constrained regimes.

Results

The approach achieved the highest throughput in 14 of 15 settings and demonstrated up to a 3.1× improvement in steady-state throughput on mixed-GPU clusters, validated on a real heterogeneous cluster.

Contributions

It introduces a holistic framework that jointly optimizes replica placement and activation routing by treating replica counts as decision variables, provides theoretical foundations including NP-hardness and MILP bounds, and offers closed-form solutions for constrained regimes.

Practical relevance

Enables higher throughput and better resource utilization for serving LLMs on heterogeneous GPU clusters, reducing operational costs and improving user experience.

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