ZOCheck: CPU-Shadow Checkpointing for Zeroth-Order LLM Fine-Tuning
Minqiu Sun, Xin Huang, Luanzheng Guo, Nathan R. Tallent, Kento Sato, Dong Dai
Abstract
Zeroth-order (ZO) optimization is an attractive option for memory-efficient LLM fine-tuning, but its fault tolerance remains underexplored. Unlike first-order training, ZO progress can be represented by lightweight seed-and-scalar step logs, yet naive log-only recovery still incurs replay cost that grows with training progress, and shortcut replay does not preserve the executed floating-point trajectory. We present ZOCheck, a fault-tolerant ZO training system that exploits this replayable structure through a CPU shadow process that continuously replays logged updates, materializes consistent recovery images off the GPU critical path, and persists them asynchronously. ZOCheck therefore combines non-blocking checkpointing during training with fast recovery from a near-current state. We also develop a cost model for choosing the snapshot policy under realistic failure rates. Experiments show that ZOCheck reduces checkpoint overhead by up to 219.7x and recovery latency by 1.55x on average compared with asynchronous full-state checkpointing, translating into up to 21.3x lower end-to-end wasted time across the evaluated failure rates, while preserving exact recovery behavior.
Create a lesson
Related papers
SlideDP: Scaling Host-Resident LLM Fine-Tuning Across Multiple GPUs
Shared title terminology · Ruijia Yang, Shiyuan Lin, Yulong Ao et al.
Xronos: Heterogeneity-Aware Tensor Parallelism for Collaborative LLM Fine-Tuning on Edge CPUs
Shared title terminology · Wonmi Choi, Sunjae Park, Dohyeok Kwon et al.
Towards Training Private LLMs: Exploring Fine-Tuning Language Models on Apple Silicon with RDMA over Thunderbolt
Shared title terminology · En-Ming Huang, Yao-Ting Hsieh, Hsiang-Yu Tsou et al.
Twindex: Index Cache Offloading with Coarse-to-Fine Selection for Long-Context Sparse-Attention Serving
Shared title terminology · Yuxuan Xia, Jiakun Fan, Han Meng et al.
CheckCo: Checkpoint-Coordinated Load Balancing for Skewed Event Streams at Scale
Shared title terminology · Muhammad Anis Uddin Nasir, Reza Sadraei
Smart Model Routing for Order-of-Magnitude LLM Cost Reduction
Shared title terminology · Hesham Elbakoury, Deep Shah, Ankur Sharma