Replicas-as-Variables: A Planner for Throughput-Optimal Routing in LLM Deployment
Shaojiang Wang, Geer Yang, Wenbo Wang, Pengcheng Wang, Bin Wu
NeurIPS 2026
TL;DR. ReVar jointly optimizes component replication, placement, and routing to improve LLM inference throughput on heterogeneous GPU clusters.
Abstract. Deploying large language models on heterogeneous GPU clusters requires coordinating memory placement, compute allocation, and communication. Fixed pipeline and replication templates restrict these decisions before the hardware bottlenecks are known. We introduce ReVar, a planner that treats component replica counts as decision variables for both dense stages and mixture-of-experts modules. A mixed-integer linear program jointly selects replicas, execution rates, and activation flows on a modular unit graph. The formulation provides throughput bounds under a profiled resource model, includes common deployment templates as restricted cases, and admits allocation laws in compute- and bandwidth-dominated regimes. Evaluation combines controlled topology simulation on an eight-H200 platform with experiments on six-node and nine-node heterogeneous clusters. On the nine-node, 38-GPU cluster, CUDA/NCCL execution for memory-fragmented Mixtral-8x22B improves throughput by approximately 22% over the strongest feasible comparator. Together, these results characterize when flexible replication and routing improve resource utilization and how the resulting plans connect to execution.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes ReVar, a capacity-planning oracle for heterogeneous LLM serving that formulates per-component replica counts, placement, per-GPU rates, and token-flow routing as an MILP optimization problem on a modular unit graph to yield a throughput upper bound and a deployment plan. While the problem of optimizing LLM serving under heterogeneity is relevant, all reviewers raise critical concerns that collectively warrant rejection. The most fundamental issue is that the tightness of the throughput upper bound against real achievable performance is entirely unvalidated. And KV cache is completely omitted from the optimization program, despite being central to decode-phase throughput. Without an experiment characterizing the bound-vs-reality gap against a real serving stack, it is impossible to assess whether the oracle provides meaningful guidance. Additionally, the static planner assumes expected expert load but offers no robustness study for load drift, no online affinity-aware dispatcher to realize fractional routing, and omits KV-cache affinity and migration effects critical for decode routing. Reviewers also note the writing style appears heavily AI-assisted with disconnected flow, and the paper's novelty is incremental, essentially a formal extension of existing planners rather than a fundamentally new concept. Given the unvalidated bound tightness, marginal gains, missing KV-cache modeling, scalability concerns, and incremental contribution, the paper falls short of acceptance standards, and the recommendation is reject.
Final justification
This paper presents ReVar, a capacity-planning oracle for heterogeneous LLM serving that formulates replica placement and token-flow routing as an MILP optimization problem—a timely and relevant direction given the increasing heterogeneity in production LLM systems. While the initial reviews raised serious concerns regarding the unvalidated tightness of the throughput upper bound, the omission of KV-cache modeling, and the lack of robustness analysis for load drift, the authors have convincingly addressed several of these issues in the revision, including additional experiments that characterize the bound-vs-reality gap and a more thorough discussion of the planner's practical applicability. Nevertheless, questions remain regarding online affinity-aware dispatch, KV-cache migration effects, and scalability under dynamic workloads, which should be further explored. On balance, the core optimization framework offers a useful formal foundation, and the revised paper demonstrates sufficient progress. I recommend accepting the paper, with the expectation that the authors will continue to refine these remaining aspects in the final version, following the reviewers' constructive suggestions.
Read meta-review
Meta-review
This paper proposes ReVar, a capacity-planning oracle for heterogeneous LLM serving that formulates per-component replica counts, placement, per-GPU rates, and token-flow routing as an MILP optimization problem on a modular unit graph to yield a throughput upper bound and a deployment plan. While the problem of optimizing LLM serving under heterogeneity is relevant, all reviewers raise critical concerns that collectively warrant rejection. The most fundamental issue is that the tightness of the throughput upper bound against real achievable performance is entirely unvalidated. And KV cache is completely omitted from the optimization program, despite being central to decode-phase throughput. Without an experiment characterizing the bound-vs-reality gap against a real serving stack, it is impossible to assess whether the oracle provides meaningful guidance. Additionally, the static planner assumes expected expert load but offers no robustness study for load drift, no online affinity-aware dispatcher to realize fractional routing, and omits KV-cache affinity and migration effects critical for decode routing. Reviewers also note the writing style appears heavily AI-assisted with disconnected flow, and the paper's novelty is incremental, essentially a formal extension of existing planners rather than a fundamentally new concept. Given the unvalidated bound tightness, marginal gains, missing KV-cache modeling, scalability concerns, and incremental contribution, the paper falls short of acceptance standards, and the recommendation is reject.
Final justification
This paper presents ReVar, a capacity-planning oracle for heterogeneous LLM serving that formulates replica placement and token-flow routing as an MILP optimization problem—a timely and relevant direction given the increasing heterogeneity in production LLM systems. While the initial reviews raised serious concerns regarding the unvalidated tightness of the throughput upper bound, the omission of KV-cache modeling, and the lack of robustness analysis for load drift, the authors have convincingly addressed several of these issues in the revision, including additional experiments that characterize the bound-vs-reality gap and a more thorough discussion of the planner's practical applicability. Nevertheless, questions remain regarding online affinity-aware dispatch, KV-cache migration effects, and scalability under dynamic workloads, which should be further explored. On balance, the core optimization framework offers a useful formal foundation, and the revised paper demonstrates sufficient progress. I recommend accepting the paper, with the expectation that the authors will continue to refine these remaining aspects in the final version, following the reviewers' constructive suggestions.
1 comment
- Rating
- 2/6
- Confidence
- 5/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 1/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents ReVar, a deployment planner for LLM inference that jointly optimizes model-component replication, component placement, execution rates, and activation routing across heterogeneous GPUs. Unlike planners that first select a conventional parallelism template, ReVar treats the number and placement of replicas for both dense model stages and Mixture-of-Experts components as optimization variables. It represents inference as a modular unit graph and formulates deployment planning as a mixed-integer linear program subject to GPU compute, memory, and directed communication-bandwidth constraints.
The paper also provides theoretical results for the proposed optimization problem, including NP-hardness, realizability under a fluid execution abstraction, and closed-form solutions for selected compute- and bandwidth-dominated regimes. ReVar is evaluated using hardware-in-the-loop emulation on an eight-GPU H200 system configured to represent several homogeneous and heterogeneous topologies, as well as on a physical heterogeneous cluster containing L20 and P4 GPUs. The reported results show that ReVar generally matches strong planners in homogeneous settings and improves throughput in the evaluated heterogeneous configurations.
Strengths and weaknesses
Quality
The paper is technically ambitious and develops a broad optimization framework for selecting deployment strategies under heterogeneous compute, memory, and communication constraints. The formulation jointly captures component replication, placement, execution rates, and activation flows, allowing it to search a larger design space than planners restricted to predefined pipeline or expert-parallel templates. The inclusion of both dense stages and MoE experts within a unified unit-graph abstraction is conceptually appealing.
The mathematical development is generally rigorous within the stated abstraction. The paper explicitly models per-GPU compute and memory budgets, directed communication capacities, component replication, execution rates, and activation flows. The theoretical results, including the relationship between ReVar and more restricted deployment templates, help explain when uneven replication and multipath routing may improve throughput.
However, the abstraction omits or simplifies several properties that are central to practical autoregressive LLM serving. Most importantly, the fluid-flow formulation does not adequately capture KV-cache placement and affinity, stateful decode execution, batching-dependent kernel efficiency, or contention among logical flows that share physical network resources. These omissions make it difficult to determine whether the optimized plans are feasible or beneficial in an actual serving runtime.
The compute model is also coarse for heterogeneous GPU execution. Modeling the execution time of unit u on GPU g using a unit FLOP count and a single per-GPU compute budget assumes that relative device performance is approximately uniform across operations. In practice, relative performance depends on operation shape, precision, batch size, memory bandwidth, supported kernels, and software maturity. A planner intended for heterogeneous hardware would be substantially more credible if it used per-unit, per-device profiled service rates and evaluated sensitivity to profiling errors.
Clarity
The paper is generally well organized, and the separation among placement variables, execution-rate variables, and routing-flow variables is explained clearly. The unit-graph abstraction provides a useful way to reason about dense and MoE components within a common framework, and the theoretical sections help clarify the intended model.
Nevertheless, several claims require more precise qualification. The paper sometimes moves from statements about optimality or realizability within the fluid resource model to broader claims about practical LLM serving. The theoretical guarantees apply under assumptions that exclude KV-cache state, batching constraints, shared-network contention, and discrete runtime execution. The paper should more clearly distinguish guarantees within the mathematical abstraction from guarantees about an implementable serving system.
The description that multipath routing increases usable capacity “exponentially” from O(N) to O(N^2) is also incorrect terminology. Such a change is quadratic rather than exponential.
Significance
Jointly optimizing replication, placement, and routing is an important systems problem, particularly in constrained environments where a model must span heterogeneous devices. ReVar could be useful for edge clusters, opportunistic resources, consumer-GPU clusters, or deployments where homogeneous model-parallel groups cannot be formed.
My primary concern is that the paper does not sufficiently establish the practical importance of optimizing a single tightly coupled deployment across strongly heterogeneous GPUs. Heterogeneity commonly exists at the fleet level, but production serving systems often construct individual replicas or model-parallel groups from homogeneous GPUs. This avoids stragglers and implementation complexity caused by mismatched compute performance, memory capacity, interconnect bandwidth, kernel support, and numerical-format support. Requests can still be distributed across heterogeneous homogeneous-device groups through a fleet-level scheduler.
For example, a fleet containing H100 and A10 GPUs may operate separate H100 and A10 serving groups rather than constructing one model-parallel group containing both GPU types. The paper demonstrates that ReVar can outperform rigid templates after heterogeneous GPUs have already been placed within the same tightly coupled deployment, but it does not establish that this mixed-device deployment is preferable to homogeneous grouping with fleet-level request routing. This missing comparison substantially weakens the practical motivation and significance of the evaluation.
Originality
Treating replica counts as optimization variables and jointly optimizing them with activation routing over a modular model graph is a meaningful extension of fixed-template deployment planners. The ability to represent dense stages and MoE experts within one formulation is also valuable. The theoretical analysis is more extensive than is typical for a systems-planning paper.
At the same time, the core methodology builds on established ideas from mixed-integer resource allocation, flow routing, heterogeneous pipeline planning, and expert replication. The main originality lies in integrating these ideas into a generalized LLM deployment-planning formulation and analyzing the resulting design space. The contribution is interesting, but its practical impact depends on demonstrating that the additional plans exposed by the formulation are both implementable and relevant to realistic serving deployments.
Questions
- How does ReVar compare against fleet-level homogeneous grouping? Given the same heterogeneous GPU inventory, please construct homogeneous serving replicas or model-parallel groups, select an appropriate deployment strategy for each group, and route requests among them using a capacity-aware scheduler. This experiment would determine whether heterogeneous within-replica execution is preferable to a common fleet-level alternative, rather than only showing that ReVar outperforms rigid templates after mixed-device execution has already been assumed.
- How is KV-cache state handled when traffic is divided among component replicas or routing paths? Please explain whether requests remain affinitized to specific replicas, whether KV entries are replicated or migrated, and whether remote KV access is required. Incorporating KV-cache capacity, placement, affinity, and movement costs into the main formulation or evaluation would clarify whether the optimized decode flows are feasible.
- Can the assumed multipath bandwidth be realized under shared-network contention? The current formulation assigns independent capacities to directed GPU pairs, although multiple logical paths may share NICs, PCIe switches, NVLink links, network switches, or inter-node uplinks. Please augment the model with physical-link, NIC, switch, or cut-capacity constraints, or experimentally verify that the planned concurrent flows achieve the assumed aggregate bandwidth.
- Which portions of ReVar’s plans are implemented in the runtime, and what mechanisms are required to execute them? Please provide additional implementation details concerning arbitrary component replication, activation routing, request-state preservation, batching, queueing, backpressure, synchronization, and routing overhead. An integration with an existing serving engine or a more complete prototype evaluation would substantially strengthen the work.
- How robust and scalable is the planner? Please evaluate larger GPU inventories and model graphs, report solver optimality gaps and feasible-plan quality, and test sensitivity to profiling error, workload shifts, batch size, and prompt/output-length distributions. These experiments would clarify whether ReVar can be used operationally rather than only on small, statically characterized instances.
Limitations
The paper acknowledges limitations related to KV-cache modeling, collective communication, and solver scalability, but these issues are central enough that they should be discussed more prominently and concretely.
In particular, the limitations discussion should explicitly address:
- the possibility that homogeneous fleet partitioning is operationally preferable whenever sufficient homogeneous groups can be formed;
- the effect of KV-cache affinity, replication, migration, and capacity on the feasibility of multipath decode routing;
- the potential overestimation of network capacity when multiple pairwise flows share physical links, NICs, or switches;
- the runtime complexity required to support arbitrary component replication and activation routing;
- the dependence of the selected plans on profiling accuracy, workload stationarity, and hardware/software compatibility;
- scalability limits of the MILP for larger GPU inventories and finer-grained model graphs.
The paper should also discuss reliability and operational implications. More flexible routing and heterogeneous execution may increase the number of failure modes, complicate debugging and performance isolation, and require additional mechanisms for reconfiguration when devices fail or workloads change.
Formatting concerns
No major formatting or anonymity issues are apparent in the provided manuscript.
2 comments
Rebuttal
Thank you a lot for the detailed review. We denote the concerns as W1-W5 in review order and the listed limitations as L1-L7.
Q1; W3; L1: Same-inventory homogeneous fleet comparison
We froze the 38-GPU inventory before profiling/planning and used every visible GPU across nine nodes. All methods received identical inventory, memory budgets, and directed measurements.
| GPU | Count | Visible memory/GPU | Nodes |
|---|---|---|---|
| A10 | 12 | 23,028 MiB | 2 |
| V100 | 8 | 32,768 MiB | 2 |
| T4 | 8 | 15,360 MiB | 2 |
| P100 | 8 | 16,384 MiB | 2 |
| P4 | 2 | 7,680 MiB | 1 |
This totals 789 GiB across four availability zones, five compute/memory regimes, and same-/cross-zone links. All 72 directed node pairs were profiled before planning.
The homogeneous baseline disjointly partitions the inventory. Full Replication places one copy on every fitting GPU; HexGen-2 packs disjoint four-stage pipelines from same-type groups. GPUs are never reused, group capacities are summed, and requests are routed by capacity. One portfolio compares these candidates with unrestricted ReVar.
Homogeneous fleets are a restricted ReVar family; ReVar does not require mixed-device execution. Same-type, disjoint-group, and no-cross-group-routing restrictions give and hence . Equality holds when an unrestricted optimum satisfies these restrictions; otherwise, mixed placement can use compute or memory stranded by partitioning. ReVar therefore recovers a homogeneous fleet when optimal while retaining additional feasible plans otherwise (paper Sec. 3.3).
| Same inventory | Cases | Selected topology | Measured result |
|---|---|---|---|
| Homogeneous partition feasible | 6 | Full Replication or HexGen-2 | strongest evaluated homogeneous candidate selected in 6/6 |
| No same-type pool fits Mixtral-8x22B under the same effective budgets | 2 | Unrestricted ReVar | 4,478.57 / 4,479.85 tok/s at the two headrooms |
Selection used only pre-measured profiles, excluding target-run outcomes. After reboot, we reran all eight selected plans and strongest references for 60 s; every selection remained within the prespecified 3% regret threshold. The portfolio chose homogeneous grouping in all six feasible cases and unrestricted ReVar in the two capacity-bound cases. Thus ReVar supports homogeneous choices without committing to mixed execution, while its larger space deploys a 281.24-GB BF16 model that no same-type pool fits under the same effective budgets.
Q2; W1; W4; L2: Stateful decode, KV capacity, and sequence affinity
Fractional flow is an aggregate admission rate across requests, not per-token migration of one sequence. At admission, a sequence is assigned a dense path and keeps its KV on that path; dense-attention KV is neither remotely read nor replicated each token. Different sequences realize the planned fractions, while stateless MoE activations may still use expert replicas. The memory constraint for GPU g adds
sum_{p,c} lambda_pc T_pc Lbar_pc sum_{s in p: p_s=g} kappa_s.
Here T_pc is residence, Lbar_pc is time-weighted context, and kappa_s is KV bytes/token. A second constraint caps resident sequences across paths sharing g. The finite path/class formulation therefore couples KV, placement, affinity, and batching while remaining a MILP (paper App. A).
We measured real BF16 one-token-at-a-time generation with SmolLM2-360M-Instruct. Every ITL was retained in 36/36 Chatbot-Arena-shaped runs; maximum repeat CV was 3.80%.
Request class (prompt, output) |
Batch 1 | Batch 2 | Batch 4 | Batch 8 |
|---|---|---|---|---|
p50 (248,247) |
29.28 | 58.55 | 115.07 | 235.04 |
p90 (604,608) |
29.69 | 58.75 | 119.71 | 195.21 |
p99 (1377,1358) |
29.63 | 60.28 | 90.74 | 101.24 |
These curves capture batch/context dependence, including p99 saturation. Analytical and materialized KV bytes agree exactly; ITL-weighted growing KV removes the 28.98%-33.61% over-reservation from charging maximum context throughout decode. Resident KV achieves the highest throughput in 9/9 matched cache-policy comparisons.
We imposed these measured nonlinear residence/context curves on measured A10/V100/T4/P4 profiles for ReVar, Helix, Full Replication, and Greedy. All 64/64 MILPs reach 0% final gap; ReVar is best/tied in 16/16, with 36.16% median gain over the strongest baseline. This is a KV-aware planner comparison using real decode curves.
Q3; W1; W4; L3: Shared physical-fabric contention
ReVar enforces shared-fabric cuts for every measured contention domain d:
sum_{(g,h) in L_d} sum_{u->v} S_uv f_uvgh <= C_d (paper App. A).
Each of the eight 38-GPU model/headroom instances contains 90 measured domains:
| Domain | Count/instance | Logical flows sharing the cap |
|---|---|---|
| Directed node pair | 72 | all GPU pairs between the two nodes |
| NIC/node egress | 9 | all destinations leaving one node |
| NIC/node ingress | 9 | all sources entering one node |
Capacities use robust directed P10 measurements. All 72 candidate plans pass independent memory, compute, pair-link, and shared-domain checks; all 38 materialized plans ran for at least 60 s with zero OOM/failures and 72,530 telemetry records. During each 38-GPU measurement, all ranks run concurrently, with separate CUDA and NCCL streams overlapping planned compute and communication under microbatch dependencies. The 38-GPU MoE integer solution has maximum residual 3.68e-10, including domain constraints. This directly measures concurrent planned traffic.
We agree and will use quadratic consistently; the theorem states Theta(N^2) (paper Sec. 4.3).
Q4; W1; W5; L4; L7: Implemented plan path and operational mechanisms
The implementation boundary is concrete:
| Layer | Implemented mechanism/evidence |
|---|---|
| Planner | unit-graph construction; integer replica placement; per-replica rates; flow conservation; contention domains; path decomposition (paper Sec. 3.1-3.3) |
| Physical executor | placement materialization; CUDA execution; routed NCCL communication; rate windows; per-GPU/per-link telemetry |
| Stateful decode | real Transformer Attention; resident KV allocation; autoregressive loop; TTFT/every ITL; output-token validation |
| Online control | weighted-deficit admission; pinned paths; per-path batching; credits/backpressure; route-weight updates |
The stateful control path was exercised in a unified test using real Transformer Attention and resident-KV autoregressive decode, two planned paths, 1:2 weighted-deficit admission, path pinning, variable per-path microbatches, queue credits of 2/4, and backpressure:
| Integrated control test | Result |
|---|---|
| Requests completed | 38/38 across two independent runs |
| Admission-share error | 1.754 percentage points maximum |
| Backpressure / credit violations | 10 / 0 |
| Sequence path migrations | 0 |
| Output reproducibility | 38/38 identical across runs |
Thus each sequence keeps its dense path/KV while path weights realize aggregate flow. At cluster scale, the 38-GPU measurements validate heterogeneous placement, memory, compute, and routed communication.
We tested this reconfiguration path on an eight-node, 8-GPU Mixtral-8x7B inventory containing A10, V100, T4, and P100 devices. Each GPU was removed in turn:
| Failure study | Replan success | Final gap | Throughput retained | Longest solve | Max residual |
|---|---|---|---|---|---|
| Every single-GPU failure | 8/8 | 0% in 8/8 | 79.5%-97.9% | 56.3 s | 5.89e-10 |
Across all eight removals, ReVar produced a zero-gap replacement plan. The reconfiguration procedure stops admission to affected paths, removes the failed device and capacities, publishes a new plan epoch, and lets unaffected paths drain. Together with the 38-GPU measurements and integrated control test, these results show that plans are extractable, executable, and regenerable.
Q5; W2; W5; L5; L6: Profile fidelity, workload shift, and solver quality
The 38-GPU study directly parameterizes tau_{u,g} with measured shape-specific service coefficients. Target GEMM shapes, memory, and directed communication are measured using conservative P10 rates (paper Sec. 3.1; Sec. 5.4). Across 152 model-GPU profiles, timing CV is 0.35% median and 2.25% maximum. The formulation accepts these per-unit, per-device latencies without structural changes.
| Added robustness/scaling test | Result |
|---|---|
| Profile perturbation, 8,000 trials at 5% sigma | within 3% of the best plan with 99.91% mean / 99.3% worst-group probability |
| Profile perturbation, 8,000 trials at 10% sigma | 98.46% mean / 90.9% worst-group probability |
| Plan on corpus A, serve corpus B | complete 4x4 matrix; fixed-placement adaptive routing has 0.206% worst regret |
| Unit granularity | 24/24 exact Mixtral MILPs from 1 to 32 layer groups; submitted graph retains at least 99.9924% of the layer-level optimum |
| Exact MoE scaling | 4/8-GPU Mixtral closes at 0% gap in 0.247/1.383 s |
At 38-GPU Mixtral scale, top-4 screening preserves the unrestricted LP bound and reduces variables from 107,389 to 17,101. In 603.5 s, the screened B&B run returns integer objective 52,050.650 with a 1.00% gap, residual 3.68e-10, and 163.9% gain over the HexGen-2 warm start. This provides a 1%-gap integer certificate at 38-GPU scale, complementing the exact 4/8-GPU certificates.
The theoretical certificate applies to the profiled resource model (paper Sec. 3.2; Sec. 4), complemented by 38-GPU physical measurements (paper Sec. 5.4). Together, the fleet, decode/control, shared-domain, drift, granularity, failure, and solver results address L1-L7: ReVar recovers homogeneous templates when preferable and produces executable mixed plans when those templates are infeasible or bottlenecked.
Dear Reviewer b1zm,
Thank you again for the detailed systems-oriented review. For clarity, we summarize the final evidence in the same order as Q1–Q5.
-
Q1 Homogeneous fleet comparison. ReVar is fully applicable and throughput-optimal under the same resource model on homogeneous clusters. This is already covered by the template-containment results, homogeneous closed-form optima, and C1/C2 experiments (Introduction; Sec. 3 and 3.3; Sec. 4.2–4.3; Sec. 5.1, Table 1; Sec. 5.2, Table 2; Sec. 6; App. C, Proposition C.1, Definition C.10, and Theorems C.11 and C.17–C.21). ReVar is best in all six homogeneous rows, by 0.19%–2.85% over the strongest applicable specialized planner. On the frozen 38-GPU inventory, the portfolio selects homogeneous grouping in all 6/6 cases where it is feasible and preferable, and unrestricted ReVar only in two cases where no same-type pool can fit Mixtral-8×22B; there, ReVar is 22.0% above the strongest feasible comparator (Rebuttal Q1).
-
Q2 KV cache, decode, and affinity. We completed 36/36 real BF16 one-token-at-a-time autoregressive runs across p50/p90/p99 request classes and batches 1/2/4/8, with exact analytical/materialized KV-byte agreement. Each sequence remains pinned to one KV-resident dense path, without per-token migration or remote KV access. All 64 KV-aware MILPs close at a 0% gap, and ReVar is best or tied in all 16 planner scenarios (Rebuttal Q2).
-
Q3 Shared physical-fabric contention. Each 38-GPU instance includes 90 measured domains covering directed node pairs, NIC egress, and NIC ingress, preventing logical flows from double-counting shared capacity. All 38 materialized plans run for at least 60 seconds with zero OOM or execution failures under concurrent CUDA and routed NCCL execution (Rebuttal Q3).
-
Q4 Runtime realization. The executor materializes replica placement, CUDA execution, routed NCCL communication, rate windows, and device/link telemetry. The online controller implements weighted-deficit admission, sequence pinning, per-path batching, credits, backpressure, and route updates. The integrated test completes 38/38 requests with zero path migrations and no credit violations (Rebuttal Q4).
-
Q5 Fidelity, robustness, and scale. ReVar uses shape-specific per-unit/per-GPU service measurements; across 152 model–GPU profiles, timing CV is 0.35% median and 2.25% maximum. The response additionally includes an 8,000-trial profile-perturbation study, a complete 4×4 workload-shift matrix with 0.206% worst adaptive regret, 24/24 exact granularity studies from 1 to 32 layer groups, exact 4/8-GPU MoE solves, a 1.00%-gap screened 38-GPU solve, and successful zero-gap replanning after every single-GPU removal in 8/8 cases (Rebuttal Q5).
We also agree that the change from to is quadratic, not exponential, and will correct the wording.
We respectfully believe that the evidence now directly addresses Q1–Q5 and the associated limitations: homogeneous alternatives, stateful KV execution, sequence affinity, shared contention, runtime realization, profiling fidelity, workload drift, scalability, and failure recovery are all explicitly evaluated rather than left as assumptions.
The resulting scope is precise: ReVar recovers homogeneous layouts when they are sufficient and uses mixed plans only when the available inventory makes them beneficial or necessary.
Thank you again for setting out these operational criteria so clearly.
Authors
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Existing LLM deployment strategy is often bottlenecked by rigid parallelism strategy and cannot fully exploit the hardware asymmetry. To address this problem, the paper introduce ReVARm which treats the replica counts as the primary decision variable for all model components. Unlike prior work which either restrict the models to a dense chain and enforce structural constraints or only expose the replicate decision at the MoE experts stage, ReVar generalizes this line by planning over a modular unit graph and allowing request-level multi-path routing between replicas. The paper provided proof for NP-hardness and derived the closed-form solution for the proposed problem.
Strengths and weaknesses
Strength:
- The paper is well written and is really easy to follow.
- The paper works on an interesting topic of how to allocate modular replicas on heterogeneous hardware devices while optimizing the throughput.
- The author provided a really nice problem formulation as a MILP.
Weakness:
- Looking at Table 2, the throughput performance of ReVAR over Helix is marginal: for the LLAMA-3-8B model, on c1-c5, the throughput improvement is less than 2%, on MISTRAL-7B, this number is less than 3%.
- Lack of KV cache modeling: although in the limitation section, the author mentioned the KV cache placement/paging is omitted in the current manuscript, a further problem rises from this. Without properly design of KV cache, every token generated will need to perform the redundant computation, which reduces the throughput significantly.
- The practicality of the proposed system in real system is questionable.
Questions
- Granularity of the Unit Graph: How do you determine the boundaries of a "unit" in the modular graph? Is a unit defined as a specific number of transformer layers, an entire dense trunk block before an MoE layer, or something else?
- Throughput Disparity & Prefill vs. Decode: Regarding the system throughput reported in Table 2, does this represent prefill throughput, decode throughput, or a specific blended trace replay? Given the high order of magnitude ( to tokens/s), it strongly mirrors a prefill-dominated workload. If this evaluation assumes uniform token processing costs or skips autoregressive generation loops, it completely bypasses the memory-bandwidth bottlenecks associated with loading cached contexts. Can you demonstrate how ReVar performs under a realistic, decode-heavy workload where KV cache capacity binds?
- Impact of Cache Constraints on Fluid Routing: Incorporating dynamic, growing KV cache sizes into a steady-state linear formulation is highly non-trivial. If you were to add strict KV cache constraints to the MILP, would the resulting requirement for cache affinity completely break your multi-path routing strategy by preventing the fluid splitting of token flows between asymmetric GPU links?
Limitations
yes.
Final justification
Most of my questions are addressed, some are still not clear, but I think the proposed approach is reasonable and the results shown is promising.
Formatting concerns
na
2 comments
Rebuttal
We thank the reviewer for recognizing the clear formulation and important problem. We denote the concerns as W1 (dense-regime effect size), W2 (KV modeling and decode), and W3 (practicality), and the limitation as L1.
Q1; W3 - Unit boundary and layer-level sensitivity
Unit boundaries follow the target runtime: a unit is its smallest independently placeable, replicable, and profileable block. A legal boundary requires independent deployment and profiles for weights, service rate, workspace, and boundary tensor (paper Sec. 3.1). Dense models use four consecutive layer groups. In the submitted four-group Mixtral graph, each group has one attention/trunk, dispatch, one unit per expert index, and combine; output is separate: 4 + 4 + 32 + 4 + 1 = 45 units.
All eight layer gates remain distinct. Each expert-index unit aggregates its eight layer-specific copies by summing weights, FLOPs, expected multiplicity, and activation bytes. Aggregation shares placement only among same-index experts within a group; refinement relaxes that sharing.
We now solved every granularity from one whole-model group to one group per Transformer layer on all C1-C4 clusters:
| Cluster | Submitted 4-group objective | 32-group layer-level objective | Objective retained |
|---|---|---|---|
| C1 | 90,288.693 | 90,295.543 | 99.9924% |
| C2 | 286,225.294 | 286,225.294 | 100% |
| C3 | 90,288.693 | 90,295.543 | 99.9924% |
| C4 | 161,200.696 | 161,200.696 | 100% |
All 24/24 MILPs for 1/2/4/8/16/32 groups reached 0% final gap. The finest graph has 353 units and 576 edges; every layer-level solve completed in under 40 s. Thus the boundary rule and aggregation semantics are reproducible, and the submitted graph retains at least 99.9924% of the layer-level certified optimum in every evaluated cluster.
W1; W3 - Effect size, physical execution, and large-MoE planning
On dense chains, ReVar recovers Helix's restricted optimum; its additional freedom produces larger gains when expert replication and heterogeneous links become active. Across all 15 Table 2 settings, ReVar is best/tied in 14 and within 0.2% in the remaining one. It wins all four MoE settings and reaches 15.84% improvement in C4 (paper Sec. 5.2).
The complete physical L20/P4 heterogeneous-cluster evaluation gives (paper Sec. 5.4):
| Model | ReVar | Strongest applicable comparator | Gain |
|---|---|---|---|
| DeepSeek-V2-Lite | 29.55K tok/s | HexGen-2: 22.16K | 33.3% |
| Mistral-7B | 37.85K | Helix: 37.35K | 1.3% |
| Mixtral-8x7B | 16.43K | Greedy: 10.98K | 49.6% |
Helix applies to dense chains. For Mixtral, Greedy is the strongest measured applicable comparator at 10.98K tok/s, above HexGen-2 at 10.16K. ReVar leads all three models, with 33.3% median physical-cluster gain.
We further materialized every applicable, memory-feasible method for Mixtral-8x22B at 5% headroom on a 38-GPU, 9-node heterogeneous cluster:
| 60-s 38-GPU measurement | ReVar | MILP-NoRep | MILP-NoExpRep | Greedy | Random Best-of-3 |
|---|---|---|---|---|---|
| Throughput (tok/s) | 4,478.57 | 3,671.48 | 3,330.26 | 1,656.41 | 1,163.72 |
ReVar is 22.0% above the strongest feasible comparator, with 1.56% throughput-window CV. The 38-GPU measurements materialize placement, concurrent CUDA execution, routed NCCL communication, and device/link telemetry. Across four models, 38/38 plans ran at least 60 s with zero OOM/failures.
The coupled MoE solver closes exact 4/8-GPU Mixtral MILPs at 0% gap in 0.247/1.383 s. At 38 GPUs, top-4 route screening preserves the unrestricted LP upper bound and yields this integer result:
| Variables (full -> screened) | Integer objective | Screened B&B bound/gap | Time | Max residual |
|---|---|---|---|---|
| 107,389 -> 17,101 (-84.08%) | 52,050.650 | 52,570.941 / 1.00% | 603.5 s | 3.68e-10 |
Screening removes 84.08% of variables while preserving the unrestricted LP upper bound. The integer plan is 163.9% above the HexGen-2 warm start and provides a 1.00%-gap screened B&B certificate at 38-GPU scale.
Q2; W2; W3; L1 - Table 2 and real trace-shaped decode
The runtime retains KV throughout autoregressive decode; the submitted formulation treats KV placement and paging as runtime-managed quantities. Table 2 reports steady-state token throughput under profiled execution costs (paper Sec. 5.1-5.2).
We therefore ran real one-token-at-a-time BF16 generation with SmolLM2-360M-Instruct. Chatbot Arena p50/p90/p99 classes use (prompt, output) = (248,247), (604,608), (1377,1358). Batch 1/2/4/8 each has three independent repetitions: 36/36 completed, retaining every ITL (including 1,357 per p99 trial).
| Aggregate decode tok/s | B1 | B2 | B4 | B8 |
|---|---|---|---|---|
| p50 | 29.28 | 58.55 | 115.07 | 235.04 |
| p90 | 29.69 | 58.75 | 119.71 | 195.21 |
| p99 | 29.63 | 60.28 | 90.74 | 101.24 |
The maximum cross-repeat CV is 3.80%. The p99 measurements capture sublinear batch scaling at long contexts. Analytical and materialized final KV bytes agree exactly in all 36 runs. From measured ITLs, the time-weighted growing context is Lbar = sum_j ITL_j(P+j)/sum_j ITL_j; ITL-weighted accounting reduces conservative maximum-length over-reservation by 28.98%-33.61%. Matched controls show resident KV raises decode from 1.93 to 27.94 tok/s over full-prefix recomputation and retains 1.40x-3.40x the throughput of forced CPU KV round trips. These measurements directly validate stateful autoregressive decode, resident KV, and context-dependent service rates.
Q3; W2; W3; L1 - Sequence affinity and measured-service KV planning
Fractional flow assigns aggregate request arrivals; every admitted stateful sequence remains pinned to its dense path and resident KV. Different sequences realize fractional path rates, while stateless expert activations can still use expert replicas. A weighted-deficit dispatcher realizes the long-run fractions while preserving sequence affinity.
We additionally evaluate a path- and request-class formulation driven by the measured ITLs. For GPU g, the memory constraint includes
sum_s W_s x_sg + sum_{p,c} lambda_pc T_pc Lbar_pc sum_{s in p: p_s=g} kappa_s <= M_g.
Here T_pc is measured decode residence, Lbar_pc is the ITL-weighted growing context, and kappa_s is stage KV bytes/token. The device constraint sums resident sequences lambda_pc T_pc over all admitted paths using that GPU, so placement, path-specific residence, mixed lengths, and per-device batch occupancy are coupled. Finite path/class enumeration remains a MILP.
Using measured A10/V100-32GB/T4/P4 compute, memory, and link profiles, the request residence/context curves, and the same constraints for every method, the growing-KV results are:
| Headroom | Batch | ReVar | Strongest baseline | Gain |
|---|---|---|---|---|
| 10% | 1 / 2 / 4 / 8 | 88.89 / 177.67 / 328.24 / 485.12 | Full Rep.: 59.26 / 118.45 / 218.82 / 323.41 | 50% / 50% / 50% / 50% |
The full predefined grid has 64 method/scenario MILPs: 2 headrooms x 4 measured batch points x 2 occupancy models x 4 methods. All 64/64 reach 0% final gap; ReVar is best/tied in 16/16 planner scenarios, with median gain 36.16% and mean gain 28.09% over the strongest baseline. This yields an exact KV-aware comparison under physically measured nonlinear decode curves and heterogeneous-device profiles.
Together, real autoregressive decode, exact KV-aware comparison, and 38-GPU measurements cover stateful execution, planning quality, and heterogeneous deployment. The same profiling interface incorporates the target engine's continuous batching, paging, allocator, and fused-kernel workspace measurements (L1). Sequence affinity and growing KV therefore remain compatible with aggregate multipath and ReVar's planning formulation.
Dear Reviewer PULs,
Thank you again for recognizing the importance of the problem, the clarity of the paper, and the value of the MILP formulation. We particularly appreciate that your questions translated the main practical concerns—unit granularity, stateful decoding, and KV affinity—into concrete and testable systems criteria. They directly guided the additional experiments below.
-
Unit granularity. All 24 Mixtral MILPs across 1/2/4/8/16/32 groups reach a 0% optimality gap. The submitted four-group graph retains at least 99.9924% of the layer-level optimum, showing that the chosen unit boundary does not materially weaken the solution (Rebuttal Q1/W3).
-
Realistic decode and KV accounting. We completed 36/36 real BF16 one-token-at-a-time autoregressive runs, retained every inter-token latency measurement, and obtained exact agreement between analytical and materialized KV bytes (Rebuttal Q2/W2/W3/L1).
-
KV affinity under multipath routing. Routing fractions are assigned across requests, while each sequence remains pinned to one KV-resident dense path; there is no per-token KV migration or remote KV access. All 64 KV-aware MILPs reach a 0% gap, and ReVar is best or tied in all 16 planner scenarios (Rebuttal Q3/W2/W3/L1).
In addition, all 38 materialized physical plans run for at least 60 seconds with zero OOM or execution failures.
These completed experiments directly resolve the unit-boundary, stateful-decode, KV-affinity, and practical-realization concerns raised in your review.
We sincerely hope the new evidence addresses your questions. If so, we would be very grateful if you would consider reflecting it in your final assessment.
Thank you again for framing these issues so clearly. Your review materially improved the realism and completeness of our physical validation.
Authors
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes ReVAR, a planner for throughput-optimal routing in LLM deployment, which introduces additional approaches to existing planners for various environments, including heterogeneous setups. This work carefully designs the formalization so that this approach serves as a superset optimization problem on top of existing planners. The paper shows up to a 3.1x speedup in mixed-GPU environments.
Strengths and weaknesses
[Strength]:
- This work serves as a generalization of the existing planners, which increases the practicality of the existing planners.
- The formalization itself is adequate.
[Weaknesses]:
- The performance increase is not significant (when seeing Table 2, the performance gain is insufficient compared to the best of baselines for each case).
- The concept itself is not clearly new, and could be seen as an extension of the existing planners through an adequate formalization.
- The writing style is quite AI-gen style. For example, the introduction uses too many \textbf, and the flow is not connected across paragraphs. The following sections share the same style, which would be clearly aggressively AI-assisted.
Questions
[Q1]: Can the authors provide some research challenges for the formalization clearly? As a reviewer who already follows up on existing planners like Helix, I see the contributions as incremental formalizations of existing techniques. Providing clear motivation and explaining why the existing planners produce suboptimal plans would improve the quality of the paper.
[Q2]: There are some papers mentioning the problems with the OOM plan recommendation of the existing planners, and consider the memory constraints of the plans more carefully [A,B] because the memory constraints differ among frameworks and models. But the discussion in the paper is quite limited. How accurately does ReVar estimate the memory usage of frameworks? Could the authors provide more details?
[Q3]: Can the authors modify the writing in a more fluid manner? The current paper uses too many textbf, and the connections among paragraphs are not tight, which harms readability. If the writing is improved, the readers can understand the challenges more easily and the novelty of the paper more vividly.
[A]: Wang et al., AutoHAAP: Automated Heterogeneity-Aware Asymmetric Partitioning for LLM Training (HPCA 2026).
[B]: Yim et al., Pipette: Automatic Fine-grained Large Language Model Training Configurator for Real-World Clusters (DATE 2024).
Limitations
Not clearly mentioned, the authors need to mention some abstracted memory-related memory estimation (mentioned in questions), and so on.
Final justification
Dear authors, thank you for the rebuttal. Regarding the rebuttal items Q2/Q3, my concerns are addressed. Regarding novelty, I feel that the improvement over existing approaches is minor, even after reading the rebuttal. The rebuttal partially addresses my concern about novelty, but given that the scope of heterogeneous LLM deployment is already relatively narrow, the novelty should be clearly presented.
My concerns have been partially addressed, and my final assessment is actually between 3 and 4. However, my concerns related to writing cannot be fully addressed until the introduction part is fully rewritten. Thus, I raised my score to 3, not 4.
Formatting concerns
None.
9 comments
Rebuttal
We thank the reviewer for recognizing ReVar's formulation and generality. We label the concerns W1 (performance), W2 (novelty), W3 (memory), W4 (writing structure), and the memory limitation L1.
Q1; W1; W2 - Research challenge, strict novelty, and practical significance
The research challenge is to make replica cardinality endogenous for every dense stage and MoE expert while jointly optimizing heterogeneous placement, per-replica rates, and directed multi-path activation flow. Adding a replica consumes VRAM, changes compute, creates routing endpoints, and redistributes traffic over shared bottlenecks; fixing any decision first can exclude the throughput optimum (paper Sec. 3.1-3.3).
| Planning family | Restriction that ReVar removes | Concrete failure mode |
|---|---|---|
| Pipeline / Helix | Dense chain; one stage/GPU; disjoint pipelines | Slow stages may gate fast GPUs; cross-pipeline capacity can remain unused |
| Full replication | Fixed whole-model copies | Component-level memory/compute imbalance remains uncorrected |
| Expert-only replication | Fixed dense replication | Dense stages may bottleneck after hot experts are replicated |
| Placement-then-routing | Placement precedes global flow | A feasible placement may saturate a directed link/shared domain |
The generalization is formally strict: every Helix plan is ReVar-feasible under Helix's restrictions, while the paper's two-GPU counterexample proves the converse false (paper Sec. 3.3; App. C.2.7). Adding restrictions recovers pipeline, full-replication, and expert-parallel plans (paper Sec. 3.3). Mechanism results confirm that uneven replication mitigates compute stragglers and optimized flow avoids bottleneck links (paper Sec. 5.3).
The complete evaluation shows consistent gains across analytical and physical settings. ReVar wins 14/15 main settings and is within 0.2% in the last, improving up to 15.8% over the strongest prior planner (paper Sec. 5.2). All three physical results in Table 3 are:
| Physical L20/P4 result | ReVar | Strongest applicable comparator | Throughput gain |
|---|---|---|---|
| DeepSeek-V2-Lite | 29.55K tok/s | HexGen-2: 22.16K | 33.3% |
| Mistral-7B | 37.85K tok/s | Helix: 37.35K | 1.3% |
| Mixtral-8x7B | 16.43K tok/s | Greedy: 10.98K | 49.6% |
ReVar leads all three; the median gain over the strongest applicable comparator is 33.3% (paper Sec. 5.4). Helix applies to dense chains. For Mixtral, Greedy is the strongest measured applicable comparator at 10.98K tok/s, above HexGen-2 at 10.16K.
The baseline-complete 38-GPU measurements add a physical MoE comparison. At 5% headroom, every applicable, memory-feasible Mixtral-8x22B candidate ran for at least 60 s:
| 38-GPU measurement | ReVar | MILP-NoRep | MILP-NoExpRep | Greedy | Random Best-of-3 |
|---|---|---|---|---|---|
| Mixtral-8x22B | 4,478.57 tok/s | 3,671.48 | 3,330.26 | 1,656.41 | 1,163.72 |
ReVar is 22.0% above the strongest feasible comparator (window CV 1.56%). Under the same measured budgets, HexGen-2, LLM-PQ, Pipeline Colocation, and Trunk Replication do not fit; Full Replication and Helix apply to dense cases. The 38-GPU measurements materialize placement, concurrent CUDA execution, routed NCCL communication, and device/link telemetry.
We additionally measure the coupled MoE solver. Under recorded budgets, the feasible integer objective equals the LP bound in every case:
| Exact MILP instance | GPUs | Headroom | Variables / integer variables | Integer objective | LP upper bound | Final gap | Solve time |
|---|---|---|---|---|---|---|---|
| Llama-3-8B | 38 | 5% | 4,637 / 152 | 100,570.86 | 100,570.86 | 0% | 0.406 s |
| Mistral-7B | 38 | 5% | 4,637 / 152 | 105,415.78 | 105,415.78 | 0% | 0.416 s |
| Mixtral-8x7B | 4 | 10% | 1,513 / 180 | 10,217.44 | 10,217.44 | 0% | 0.247 s |
| Mixtral-8x7B | 8 | 10% | 5,329 / 360 | 20,391.78 | 20,391.78 | 0% | 1.383 s |
Both dense objectives equal Helix's; maximum dense residual is below 2.7e-11. These solver-certified objectives use the profiled resource model; equality between the feasible integer solution and solver upper bound certifies optimality.
At 38-GPU Mixtral-8x7B scale (10% headroom), five independent LP-bound measurements give:
| 38-GPU LP formulation | Total variables | Route variables | LP upper bound | Median time | Median peak RSS |
|---|---|---|---|---|---|
| Full routing | 107,389 | 103,968 | 59,131.124541 | 1.153 s | 362.5 MiB |
| Top-1 screened routing | 8,893 | 5,472 | 59,131.124541 | 0.634 s | 155.6 MiB |
Screening keeps 5.26% of route variables and the same LP objective (maximum residual 3.05e-10), with 91.72% fewer total variables, 57.1% less memory, and 1.82x speedup. The identical LP objective verifies bound preservation, complementing the exact 4/8-GPU MILP certificates. Together with the physical MoE gains, these results establish exact 4/8-GPU MoE closure and practical 38-GPU bound construction.
Q2; W3; L1 - Framework-specific memory accounting and validation scope
ReVar uses framework-calibrated memory accounting that combines architectural bytes with target-engine and kernel measurements (paper Sec. 3.1-3.2):
| Memory term | Treatment |
|---|---|
| Weights | Tensor bytes for representation/dtype x replica count |
| Activation/workspace | Runtime/shape-specific profiled kernel peak |
| Runtime reserve | Post-system-reservation budget plus headroom rho for transients/fragmentation |
| KV cache | kappa_g C_g L_max; bytes/token from layers, KV heads, head dimension, dtype, or measurement (paper App. A) |
As AutoHAAP and Pipette motivate, framework workspaces and allocator behavior are profiled for the target runtime. ReVar enforces their measured sum using conservative profiles and explicit headroom.
Two complementary physical validations give:
| Validation | Evidence | Result |
|---|---|---|
| SmolLM2-360M BF16 | Real Attention, autoregressive decode, and KV allocation | Exact analytical/materialized KV-byte agreement in 150 completed cached executions |
| Capacity-boundary probes | Nine deliberately over-capacity configurations | 9/9 produced the expected OOM outcome |
| 38-GPU, 9-node heterogeneous cluster | 38 plans across four models and 72,530 telemetry records | 38/38 completed at least 60 s with zero OOM/failures |
The executions validate the architectural KV term, while the 38-GPU telemetry independently validates total device-budget enforcement.
Multi-GPU telemetry records total device peaks: 273/274 (99.64%) ReVar GPU-plan records stayed within the solver's effective budget; the maximum deviation was 0.056 GB, with zero plan OOM. This demonstrates framework-calibrated budget enforcement across the evaluated deployments.
Together, the 38-GPU measurements and real autoregressive decode validate heterogeneous placement, device-budget enforcement, Attention execution, and KV accounting. The same profiling interface incorporates the target engine's allocator, fused-kernel workspace, communication buffers, batching, and KV paging (paper App. A.1). ReVar is therefore a framework-calibrated memory-budget enforcer.
Q3; W4 - Writing structure
We will reduce excessive bold lead-ins, strengthen transitions, and revise the introduction for a more continuous argument. The claim–evidence structure and bold lead sentences was stylistic choices intended to improve readability: following the conventional organization of argumentative writing, each paragraph begins with its main claim and then develops it through explanation, qualification, and supporting evidence, allowing reviewers and readers to identify the key point efficiently. This structure is applied consistently throughout the paper, although the more frequent use of tables and figures in later sections may make the bold lead sentences less visually conspicuous.
Dear authors, thank you for the rebuttal. Regarding the rebuttal items Q2/Q3, my concerns are addressed. However, in terms of novelty, I felt that the improvement over existing approaches is minor even after reading the rebuttal. The rebuttal partially addresses my concern about novelty, but given that the scope of heterogeneous LLM deployment is already relatively narrow, the novelty should be clearer. Since my concerns have been partially addressed, I have raised my score to 3.
We thank the reviewer for the careful follow-up and for identifying novelty as the remaining concern. ReVar formulates a mixed-integer network-design and multicommodity-flow problem, whereas Helix is maximum flow, LLM-PQ is single-path pipeline planning, and HexGen-2 is disjoint group-pipeline packing.
The central novelty is a new inference-planning object, not the use of an MILP solver. (1) ReVar takes a directed modular inference graph, heterogeneous GPU/link budgets, and profiled unit costs; (2) it jointly chooses every unit’s replica count, placement, execution rate, and activation flow; (3) it maximizes steady-state token throughput under coupled compute, memory, and directed-bandwidth constraints (paper Sec. 3.1–3.3). Replica cardinality is endogenous for dense blocks, MoE trunk/dispatch/combine units, and individual experts. A new generic solver is therefore not required for the formulation-level contribution: the novelty lies in the resource-flow object, its theory, and its executable plans.
A short analogy is that cutting beef across the grain and cutting it again along an orthogonal direction expose different structural possibilities. (1) The first cut shortens fibers; (2) the second changes surface area, marinade penetration, browning, and texture; (3) similarly, Helix cuts only along the layer-chain axis, whereas ReVar also exposes the internal module axis. Megatron-LM’s tensor/pipeline/data axes, DeepSeek-V2’s latent KV axis in MLA, and Kimi Team’s learned Attention Residuals illustrate the same principle: adding an orthogonal structural axis can change capability rather than merely add notation. These systems are not equivalent to ReVar, but they clarify why the additional axis is technically meaningful.
The joint formulation is non-obvious because replication, placement, rates, and routing are mutually coupled. (1) The placement variable controls both whether unit can execute on GPU and its weight-memory cost; (2) the multiplicity equations convert one model token into internal work for branched components such as MoE (paper Eq. (1); App. C, Lemma C.4); (3) the rates and flows must satisfy flow conservation while consuming compute, memory, and directed-link capacity (paper Eq. (2)); (4) changing placement changes routing endpoints, and changing routing changes the useful placement. A placement-first/routing-second decomposition can therefore remove the optimum before routing is optimized. The resulting MILP is NP-hard, while fixed-placement optimization is an LP (paper App. C, Thm. C.12 and Prop. C.8).
Helix and ReVar are different TCS problem classes, with a provable strict containment relation. Helix is a maximum-flow problem over a fixed dense-chain, disjoint-pipeline space, whereas ReVar is a joint mixed-integer resource-allocation and multicommodity-flow problem over a modular inference graph. (1) Definition C.10 restricts ReVar to a dense chain, binary placement, at most one stage copy per GPU, and Helix’s memory abstraction; (2) Theorem C.11 proves
where is the Helix feasible set, is the unrestricted ReVar feasible set, and denotes the Helix restrictions. The corresponding optimization values are
where is the optimal rate-and-flow value after fixing placement . Thus every Helix plan is representable by ReVar under the Helix restrictions, but ReVar additionally optimizes modular placement, arbitrary component replication, and routing configurations that Helix cannot express (paper Sec. 3.3; App. C, Def. C.10 and Thm. C.11).
The strict containment yields a concrete 10× separation. (1) In App. C.2.7, two GPUs have compute and memory budgets 1 and 2, respectively, with directed link capacity 0.1; the two chain units each have weight and FLOP cost 1; (2) ReVar places a complete copy on each GPU, routes on-device, and achieves ; (3) Helix’s one-stage-per-GPU restriction forces traffic over the slow link, giving . This is a separation in attainable plans, not merely a different encoding.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
ReVar is a capacity-planning oracle for heterogeneous LLM serving: it makes per-component replica counts (dense stages, MoE experts) decision variables on a modular unit graph and solves a MILP for placement, per-GPU rates, and token-flow routing, yielding a throughput upper bound plus a plan. It sits above the kernel/runtime layer (DeepEP, expert-parallel kernels, batching schedulers), consuming their profiled cost primitives (F, S, B) as inputs rather than competing with them.
Contributions:
- the coupled placement/flow formulation;
- a two-sided theory (upper bound + realizability + LP dual certificate);
- NP-hardness;
- closed-form regime optima;
- emulated + real-cluster evaluation.
Strengths and weaknesses
Strengths
- Clean, unifying formulation. Subsumes pipeline parallelism, full replication, expert parallelism, and Helix as special cases; per-expert replication genuinely extends bottleneck-driven planning to MoE.
- Rigorous, verified theory. I checked the PARTITION reduction, realizability (C.7), the upper bound (C.6), and the multipath closed forms; they hold. The LP dual with VRAM/bandwidth shadow prices (A.1) is the standout.
- Correct scoping. Related work bills the method as complementary to runtime systems, which is the right posture; mechanism analysis (Figs 3–4, 7) and a real-cluster study with latency (Table 3) support it.
Weaknesses
- Coefficient fidelity and bound-tightness are unvalidated. Its worth depends on inputs reflecting optimized runtimes and on the bound being tight against real achievable throughput. But compute is emulated via delay kernels calibrated to the planner's own profile, bandwidth is a constant per-pair B (contention/collective-overlap only in an unevaluated appendix), and KV cache is omitted from the optimized program. No experiment characterizes the bound-vs-reality gap against a real optimized serving stack, so we can't tell whether the "upper bound" is tight or loose in the regimes that matter.
- Dynamics at the edge of the oracle's domain are untested. The static plan uses expected expert load p_e, but Figs 12–13 show p_e drifts across corpora; there is no plan-on-A/serve-on-B robustness study despite the data being in hand, and no account of the online, affinity-aware dispatcher needed to realize the fractional routing. These are inherent to a static planner, but should at least be demonstrated/discussed.
- Scalability shown only at small scale (≤9 GPUs, ~10⁴ variables); the mp² routing tensor grows with GPU count², and the proposed decomposition/column-generation is described but not benchmarked.
Quality: Theory is genuinely rigorous.
Clarity: Dense but well-organized.
Significance: Real but bounded. As discussed above, its practical wins are gated by coefficient accuracy and a runtime to realize fractional plans.
Originality: The unit-graph "replicas-as-variables" abstraction unifying dense stages and MoE experts under one placement+flow program is a new framing, and generalizing Helix is a real conceptual step.
Questions
- How tight is the MILP upper bound against measured throughput on a real, kernel-optimized runtime? Can you quantify the bound-vs-reality gap and attribute it to placement (your domain) vs. runtime?
- Do the input coefficients reflect optimized collectives (e.g., overlapped all-to-all), or a naive constant B?
- Robustness: plan on one corpus's p_e, serve another's trace — how much does throughput drop, and how is fractional routing realized under KV/sequence affinity?
- Solver behavior and plan quality beyond ~10 GPUs with the proposed decomposition?
Limitations
Yes
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer for the careful technical reading and verification of the theory. Follow-up results address coefficient fidelity, workload drift, KV affinity, and 38-GPU scaling.
Key follow-up results
| Concern | Result |
|---|---|
| Certificate | All 64 hardware measurements spanning 38 physical plans respect the corresponding profiled-model capacity certificate: 0/64 execution-level and 0/38 plan-level violations. |
| Deployment ranking | An algorithm-identity-free calibrator selected the measured-best candidate in 8/8 temporally separated groups; the minimum 95% selected/best ratio lower bound is 0.996. |
| Coefficients/fabric | Per-shape/per-GPU CUDA times, measured NCCL coefficients, and 90 node/NIC contention domains per 38-GPU instance. |
| Drift/KV | Adaptive routing has 0.206% worst regret across the complete 4x4 distribution-shift matrix; KV-aware ReVar is best/tied in 16/16 measured-curve scenarios. |
| Scale | Dense 38-GPU MILPs and 4/8-GPU MoE MILPs reach 0% gap; the 38-GPU screened MoE solve reaches 1.00% B&B gap. |
Q1; W1; L1 - Certificate and measured execution
The profiled-model certificate combines measured service times, memory terms, and communication capacities (paper Sec. 3.2; App. A). Across 64 physical measurements covering 38 plans, no observed throughput exceeds its corresponding certificate: 0/64 execution-level and 0/38 plan-level violations. All 38/38 materialized plans ran for at least 60 s with zero OOM/failures and produced 72,530 telemetry records.
Bound-to-execution gap. For each one-second window , we compute
where tok/s is the profiled ReVar plan capacity for Mixtral-8x7B at 10% headroom and is the measured physical throughput.
| Physical ReVar run | Median gap | P90 gap | Maximum gap |
|---|---|---|---|
| Mixtral-8x7B, 10% headroom, 60 windows | 5.81% | 7.04% | 11.78% |
Mean measured throughput is 18,494.67 tok/s.
For attribution, let denote the exact capacity obtained by fixing the integer placement and re-optimizing rates and routes:
Here tok/s, giving 0.00% placement loss. The runtime component is 5.81% median, 7.04% P90, and 11.78% maximum.
For deployment ranking, we apply one algorithm-identity-free, leave-one-model-out calibrator to every candidate using source-model measurements only. In a subsequent reboot-separated 60-s rerun, it selects the measured-best candidate in 8/8 model/headroom groups; the smallest 95% lower confidence bound on selected/best throughput is 0.996. The profiled certificate constrains candidate generation, while temporally separated measurement validates the selected deployment.
Q2; W1; L1 - Shape-specific compute and shared-fabric communication
The 38-GPU study uses measured coefficients throughout:
| Resource | Measured input |
|---|---|
| GPU compute | Per-shape, per-GPU CUDA service time |
| Communication | NCCL effective throughput for intra-node, same-zone, and cross-zone paths |
| Shared fabric | Node/NIC ingress, egress, and cross-zone contention caps |
Across 152 model-GPU profiles, timing CV is 0.35% median and 2.25% maximum. Each 38-GPU model/headroom instance includes 72 directed node-pair domains, nine NIC-egress domains, and nine NIC-ingress domains. Shared-domain constraints prevent multiple GPU pairs from double-counting the same NIC capacity. DeepEP- or runtime-specific overlap enters through the same interface as a measured effective coefficient (paper Sec. 3.1-3.2; Sec. 5.1; App. A).
Q3; W2; L2 - Distribution shift, fractional routing, and KV affinity
Three measured corpora and a uniform control produce four expert-load distributions. Planning on each and serving all four gives the complete 4x4 matrix:
| Adaptive policy under shift | Worst regret vs. corpus-specific replanning | Fixed-placement LP time |
|---|---|---|
| Fix placement; re-optimize rates/routes | 0.206% | 14.9 ms median; 15.7 ms maximum |
Request-level weighted-deficit admission realizes the planned fractions. The controller observes admitted expert rates, resolves the fixed-placement LP, and publishes route weights. Every decode sequence remains pinned to its KV-resident dense path; stateless MoE activations remain routable across expert replicas. Thus placement stays stable while rates/routes adapt on a millisecond control-plane timescale (paper Sec. 3.2; App. A).
We additionally evaluate a path- and request-class KV formulation driven by measured decode residence and context curves. For GPU g, it adds
sum_s W_s x_sg + sum_{p,c} lambda_pc T_pc Lbar_pc sum_{s in p: p_s=g} kappa_s <= M_g.
The constraint jointly accounts for placement, path-specific residence, mixed lengths, growing context, and per-device occupancy. Real BF16 autoregressive decode completes 36/36 Chatbot-Arena-shaped runs; analytical and materialized KV bytes agree exactly, and resident KV achieves the highest throughput in 9/9 matched cache-policy comparisons.
Using the measured curves and common A10/V100/T4/P4 profiles, all 64/64 method/scenario MILPs reach 0% final gap. ReVar is best/tied in 16/16 planner scenarios, with 36.16% median and 28.09% mean gain over the strongest baseline. At 10% headroom, it improves over Full Replication by 50% at every measured batch size (1/2/4/8).
Q4; W3; L3 - 38-GPU solver scaling and plan quality
The coupled formulation reaches exact closure on dense 38-GPU and MoE 4/8-GPU instances:
| Exact MILP | GPUs | Variables / integer | Objective = LP bound | Gap | Time |
|---|---|---|---|---|---|
| Llama-3-8B | 38 | 4,637 / 152 | 100,570.86 | 0% | 0.406 s |
| Mistral-7B | 38 | 4,637 / 152 | 105,415.78 | 0% | 0.416 s |
| Mixtral-8x7B | 4 | 1,513 / 180 | 10,217.44 | 0% | 0.247 s |
| Mixtral-8x7B | 8 | 5,329 / 360 | 20,391.78 | 0% | 1.383 s |
At 38-GPU Mixtral scale, top-4 route screening preserves the unrestricted LP upper bound and gives:
| Variables (full -> screened) | Integer objective | Screened B&B bound / gap | Time | Max residual |
|---|---|---|---|---|
| 107,389 -> 17,101 (-84.08%) | 52,050.650 | 52,570.941 / 1.00% | 603.5 s | 3.68e-10 |
The complementary top-1 LP construction preserves the full relaxation objective while reducing formulation cost:
| 38-GPU Mixtral LP | Variables | Route variables | Objective | Median time | Peak RSS |
|---|---|---|---|---|---|
| Full tensor | 107,389 | 103,968 | 59,131.124541 | 1.153 s | 362.5 MiB |
| Screened tensor | 8,893 | 5,472 | 59,131.124541 | 0.634 s | 155.6 MiB |
Screening removes 91.72% of variables, reduces peak memory by 57.1%, and improves solve time by 1.82x, with residual 3.05e-10. This provides practical sparse 38-GPU bound construction.
At 5% headroom on the same inventory, ReVar matches the solver-certified Helix optimum on both dense models. For MoE, it improves over the strongest feasible comparator by 9.15% on Mixtral-8x7B and 50.56% on Mixtral-8x22B:
| Model | ReVar objective | Strongest feasible comparator | Gain |
|---|---|---|---|
| Mixtral-8x7B | 22,720.84 | HexGen-2: 20,816.01 | 9.15% |
| Mixtral-8x22B | 6,225.66 | MILP-NoExpRep: 4,134.98 | 50.56% |
For Mixtral-8x22B, HexGen-2, LLM-PQ, and Pipeline Colocation exceed the common measured memory budgets; MILP-NoExpRep is therefore the strongest feasible comparison and directly isolates expert replication's value.
Together, these results establish measured certificate consistency, accurate deployment selection, shape- and fabric-specific coefficients, millisecond adaptation under workload shift, sequence-affine KV planning, and practical 38-GPU solution quality.
Dear Reviewer rDGw,
We sincerely thank you for the careful and constructive review. We especially appreciate your close examination of the theoretical results, including the reduction, upper bound, realizability argument, and LP dual certificate—and your precise distinction between ReVar’s planning layer and the underlying runtime. Your review helped us identify exactly where the theoretical contribution needed stronger empirical grounding.
Your questions directly motivated the follow-up validation of certificate tightness, coefficient fidelity, workload drift, KV/sequence affinity, routing realization, and larger-scale solver behavior. The physical measurements now quantify the bound-to-execution gap and its placement/runtime decomposition; the 38-GPU study uses shape-specific CUDA measurements and shared-fabric capacity domains; and the adaptive-routing and KV-aware experiments clarify how fractional plans can be realized while keeping each sequence pinned to its resident KV path (rebuttal Q1–Q4/W1–W3/L1–L3).
We are grateful that your feedback combined a rigorous technical assessment with clear guidance about the evidence needed to make the planner’s practical meaning assessable. It substantially improved how we understand and present the relationship among the optimization model, its certificate, and an executable deployment.
Thank you again for the time and care you invested in reviewing our work. We have no further request; we simply wanted to close the loop and express our sincere appreciation. Should any point still benefit from clarification, we would of course be very happy to respond.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
Thank you for synthesizing the reviews and identifying the decision-critical concerns in the initial meta-review. We organized the follow-up validation around those concerns. The results below do not change ReVar’s central formulation or claimed contribution; they directly test the profiling, routing, memory, and execution interfaces already described in the submission.
Certificate and measured execution. Across 38 materialized plans and 64 physical measurements, we observe 0/64 execution-level and 0/38 plan-level violations of the corresponding profiled certificate. For the physical Mixtral-8×7B run, the median and P90 bound-to-execution gaps are 5.81% and 7.04%. In this run, fixing the integer placement and reoptimizing rates and routes gives the same upper bound, attributing 0.00% loss to placement and the remaining difference to runtime execution. An algorithm-identity-free calibrator selected the subsequently measured-best deployment in 8/8 temporally separated groups. The 38-GPU study uses shape-specific CUDA measurements, measured NCCL coefficients, and shared node/NIC capacities (rebuttal to rDGw, Q1–Q2/W1/L1).
Stateful decode and routing realization. We completed 36/36 real BF16 one-token-at-a-time autoregressive runs, retained every ITL, and obtained exact agreement between analytical and materialized KV bytes. Fractional routing represents aggregate request rates: every sequence remains pinned to one dense path with resident KV, without per-token KV migration or remote KV access. The integrated weighted-deficit control test completed 38/38 requests with zero sequence migrations and no credit violations. The KV-aware path/class formulation remains an MILP; all 64 evaluated instances reached a 0% final gap, and ReVar was best or tied in all 16 planner scenarios (rebuttal to PULs, Q2–Q3; rebuttal to b1zm, Q2/Q4).
Drift, shared fabric, and scale. The complete 4×4 plan/serve distribution-shift matrix gives 0.206% worst regret after fixed-placement adaptation, with 15.7 ms maximum LP time. Each 38-GPU instance includes 90 measured contention domains covering directed node pairs, NIC egress, and NIC ingress. All 38 physical plans ran for at least 60 seconds with zero OOM or execution failures. Exact 4/8-GPU MoE MILPs close at 0% gap, while the screened 38-GPU MoE solve reaches a 1.00% gap (rebuttal to rDGw, Q3–Q4; rebuttal to b1zm, Q3/Q5).
Practical relevance and homogeneous fleets. We agree that heterogeneous within-replica execution should not be assumed preferable. On the same frozen 38-GPU inventory, the portfolio selected homogeneous Full Replication or HexGen-2 in all 6/6 cases where homogeneous grouping was feasible and preferable. It selected unrestricted ReVar only in the two capacity-bound Mixtral-8×22B cases where no same-type pool could fit under the common effective memory budgets. In those cases, measured ReVar throughput was 22.0% above the strongest feasible comparator (rebuttal to b1zm, Q1/W3/L1).
On originality, the contribution is not the use of an MILP solver itself, but the planning object in which replica cardinality, placement, execution rate, and directed multipath flow are jointly endogenous for every dense and MoE unit (Sec. 3.1–3.3). ReVar recovers the Helix feasible set under Helix’s restrictions, while the converse does not hold (App. C, Definition C.10 and Theorem C.11). The two-GPU construction gives a concrete 10× separation in attainable throughput because ReVar can represent replicated on-device paths unavailable to the restricted plan space (App. C.2.7). Empirically, ReVar matches restricted planners when their structures are sufficient and separates when component-level replication or heterogeneous capacity becomes active.
We also accept the presentation concern and will reduce excessive bold lead-ins, strengthen transitions, and state the planning object and strict-containment result more directly.
Taken together, the discussion has narrowed the remaining question from whether the certificate and plans lack practical validation to the evaluative question of whether the demonstrated planning capability, theory, and measured regimes constitute a sufficiently significant and original contribution. We respectfully ask that the final assessment distinguish this remaining judgment from the technical and practical concerns for which direct evidence has now been provided.
Thank you again for the thoughtful synthesis and constructive guidance. It materially strengthened both the paper’s empirical foundation and the clarity of its contribution.
Authors