ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile Workload

Ziyue Liu, Zhengyang Wang, Ruijie Zhang, Avinash Maurya, Hui Zhou, Paul Hovland, Sheng Di, Franck Cappello, Bogdan Nicolae, Zheng Zhang

TL;DR

ReCoVer is a resilient LLM pre-training framework that eliminates the massive time and compute waste of traditional checkpoint-and-restart methods during hardware failures. By dynamically redistributing workloads among surviving GPUs, it maintains a strictly constant global batch size, ensuring that the training trajectory remains mathematically and stochastically identical to a failure-free run while delivering up to $2.23\times$ higher throughput under frequent faults.

What Problem Does This Paper Address?

As large language models (LLMs) scale to clusters containing hundreds of thousands of GPUs, hardware failures become a routine daily occurrence rather than a rare exception. At a scale of 100k GPUs, the Mean Time Between Failures (MTBF) shrinks to a mere 18 minutes. Traditional "checkpoint-and-restart" strategies take around 10 minutes to re-initialize the communication backend, reload model states, and replay lost progress. This means that in massive production environments, over 50% of expensive GPU hours are completely wasted.

Existing alternatives, known as "forward recovery" methods, attempt to keep the training job alive without restarting. However, they suffer from major flaws: they either drop failed nodes and continue training with a smaller batch size—which alters the gradient noise scale and induces catastrophic training instability or loss spikes—or they are rigidly coupled to a single specific parallelism scheme (like pipeline parallelism), lacking the versatility required for modern heterogeneous LLM training stacks.

Methods

ReCoVer introduces a three-layer decoupled architecture to handle mid-iteration failures gracefully without rolling back or replaying data:

  1. Bottom Layer (Fault-Tolerant Collectives): Built on User-Level Failure Mitigation (ULFM) MPI primitives, this layer prevents a single GPU failure from crashing the entire job. It intercepts failures at the communication layer and repairs broken communicators in-place over the surviving nodes.
  2. Middle Layer (In-Step Fine-Grained Recovery): This layer tracks and snapshots gradient buckets before cross-replica reductions. If a failure occurs during synchronization, it rolls back only the corrupted gradients to their pre-reduction state, preserving all intra-iteration progress.
  3. Top Layer (Versatile-Workload Policy): This layer dynamically redistributes microbatch quotas across surviving GPUs to guarantee that the total number of microbatches per iteration remains completely constant.

Crucially, this design is parallelism-agnostic, acting as a drop-in substrate that integrates directly with both 3D Parallelism (Data, Tensor, Pipeline) and Hybrid Sharded Data Parallel (HSDP).

Figure 1: Comparison of a classical synchronous iteration (left) and RECOVER (right) under a mid-iteration failure. The classical approach aborts all replicas; RECOVER localizes and repairs broken gradient sync in place, adjusts survivor workload, and completes with the same microbatch count, preserving stochastically equivalent update.

Datasets

The authors evaluated ReCoVer by pre-training a 7B parameter LLaMA-style model on the standard C4 (Colossal Clean Crawled Corpus) dataset using up to 512 A100 GPUs. They also validated the framework using a 1B parameter model configuration for Hybrid Sharded Data Parallel (HSDP) evaluations.

Key Insights and Ideas

  • Stochastic Equivalence over Bitwise Identity: The core insight is that a resilient system does not need to replicate an exact bitwise execution of a failure-free run to be valid. Because LLM pre-training data streams are effectively infinite and exchangeable, keeping the global batch size constant via workload redistribution ensures that the gradients follow the exact same statistical distribution as a failure-free run.
  • The Amortization "Superpower": As failures occur and the cluster shrinks, surviving GPUs take on more microbatches per iteration. This shifts the hardware workload deeper into a compute-bound regime, which actually amortizes communication overhead. Consequently, in high-failure regimes, the effective per-GPU throughput of ReCoVer can actually exceed the failure-free baseline.
  • Decoupling Resilience from Parallelism: By separating communication-layer resilience from the training workload policy, ReCoVer avoids the trap of previous parallelism-specific fault-tolerance hacks, making it universally applicable across different distributed training strategies.

Key Results

  • Indistinguishable Loss Curves: Even when 256 GPUs were lost sequentially across a 512-GPU run, ReCoVer's training loss curve remained visually identical to a perfect, failure-free reference run, exhibiting zero loss spikes or oscillations.
  • Massive Throughput Gains: ReCoVer demonstrated a $2.23\times$ higher effective throughput under successive failures compared to traditional checkpoint-restart baselines.
  • More Tokens Processed: At 234 GPU-hours, ReCoVer successfully processed 74.9% more tokens than the checkpoint-restart baseline, with the performance gap widening further as training prolonged.

Limitations and Future Work

  • Discarding Partial Replica Ranks: Currently, when a multi-GPU replica experiences a failure on one of its ranks, ReCoVer discards the healthy surviving ranks within that specific replica to maintain structural simplicity. The authors note that future work will focus on recycling these surviving ranks to further optimize cluster utilization.
  • Lack of Dynamic Rejoining: The current implementation handles nodes leaving the cluster due to faults but does not yet support dynamically rejoining repaired or fresh replicas mid-run to scale the cluster back up to its original size.

Summary updated

BibTeX
@inproceedings{liu2026recover,
  author = {Ziyue Liu and Zhengyang Wang and Ruijie Zhang and Avinash Maurya and Hui Zhou and Paul Hovland and Sheng Di and Franck Cappello and Bogdan Nicolae and Zheng Zhang},
  title = {{ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile Workload}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=rqxWoOlmvG},
}
Figure