CheckSel: Efficient and Accurate Data-valuation Through Online Checkpoint Selection

Soumi Das, Manasvi Sagarkar, Suparna Bhattacharya, Sourangshu BhattacharyaarXiv 2022

Abstract

Data valuation and subset selection have emerged as valuable tools for application-specific selection of important training data. However, the efficiency-accuracy tradeoffs of state-of-the-art methods hinder their widespread application to many AI workflows. In this paper, we propose a novel 2-phase solution to this problem. Phase 1 selects representative checkpoints from an SGD-like training algorithm, which are used in phase-2 to estimate the approximate training data values. A key contribution of this paper is CheckSel, an Orthogonal Matching Pursuit-inspired online sparse approximation algorithm for checkpoint selection. Another key contribution is the study of data valuation in the domain adaptation setting. Experimental results on benchmark datasets show the proposed algorithm outperforms recent baseline methods by up to 30% in terms of test accuracy while incurring a similar computational burden.

Introduction

In the era of "Data-Centric AI," identifying which specific training examples drive a model's performance is critical. Data valuation enables developers to debug mislabeled data, explain model predictions, and select high-quality subsets for faster training. However, existing methods face a significant trade-off. Influence Functions are theoretically grounded but computationally prohibitive for large deep-learning models. Trajectory-based methods like TracIn are faster but often inaccurate because they rely on first-order approximations and pick training checkpoints at uniform intervals, potentially missing the most informative parts of the learning process.

Methodology: The CheckSel Framework

The authors introduce CheckSel, a two-phase framework designed to maximize both accuracy and efficiency in data valuation.

Phase 1: Online Checkpoint Selection

Instead of saving checkpoints at fixed intervals (e.g., every 5 epochs), CheckSel uses an online version of Orthogonal Matching Pursuit (OMP). As the model trains, the algorithm decides in real-time which checkpoints are most "informative" for approximating the total decrease in loss. Crucially, it utilizes a second-order Taylor expansion to capture more nuance than simple first-order methods, approximating the Hessian with the square of the gradients to stabilize valuation.

Phase 2: Data Valuation and SimSel

Once the optimal checkpoints are selected, the algorithm estimates the value of each training point based on its contribution to loss reduction at those specific moments. To further refine the results, the authors introduce SimSel, a diversity-aware selection algorithm. It uses sub-modular optimization to ensure that the selected data subset isn't just high-value, but also diverse, preventing the model from over-indexing on redundant examples.

Experimental Results

The researchers evaluated CheckSel on standard benchmarks including CIFAR10, CIFAR100, and TinyImageNet. The performance gains are most substantial when selecting small subsets (e.g., 10% of the data).

Table 1: Comparison of test accuracy across benchmark datasets using 10% data subsets. CheckSel shows massive gains over TracIn, particularly on CIFAR10.

As shown in the results above, on CIFAR10, a model trained on a 10% subset selected by CheckSel achieved 79.93% accuracy, compared to just 44.13% for TracIn—a staggering ~35% improvement. Across CIFAR100 and TinyImageNet, the CheckSel-SimSel combination consistently outperformed Influence Functions and TracIn by 8% to 14%.

Computational Efficiency

Despite the higher accuracy, the total computational overhead for CheckSel remains competitive with existing baselines.

Table 2: Detailed metrics showing that CheckSel achieves superior accuracy without a significant increase in total computation time compared to TracIn.

While the intelligent selection of checkpoints adds a small amount of time during the training phase, it significantly reduces the time spent on the actual valuation phase. This balance ensures that the "Total Time" for CheckSel is comparable to TracIn, making it a highly practical choice for real-world pipelines.

Key Insights and Domain Adaptation

  • Uniformity is Inefficient: Training doesn't happen at a constant rate. By treating checkpoint selection as a sparse approximation problem, CheckSel captures the "bursts" of learning that uniform sampling misses.
  • Hard Example Bias: Analysis showed that CheckSel tends to select "harder" examples—those with lower confidence and higher loss. Training on these points leads to better generalization than picking the "easy" points uniform methods often gravitate toward.
  • Transferability: The paper demonstrates that checkpoints from a related source domain can effectively value data in a target domain. In Office-Home experiments, this "CheckSel-Source" method improved target domain accuracy by up to 30% over TracIn.

Conclusion

CheckSel provides a robust solution to the data valuation bottleneck. By moving away from uniform sampling and incorporating second-order information, it achieves state-of-the-art accuracy for subset selection without increasing the computational burden. Future work may explore extending this formulation to adaptive optimizers like AdamW and extremely large-scale Transformer training.

Summary updated

BibTeX
@misc{das2022checksel,
  author = {Soumi Das and Manasvi Sagarkar and Suparna Bhattacharya and Sourangshu Bhattacharya},
  title = {{CheckSel: Efficient and Accurate Data-valuation Through Online Checkpoint Selection}},
  year = {2022},
  eprint = {2203.06814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.06814},
}
Figure