English

Scrutinizing Variables for Checkpoint Using Automatic Differentiation

Distributed, Parallel, and Cluster Computing 2026-02-19 v1

Abstract

Checkpoint/Restart (C/R) saves the running state of the programs periodically, which consumes considerable system resources. We observe that not every piece of data is involved in the computation in typical HPC applications; such unused data should be excluded from checkpointing for better storage/compute efficiency. To find out, we propose a systematic approach that leverages automatic differentiation (AD) to scrutinize every element within variables (e.g., arrays) for checkpointing allowing us to identify critical/uncritical elements and eliminate uncritical elements from checkpointing. Specifically, we inspect every single element within a variable for checkpointing with an AD tool to determine whether the element has an impact on the application output or not. We empirically validate our approach with eight benchmarks from the NAS Parallel Benchmark (NPB) suite. We successfully visualize critical/uncritical elements/regions within a variable with respect to its impact (yes or no) on the application output. We find patterns/distributions of critical/uncritical elements/regions quite interesting and follow the physical formulation/logic of the algorithm.The evaluation on NPB benchmarks shows that our approach saves storage for checkpointing by up to 20%.

Keywords

Cite

@article{arxiv.2602.16010,
  title  = {Scrutinizing Variables for Checkpoint Using Automatic Differentiation},
  author = {Xin Huang and Weiping Zhang and Shiman Meng and Wubiao Xu and Xiang Fu and Luanzheng Guo and Kento Sato},
  journal= {arXiv preprint arXiv:2602.16010},
  year   = {2026}
}

Comments

The Second Workshop on Enabling Predictive Science with Optimization and Uncertainty Quantification in HPC (EPSOUQ-HPC) in conjunction with SC24