NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Can Hybrid-Parallel Planning Support Alternating Model–Strategy Design? Dependency-Keyed Per-Layer Primitives for Re-Planning

Ruiwen Wang, Thibaut Tachon, Raja Appuswamy, Chong LiNeurIPS 2026

TL;DR

Designing a massive neural network isn't a one-shot event; it’s a ping-pong match between tweaking the model’s architecture and recalculating how to split it across thousands of chips without running out of memory. Traditional distributed planners force you to recalculate everything from scratch every time you add a few layers or double the context window. CONCORD introduces a smart, layer-level caching contract that safely reuses valid math from previous design iterations—speeding up the planning loop by nearly 3× while finding distributed layouts that train up to 1.70× faster than expert-tuned baselines.

What Problem Does This Paper Address?

When training a giant model across thousands of accelerators, how you slice the workload—using Data, Tensor, Pipeline, or Expert Parallelism (DP, TP, PP, EP), plus activation recomputation—makes or breaks your budget. A bad layout stalls on network bottlenecks or triggers instant Out-Of-Memory (OOM) crashes.

In reality, teams don't build a model and then plan its parallelism. They iterate: start with a baseline, add 8 layers, re-plan, add 128 Mixture-of-Experts (MoE) routers, re-plan, double the sequence length from 4K to 8K, and re-plan again. Existing automated planners treat every tweak as a brand-new universe, recomputing everything from cold start. Why not just cache the old plans? Because global legality rules (like how world size and batch size divide across stages) are tightly coupled; naive caching risks returning illegal or suboptimal layouts. We needed a way to do incremental re-planning that guarantees the exact same optimal result as a full, from-scratch search.

Figure 1: Configuration-iterative workflow in production model design. (a) Workflows built around fixed- configuration planners restart planner search on every model edit (blue = full analytical search). (b) CONCORD attaches a static dependency set κ(e) and a value signature σ(e) to each per-layer cost evaluation (Table 1); for classified edits, entries whose κθ(e) references a changed field are invalidated, and unclassified edits fail closed (global invalidation under the ⊤sentinel). Dependency-keyed re-planning runs the same macro enumerator as cache-disabled full search. Reuse reduces analytical planning time; the separate training-step gains result from changes to the selected parallel layout and recomputation policy.

Methods

The authors' core realization is that while global parallelism strategies don't survive model edits, per-layer physical realities mostly do. Adding layers doesn't change the tensor math inside an untouched layer.

Enter CONCORD and its dependency-keyed per-layer primitive ($\pi_\ell$). Instead of treating the model as a monolith, CONCORD uses closed-form analytical templates to calculate a 5-part cost tuple for each layer: exposed communication, parameter memory, activation memory, forward time, and backward time.

To make these primitives safely reusable across model edits, every evaluation is tagged with two pieces of static metadata:

  1. A dependency set ($\kappa$): Every configuration field (like hidden size or expert count) the formula syntactically read to compute its answer. When you edit a model, anything touching a changed field is evicted. If you touch an unknown field, it "fails closed" and flushes the cache globally—safety first.
  2. A value signature ($\sigma$): The actual numerical values of those inputs. Watching field names alone isn't enough; matching exact values prevents silent cache collisions across iterations.
Figure 2: CONCORD dataflow. (a) Closed-form layer templates emit the per-layer primitive πℓ= (cℓ, mℓ, tℓ) together with dependency metadata (κ, σ); the same primitive supports candidate evaluation, the inner MILP under feasibility predicate Φ, and stage-level composition. (b) At θ(t+1): the κ filter invalidates entries touched by ∆θ, and the σ check admits only value-matching primitive evaluations; the MILP warm-starts when σgrid is unchanged. The dashed profile-validation gate is an optional, unmeasured extension.

On every design edit, CONCORD still enumerates the entire global search space and checks peak-memory feasibility from scratch. However, it skips redundant layer math via $(\kappa, \sigma)$ cache hits, and feeds the surviving layer primitives into an inner Mixed-Integer Linear Program (MILP)—which can also warm-start when pipeline grids match—to jointly optimize layer-to-stage assignment and selective activation recomputation.

Datasets

Not discussed in the paper. Because the study measures steady-state distributed systems performance (step time, peak HBM, and planner latency) rather than model convergence or accuracy, no specific training text datasets are named. Instead, the authors evaluate three production-scale model architecture "fixtures" across 256 to 4,096 Huawei Ascend 910-series accelerators (64 GB HBM each): MoE-438B (4K sequence), MoE-105B (16K/32K long-context), and Dense-175B, subjected to realistic architectural edits.

Key Insights and Ideas

  • Local evaluations are the true unit of reuse: Global macro-strategies shatter when you tweak model depth or sequence length due to divisibility constraints, so you must re-run global enumeration. Caching at the per-layer primitive boundary gives you speed without sacrificing full-search optimality.
  • Names aren't enough—check the values: In a diagnostic test, stripping away the value signature ($\sigma$) and relying solely on field-name dependencies ($\kappa$) let 57 "phantom" invalid candidates slip through, flipping the top-1 chosen plan.
  • Fine-grained primitives spot hardware traps humans miss: On a 32K long-context MoE workload across 256 chips, the human-tuned baseline used EP=32, forcing slow cross-node communication. Because CONCORD's primitives expose exact communication bandwidth tiers alongside memory liveness to the MILP solver, it automatically pivoted to intra-node EP=8 and absorbed the massive long-sequence activation memory by deepening the pipeline from 2 to 8 stages.
  • Reuse mechanisms help architectures differently: Cross-edit primitive caching shines on complex MoE models, whereas Dense models spend 90%+ of their planning time inside the pipeline-balancing solver—meaning Dense setups get most of their re-planning speedup from MILP solver warm-starts rather than cross-edit layer caching.

Key Results

  • Faster Training Steps: On clusters up to 4,096 accelerators, CONCORD's layouts beat expert-tuned Megatron-style baselines by 1.14× to 1.24× on standard MoE runs, and hit a 1.70× speedup on the 256-device, 32K-context MoE-105B workload.
  • Sharp Analytical Predictions: Across preselected executed plans, step-time predictions landed within -2.76% to +4.24% of reality (perfectly preserving candidate rankings), and peak HBM estimates stayed within 3.62%—safely inside the 5% engineering memory reserve.
  • Faster Re-Planning with Zero Drift: Across 54 architectural edit scenarios, the complete reuse path achieved a median 2.75× planner wall-clock speedup (up to 8.21×; 2.96× median on MoE, 2.23× on Dense). Crucially, warm and cold searches achieved 100% parity: 54/54 identical top-1 plans and 0/162 stale-hit mismatches.
Steady-state training step time comparing manual Megatron baselines against CONCORD across MoE-438B and long-context MoE-105B workloads.

Limitations and Future Work

  • Hardware & Run Scope: All physical experiments ran on a single accelerator family (Huawei Ascend 910-series); quantitative transfer to other GPUs/TPUs isn't validated yet. Furthermore, step times reflect three steady-state steps rather than full end-to-end training runs or numerical convergence studies.
  • Selective Dispatch Boundaries: Only five core architectural fields (layers, experts, top-$k$, expert width, sequence length) currently use fine-grained invalidation; editing fields like hidden size $h$ triggers a conservative global cache flush (though within-call memoization still yields a 2.24× speedup).
  • Analytical Scope Only: Planner speedups save seconds to minutes of CPU-side analytical math, excluding downstream compilation, profiling, and dry-run memory checks. Future extensions could compose CONCORD with kernel-level schedulers like Ansor or wrap profile-driven primitives using the same $(\kappa, \sigma)$ contract.

Summary updated

Abstract

Production training of large models alternates between model edits and hybrid-parallel strategy planning. Fixed-configuration planners solve each revision from scratch, while unvalidated reuse across edits risks returning a different plan than full re-search would. We introduce a dependency-keyed per-layer primitive interface for re-planning. Its layer primitives expose communication, memory, and compute estimates that compose into pipeline-stage memory and step time. CONCORD uses this shared representation to select efficient parallel layouts and jointly optimize layer assignment and recomputation under peak-memory constraints. The same templates expose input dependencies for selective invalidation, while value signatures gate reuse by matching current inputs. This enables reuse of valid local evaluations across model edits while rerunning global search and feasibility checks. On production MoE workloads at up to 4096 devices, selected plans achieve 1.14–1.24× training step-time speedup over an expert-tuned Megatron-style baseline, reaching 1.70× on a long-context workload. The complete reuse path combines within-call memoization, cross-edit primitive reuse, and compatible solver warm-start, achieving a median 2.75× planner wall-clock speedup over cache-disabled full search. An independent ablation separates the contributions of these reuse mechanisms. Across all tested model edits, cold and warm searches match in candidate and feasibility counts and top-1 choices, with no observed stale-hit mismatches.
BibTeX
@inproceedings{wang2026can,
  author = {RUIWEN WANG and Thibaut Tachon and Raja Appuswamy and Chong Li},
  title = {{Can Hybrid-Parallel Planning Support Alternating Model–Strategy Design? Dependency-Keyed Per-Layer Primitives for Re-Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qLgijcuHlO},
}
Figure