$\mathtt{DistP}$: Scaling Local-Update Training with Zero-Shot Hyperparameter Transfer

Andrej Jovanović, Alex Iacob, Philipp Wiesner, Christophe Roux, Max Zimmer, Lorenzo Sani, Sebastian Pokutta, Nicholas D. LanearXiv 2026

Imagine you’re trying to coordinate a massive team of chefs to cook a single, giant banquet. In standard "Distributed Data Parallelism" (DDP), every chef has to stop and check in with everyone else after every single chop of a vegetable. It’s perfectly synchronized, but if the kitchen’s intercom is slow, everyone spends more time waiting than cooking.

To fix this, researchers use "local-update" training. Here, chefs work independently for a few minutes (local steps) before meeting up to average their progress. It’s much faster on slow networks, but it introduces a headache: how do you tune the "knobs" (hyperparameters like learning rate) for this new workflow? Tuning a giant model is prohibitively expensive.

DistP is a new theoretical "cheat sheet" that solves this. It allows you to tune a tiny, cheap model and perfectly transfer those settings to a massive one, even when using these efficient, independent-worker training methods.

TL;DR

DistP extends "zero-shot hyperparameter transfer" to communication-efficient training, allowing researchers to tune small models and skip the expensive retuning phase for large ones. It reveals that scaling up by adding more workers requires different rules than scaling up by increasing local batch sizes, ultimately boosting accuracy by 10% on large-scale language tasks without extra tuning.

What Problem Does This Paper Address?

Training "foundation models" (like GPT-4) requires thousands of GPUs. Usually, these GPUs must talk to each other constantly to stay in sync. In low-bandwidth environments (like training across different data centers), this communication becomes a massive bottleneck.

Local-update methods (like FedAvg or DiLoCo) let workers train independently for $K$ steps before syncing, which saves time. However, this adds new variables: How many local steps? How many workers? Which "outer" optimizer should we use to combine their work?

Existing "zero-shot" transfer rules—like the popular $\mu$P (Maximal Update Parameterization)—were designed for the "check-in-every-step" world of DDP. They don't account for the unique dynamics of workers drifting apart and then being averaged back together. DistP bridges this gap.

Methods

The authors introduce DistP, a framework that adapts existing scaling laws ($\mu$P for width, CompleteP for depth) to the local-update regime.

Key components include:

  • Inner vs. Outer Optimization: Each worker runs an "inner" optimizer (like Adam). At synchronization points, an "outer" optimizer (like simple averaging, Nesterov momentum, or another Adam) combines the worker updates into a new global model.
  • Theoretical Scaling Rules: They derived the math to show how learning rates should change when you scale a model's width, depth, or batch size.
  • Adam Corrections: They found that "adaptive" outer optimizers like Adam actually "erase" the benefits of scaling because they normalize updates. DistP introduces specific multiplicative corrections to the outer learning rate and epsilon to fix this.
Figure 1: Applying DistP. Tune the learning rate on a smaller model. Rescale initialization, forward multipliers, and inner-optimizer settings for the target width, depth, local batch size, and token budget, then apply the recipe on every worker [11–13]. After K local steps, synchronize worker updates and apply the outer optimizer. Under averaging, the rules transfer across width, depth, and local batch size. Width and depth also transfer under Nesterov and, with corrections, Adam. Batch and token-budget transfer with these outer optimizers may require further tuning.

Datasets

The researchers tested DistP by training Transformer models on a SmolLM-based mixture, which includes high-quality web data, educational content, code, and mathematics.

They evaluated the models on standard benchmarks:

  • Knowledge & Reasoning: ARC-Easy, ARC-Challenge, PIQA, and MMLU.
  • Linguistic Completion: HellaSwag.

Key Insights and Ideas

  • Averaging is "Linear-Friendly": The authors proved that simple averaging preserves the feature-scaling properties of $\mu$P. This means if you use a linear outer optimizer, the width and depth rules from standard training "just work."
  • The Two Regimes of Batch Scaling: This is the "aha!" moment. Increasing the global batch size by making each worker's local batch bigger is not the same as adding more workers.
  • Bigger local batches reduce the noise each worker sees, so you should scale the learning rate by the square root of the batch size ($\sqrt{b}$).
  • More workers just increase the number of updates being averaged; they don't change the noise per worker. In this case, the learning rate should stay fixed.
  • Outer Momentum is Tricky: Using momentum in the outer optimizer couples the inner and outer learning rates. If you change the number of local steps, you might actually need to retune both.

Key Results

The authors scaled up to an 823M parameter model trained on 17 billion tokens.

  • Zero-Shot Success: By using DistP to transfer settings from a tiny 29M parameter model, they achieved an 8.1% reduction in validation loss compared to standard baselines that didn't use these scaling rules.
  • Downstream Performance: The DistP-tuned model improved mean accuracy across five major benchmarks by 10% relative to the baseline.
  • Stability: As shown in Figure 2, DistP keeps the "optimal" learning rate consistent as the model gets wider. In standard training (SP), the best learning rate shifts as you scale, meaning you'd have to hunt for it all over again.
Figure 2: DistP preserves width transfer under averaging. At M = 4, K = 32, colors denote width relative to 256. Points show final validation loss across inner learning rates.

Limitations and Future Work

  • Optimizer Scope: The study focused heavily on using Adam as the "inner" optimizer. While they touched on others, the full interaction between different inner/outer combinations (like SGD inside, Adam outside) remains an open question.
  • Synchronicity: The math assumes all workers sync at the same time. In the real world, workers are often "asynchronous" (some are faster than others), which adds "staleness" to the updates.
  • Token Budget: While the theory covers scaling the total number of training tokens, the empirical tests focused more on width, depth, and batch size. Testing the "long-horizon" scaling of tokens is a suggested next step.

Summary updated

Abstract

Local-update methods offer a communication-efficient alternative to Distributed Data Parallelism ($\mathtt{DDP}$), but introduce additional hyperparameters that require costly tuning. For $\mathtt{DDP}$, zero-shot hyperparameter transfer reduces this cost by reusing settings tuned on smaller models, but its applicability to local-update training remains unclear. We propose $\mathtt{DistP}$, a theoretical framework extending existing transfer rules from $\mathtt{DDP}$ to local-update training with varying worker counts, local steps, and outer optimizers. With averaging as the outer optimizer, $\mathtt{DistP}$ supports learning-rate transfer across width and depth while improving model quality. The tuned inner learning rate also directly transfers across synchronization intervals, but follows two regimes when increasing the global batch size: square-root learning-rate scaling for larger local batches and a fixed reference rate for additional workers. We then generalize width and depth transfer to other outer optimizers, enabling stable scaling with $\mathtt{Adam}$. However, with momentum in the outer optimizer, changing batch size or local steps can require inner--outer learning-rate tuning, consistent with prior work. In language-modeling experiments at $823$M parameters, $\mathtt{DistP}$ reduces validation loss by $8.1\%$ and improves mean downstream accuracy by $10\%$ relative to baselines without retuning at the larger scale. Fitted scaling laws suggest that this advantage grows with the compute budget, reinforcing the benefits of $\mathtt{DistP}$ for communication-efficient training.
BibTeX
@misc{jovanovic2026mathtt,
  author = {Andrej Jovanović and Alex Iacob and Philipp Wiesner and Christophe Roux and Max Zimmer and Lorenzo Sani and Sebastian Pokutta and Nicholas D. Lane},
  title = {{$\textbackslash\{\}mathtt\{DistP\}$: Scaling Local-Update Training with Zero-Shot Hyperparameter Transfer}},
  year = {2026},
  eprint = {2611.27808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27808},
}
Figure