HeLoCo: Efficient asynchronous low-communication training under data and device heterogeneity

Abdullah Al Asif, Patrick Diem, Juan Pablo Muñoz, Felix Wolf, Ali Jannesari, Arya MazaheriarXiv 2026

TL;DR

HeLoCo (Heterogeneity-aware Low-Communication training) introduces a fine-grained, tensor-block-level correction method for asynchronous distributed LLM training. By using global outer momentum as a geometric reference, it selectively adjusts or reorients stale updates from slower workers rather than applying a blanket penalty. This approach significantly improves validation loss and convergence speeds when training across highly mismatched hardware and non-IID data distributions.

What Problem Does This Paper Address?

Training Large Language Models (LLMs) typically demands tightly coupled clusters with massive bandwidth. To make training feasible across geographically distributed or heterogeneous hardware, algorithms like Distributed Low-Communication (DiLoCo) allow worker nodes to perform multiple local training steps before communicating "pseudo-gradients" to a global server.

While asynchronous variants of DiLoCo keep hardware fully utilized by eliminating synchronization barriers (meaning fast workers don't wait for slow "stragglers"), they introduce a major flaw: gradient staleness. Slower workers compute updates based on outdated model states. When these stale updates arrive, the global model has already moved on. This problem is severely compounded when workers train on non-IID (Independent and Identically Distributed) data—such as different languages—causing updates to directionally conflict with the global optimization trajectory. Existing solutions apply a uniform discount to the entire update, which is too coarse to fix these multi-directional misalignments.

Figure 1: Staleness asymmetry in asynchronous DiLoCo with heterogeneous workers.

Methods

HeLoCo tackles directional mismatch using a two-pronged, momentum-guided strategy that operates at the tensor-block level (treating individual model tensors, like weight matrices, independently):

  1. Momentum-Guided Worker Initialization: Before a worker starts local training, the server initializes it with a look-ahead model instead of the current model state. This look-ahead model uses the current global momentum to predict where the trajectory is heading, minimizing the positional gap by the time the worker finishes its steps.
  2. Tensor-Wise Update Alignment and Correction: When a worker returns its pseudo-gradient, HeLoCo evaluates each tensor block individually against the global outer momentum buffer using a directional compatibility score. It then applies one of three geometric actions:
  3. Preserve: If the block aligns well with the global direction, it is left unchanged.
  4. Dampen/Shrink: If the block points in an anti-momentum direction, HeLoCo attenuates only the conflicting component, preserving orthogonal local information.
  5. Reorient/Rotate: If the block is weakly aligned, it is gently rotated toward the momentum direction while preserving its original magnitude.

Datasets

The authors evaluated HeLoCo by training a TinyGPT architecture (a 15M-parameter decoder-only Transformer) using the GPT-2 tokenizer on the multilingual mC4 dataset. To rigorously simulate a non-IID data setup, they distributed the data such that individual workers were dedicated to distinct language domains: German (de), English (en), Spanish (es), French (fr), and Italian (it).

Key Insights and Ideas

  • Staleness is not uniform: A key "aha" moment in the paper is that a stale pseudo-gradient isn't entirely bad or entirely good. Within a single update from a slow worker, some parameter blocks remain perfectly aligned with the global trajectory, while others conflict. Granular, block-by-block correction is essential.
  • The compounding effect of heterogeneity: Device heterogeneity (varying worker speeds) and statistical heterogeneity (non-IID data) act as a force multiplier for optimization failure. Correcting for both simultaneously yields much higher algorithmic robustness.
  • Outer optimization beats local reduction: The authors compared HeLoCo to Dynamic Local Updates (DyLU), which dynamically reduces local steps for slow workers to minimize staleness. They found that keeping local optimization strong and correcting the updates at the outer optimizer level is far more effective than cutting local training time short.

Key Results

HeLoCo consistently outperformed asynchronous baselines (like Nesterov and Momentum Look-Ahead [MLA]) as well as synchronous baselines across various hardware pace configurations:

  • Fixed Token Budget: On multilingual non-IID data, HeLoCo reduced validation loss by up to 7.5% over asynchronous Nesterov and 3.3% over asynchronous MLA.
  • Wall-Clock Time Budget: Because synchronous training is bottlenecked by the slowest worker, HeLoCo's asynchronous nature allowed it to surpass the synchronous baseline's validation loss by up to 22.1% under severe system heterogeneity.
Figure 2: Validation loss over training steps on C4 under IID and non-IID data distributions with heterogeneous and homogeneous worker speeds. DyLU variants are shown only for heterogeneous settings.

Limitations and Future Work

While promising, the study was conducted under a controlled setting using five workers and a 15M-parameter model. This setup does not yet fully capture the immense scale and emergent behaviors of practical LLM training (e.g., billions of parameters across hundreds of nodes).

Additionally, the authors noted that under extreme staleness regimes (e.g., one fast worker paired with four incredibly slow workers), asynchronous updates can become so degraded that they impair the global model, causing it to "forget" knowledge from well-represented shards. The authors suggest that future work should explore merging HeLoCo with adaptive staleness-aware filtering to dynamically down-weight or entirely discard updates when they cross a threshold of unreliability.

Summary updated

BibTeX
@misc{asif2026heloco,
  author = {Abdullah Al Asif and Patrick Diem and Juan Pablo Muñoz and Felix Wolf and Ali Jannesari and Arya Mazaheri},
  title = {{HeLoCo: Efficient asynchronous low-communication training under data and device heterogeneity}},
  year = {2026},
  eprint = {2606.00271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.00271},
}
Figure