Sparse Checkpointing for Fast and Reliable MoE Training

Swapnil Gandhi (Stanford University), Christos Kozyrakis (Professor · Stanford University and NVIDIA)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Reliability Through Verification

Overview

Modern hyperscale AI training clusters deploy tens of thousands of accelerators to train massive frontier models over weeks or months. At this operational scale, hardware and software faults are inevitable rather than exceptional. Industry reports indicate that Mean Time Between Failures (MTBF) plummets from roughly 2 hours on a 16,000-GPU cluster down to a mere 15 minutes on a 130,000-GPU cluster. To maintain productivity, efficient fault tolerance is non-negotiable. This talk introduces Movement, a novel in-memory checkpointing system designed specifically to eliminate the traditional bottlenecks of fault tolerance in Mixture-of-Experts (MoE) model training.

Watch on YouTube · Slides

Visual summary for Sparse Checkpointing for Fast and Reliable MoE Training by Swapnil Gandhi, Christos Kozyrakis
Visual summary for Sparse Checkpointing for Fast and Reliable MoE Training by Swapnil Gandhi, Christos Kozyrakis

Key moments

  1. 0:00 Introduction and motivation for fault tolerance in MoE training
  2. 2:16 MoE checkpointing challenges and trade-offs
  3. 4:40 Key observations and introducing the Movement system
  4. 6:42 Timeline comparison of dense versus sparse checkpointing
  5. 8:35 Recovering from sparse checkpoints via selective recomputation
  6. 12:15 Evaluation setup and baseline comparisons
  7. 14:23 Results on checkpoint size, overhead, and recovery time
  8. 17:15 Conclusion and Q&A session

Sparse Checkpointing for Fast and Reliable MoE Training

Speakers: Swapnil Gandhi (Stanford University); Christos Kozyrakis (Professor, Stanford University and NVIDIA)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=XsT84pHwlNs

Overview

Modern hyperscale AI training clusters deploy tens of thousands of accelerators to train massive frontier models over weeks or months. At this operational scale, hardware and software faults are inevitable rather than exceptional. Industry reports indicate that Mean Time Between Failures (MTBF) plummets from roughly 2 hours on a 16,000-GPU cluster down to a mere 15 minutes on a 130,000-GPU cluster. To maintain productivity, efficient fault tolerance is non-negotiable. This talk introduces Movement, a novel in-memory checkpointing system designed specifically to eliminate the traditional bottlenecks of fault tolerance in Mixture-of-Experts (MoE) model training.

The core tension in traditional checkpointing systems revolves around a punishing trade-off between steady-state overhead and recovery time. Practitioners must choose between infrequent checkpoints that incur massive recomputation penalties upon failure, or frequent checkpoints that stall training during every snapshot due to immense memory transfer volumes. This dilemma becomes acutely painful for MoE architectures, where parameter counts explode while active compute remains sublinear. By decoupling operators and utilizing sparse, incremental snapshots coupled with a sparse-to-dense recovery mechanism, Movement breaks this forced trade-off. It slashes recovery time by up to 20x and improves overall training throughput by up to 41% under high-failure regimes without sacrificing model convergence or training semantics.

Background

▶ Watch: Introduction and motivation for fault tolerance in MoE training (0:00)

In standard large language model training, mixed-precision training recipes dictate that FP32 model weights and optimizer states (collectively termed the training state) must be periodically snapshotted from GPU memory to CPU memory, and then asynchronously flushed to durable storage. In the event of a crash, all active workers roll back to the most recent valid checkpoint and recompute all lost iterations before resuming normal training.

Two critical metrics govern this process:

  1. Checkpointing overhead: The steady-state performance tax paid every iteration. If the time required to snapshot the training state exceeds the iteration time, training must stall, wasting expensive accelerator cycles. To amortize this overhead, systems traditionally inflate the checkpoint interval (taking snapshots every $N$ iterations).
  2. Recovery time: The duration required to bring the model back to its pre-failure state. Expected recovery time scales linearly with the checkpoint interval because more lost iterations demand longer recomputation windows.

Mixture-of-Experts architectures exacerbate this tension. MoE models replace traditional dense feed-forward networks with numerous parallel sub-networks (experts), selectively routing tokens via a learned gating module. While MoE designs scale total parameter capacity efficiently with sublinear computational cost, their checkpoint footprints balloon dramatically. For instance, a DeepSeek dense model and an MoE counterpart might exhibit identical iteration times, but the MoE model's checkpoint size can be over 2x larger. Existing systems like Gemini (SOSP 2023) or CheckFreq (FAST 2021) treat models as monolithic blocks, forcing practitioners to either accept severe iteration stalling or inflate checkpoint intervals by orders of magnitude—inflating expected recovery times by up to 50x.

Key Findings

▶ Watch: Key observations and introducing the Movement system (4:40)

Movement resolves the checkpointing dilemma in MoE training by leveraging three foundational observations:

  • Disaggregating Monolithic Snapshots: Conventional systems treat an entire model as a single atomic block, snapshotting all operators simultaneously or none at all. Movement treats each operator as independently checkpointable, permitting right-sized checkpoints that capture only a subset of operators per iteration.
  • Incremental Spatiotemporal Windowing: By distributing snapshot work across a temporal window of multiple iterations, Movement captures all model operators incrementally. This eliminates training stalls entirely, allowing checkpoints to be taken continuously without pausing forward and backward passes.
  • Sparse-to-Dense Reconstruction via Selective Recomputation: To maintain strict synchronous training semantics (guaranteeing zero impact on final model quality), Movement dynamically reconstructs full dense checkpoints from multiple sparse snapshots upon failure using a novel classification of active versus frozen operators.

In evaluations using 96 NVIDIA A100 GPUs training a 16.4-billion parameter DeepSeek MoE model (with 64 experts and 2.8 billion active parameters), Movement reduces checkpoint size by 4x, lowers Mean Time to Recovery (MTTR) by up to 20x, and increases total completed training iterations over a 12-hour window by 8% to 41% across MTBF intervals ranging from 2 hours down to 10 minutes.

Technical Deep Dive

▶ Watch: Recovering from sparse checkpoints via selective recomputation (8:35)

The architectural engine of Movement rests on its ability to right-size snapshots and handle recovery through precise state management during mixed-precision training. In standard mixed-precision setups, FP32 weights and optimizer states drive the optimizer update step, while FP16 weights drive forward and backward computational passes.

Sparse Checkpoint Windowing

Instead of taking a monolithic snapshot of all $N$ operators simultaneously, Movement defines a sparse checkpointing window ($W_{\text{sparse}}$). Over a sequence of iterations, subsets of operators are snapshotted to CPU memory. For example, in iteration 11, operators $E_1$ and $E_2$ are snapshotted; in iteration 12, $E_2$, $E_3$, and $E_4$; and in iteration 13, the remaining operators and gating modules. Because the snapshot payload is partitioned into fractions (e.g., capturing roughly $1/6$th of the state per snapshot, offset by necessary bookkeeping overhead), the memory transfer time drops well below the single-iteration duration, completely overlapping snapshot persistence with active computation.

Sparse-to-Dense Recovery Mechanism

When a failure occurs, recovering from a sparse set of snapshots requires reconstructing the precise dense training state. Movement achieves this by classifying every operator at recovery time into one of two states:

  • Active Operators: Operators that possess their complete FP32 model weights and optimizer states in the loaded sparse snapshot. These participate fully in the forward pass, backward pass, and optimizer updates.
  • Frozen Operators: Operators that possess only their FP16 model weights from the snapshot. These participate in the forward and backward passes (computing activations and gradients), but skip the optimizer step.

During recovery, the system sequentially loads sparse snapshots (e.g., $\text{SS}_{10}$, $\text{SS}_{11}$, $\text{SS}_{12}$), dynamically promoting operators from frozen to active as their FP32 states become available. Stale FP16 states are dropped once fresh FP32 updates are computed. Mathematically, Movement bounds the number of recomputed iterations during recovery to $\frac{3}{2} W_{\text{sparse}}$, which remains strictly lower than conventional dense checkpointing recomputation bounds (which scale with half the dense checkpoint interval) as long as $W_{\text{sparse}}$ is less than one-third of the dense checkpoint interval.

Experimental Setup & Results

▶ Watch: Evaluation setup and baseline comparisons (12:15)

The evaluation of Movement is conducted on a testbed consisting of 96 Nvidia A100 GPUs interconnected via 80Gbps networking fabrics. The software stack builds upon DeepSpeed and the Zero Redundancy Optimizer (ZeRO-1) framework.

The workloads target a DeepSeek MoE architecture featuring 16.4 billion total parameters, 64 distinct experts, and 2.8 billion active parameters per token. The system is benchmarked against two baseline systems representing state-of-the-art synchronous checkpointing: CheckFreq (FAST '21) and Gemini (SOSP '23). Experiments subject the cluster to varying MTBF conditions (2 hours, 30 minutes, and 10 minutes) across continuous 12-hour training runs.

Headline Results

  • Checkpoint Size Reduction: Due to capturing operators incrementally and right-sizing memory footprints, Movement cuts total snapshot size by a factor of 4 compared to monolithic baselines (which must serialize all operators simultaneously).
  • Overhead Elimination: While CheckFreq and Gemini exhibit snapshot times exceeding iteration duration—forcing 3-to-4-second training stalls that demand checkpoint interval inflation—Movement's sparse snapshots complete entirely within the iteration timeframe, incurring zero stall overhead.
  • Recovery Acceleration: By enabling frequent checkpointing without throughput penalties, Movement reduces Mean Time to Recovery (MTTR) by up to 20x compared to baseline systems.
  • Throughput Gains: Measured by total iterations completed in a 12-hour span, Movement delivers throughput improvements of 8% (at 2-hour MTBF), 17% (at 30-minute MTBF), and 41% (at 10-minute MTBF).

Practical Implications

▶ Watch: Conclusion and Q&A session (17:15)

For infrastructure teams and model builders scaling up MoE training clusters, Movement offers a viable path out of the false dichotomy between high steady-state overhead and sluggish recovery. By decoupling operators and distributing snapshot overhead across temporal windows, infrastructure engineers can maintain high checkpoint frequencies even on massive GPU topologies without sacrificing cluster FLOPS utilization.

Tradeoffs and Limitations

  • Implementation Complexity: Managing asynchronous sparse windows requires sophisticated orchestration within the training loop, moving beyond simple periodic blocking writes. Integration is currently tied to frameworks like DeepSpeed and ZeRO-1.
  • Auxiliary State Overhead: To preserve strict synchronous training semantics during sparse-to-dense reconstruction, Movement must retain auxiliary bookkeeping states alongside partial snapshots. This prevents the checkpoint size reduction from scaling linearly with the number of operators (achieving a 4x reduction rather than the theoretical maximum limit).
  • Scope: The system assumes standard mixed-precision training semantics and synchronous fault-tolerance models. Asynchronous or lossy recovery models are outside its current design scope.

Key Takeaways

  • MoE architectures severely exacerbate traditional checkpointing bottlenecks due to massive parameter footprints coupled with dense-matching iteration times.
  • Movement treats model operators as independently checkpointable entities rather than a monolithic block.
  • By utilizing sparse temporal windows, Movement completely eliminates training stalls caused by checkpoint snapshotting.
  • The system employs a novel sparse-to-dense recovery mechanism using active and frozen operator classifications, guaranteeing strict synchronous training semantics.
  • Movement reduces checkpoint size by 4x, lowers MTTR by up to 20x, and boosts overall training throughput by up to 41% under high-failure hyperscale conditions.

About the Speaker(s)

Swapnil Gandhi is a researcher at Stanford University focusing on systems and machine learning infrastructure. This work was conducted as joint research with his advisor, Christos Kozyrakis, who is a Professor of Electrical Engineering and Computer Science at Stanford University as well as affiliated with NVIDIA, specializing in computer architecture, cloud computing, and machine learning systems.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)