TL;DR
ExCP (Extreme Checkpoint Compression) is a novel framework that reduces the storage requirements for Large Language Model (LLM) training checkpoints by up to 70x with negligible impact on model performance. By jointly pruning model weights and optimizer momentum states—and focusing on the "residuals" (changes) between training steps—ExCP significantly mitigates the massive "storage tax" associated with LLM development.
The Storage Crisis in LLM Development
Training a Large Language Model is an iterative process requiring the preservation of numerous "checkpoints." These are essential for recovering from hardware failures or fine-tuning hyperparameters mid-stream. However, the scale of these checkpoints has become a major bottleneck.
A single checkpoint for a model like Pythia-12B requires over 24GB for weights alone. When including optimizer states (such as Adam’s momentum and variance), the storage requirement triples. For a standard training run involving 154 checkpoints, storage can exceed 11TB, costing thousands of dollars monthly. For frontier models with hundreds of billions of parameters, these costs escalate into the millions. Existing compression techniques often overlook the bulky optimizer states, which are critical for resuming training.
The ExCP Framework
The authors propose ExCP, a three-stage pipeline designed to aggressively shrink checkpoint files:
- Residual Checkpointing: Instead of saving the full weight matrix $W_t$ at every step, ExCP stores the residual ($\Delta W = W_t - W_{t-1}$). Since weights evolve incrementally, these residuals are naturally sparse and highly compressible.
- Weight-Momentum Joint Shrinking: This core innovation prunes both model weights and optimizer momentum states ($m$ and $v$) simultaneously. By using the optimizer's second-order moment as a guide, the system identifies and discards non-critical parameters. A mathematical proof ensures that the optimizer maintains convergence despite this pruning.
- Non-uniform Quantization: Post-pruning, the remaining values undergo non-uniform quantization (via K-means clustering) to 4 bits, followed by standard 7zip compression to eliminate residual redundancy.
Key Insights: Leveraging Temporal Redundancy
The fundamental breakthrough of ExCP lies in the observation of temporal redundancy. The difference between successive checkpoints is significantly more compressible than the checkpoints themselves. By focusing on the change in the model, ExCP unlocks unprecedented compression ratios.
Furthermore, the research demonstrates that optimizer states are not "dead weight." By linking weight pruning to momentum pruning, a vast majority of the optimizer state can be discarded without disrupting the training trajectory. Theoretical analysis (Theorem 3.1) confirms that this method maintains a "regret bound" comparable to the original Adam optimizer.
Experimental Evaluation
ExCP was rigorously tested across various architectures and scales:
- Vision: ViT-L32 trained on ImageNet-1K.
- Language: Pythia-410M and the PanGu-π series (1B and 7B versions) trained on 1.6 trillion tokens.
- Benchmarks: Performance was validated using the OpenCompass framework, covering tasks like HellaSwag, ARC-easy, and PIQA.
Results
- Extreme Compression: For the Pythia-410M model, ExCP achieved a 70.5x compression ratio, shrinking a 4.53GB checkpoint to just 0.06GB.
- Lossless Performance: Models remained competitive with their uncompressed counterparts. The PanGu-π-7B model achieved an average score of 57.09 across 11 benchmarks, slightly exceeding the original's 56.71.
- Baseline Comparison: ExCP vastly outperformed existing methods like DynaQuant, which only managed a ~1.47x reduction when accounting for both weights and momentum.
Conclusion and Future Work
ExCP offers a scalable solution to the LLM storage crisis. While highly effective, future research could address the computational overhead of K-means clustering and extend the framework to multi-modal models and even larger "frontier" scales (100B+ parameters). Currently, the framework proves that aggressive checkpoint compression is not only possible but can be achieved without sacrificing model integrity.
Summary updated