[Paper Review] GRAD-MATCH: Gradient Matching based Data Subset Selection for Efficient Deep Model Training
This paper proposes Grad-Match, a data subset selection framework that identifies training subsets by minimizing gradient matching error between the subset and full dataset using orthogonal matching pursuit. It achieves state-of-the-art accuracy-efficiency trade-offs, reducing training time by up to 7× on ImageNet with only 1–3% accuracy drop, and outperforms methods like Craig and Glister across CIFAR-10, CIFAR-100, and MNIST.
The great success of modern machine learning models on large datasets is contingent on extensive computational resources with high financial and environmental costs. One way to address this is by extracting subsets that generalize on par with the full data. In this work, we propose a general framework, GRAD-MATCH, which finds subsets that closely match the gradient of the training or validation set. We find such subsets effectively using an orthogonal matching pursuit algorithm. We show rigorous theoretical and convergence guarantees of the proposed algorithm and, through our extensive experiments on real-world datasets, show the effectiveness of our proposed framework. We show that GRAD-MATCH significantly and consistently outperforms several recent data-selection algorithms and achieves the best accuracy-efficiency trade-off. GRAD-MATCH is available as a part of the CORDS toolkit: \url{https://github.com/decile-team/cords}.
Motivation & Objective
- Address the high computational and environmental cost of training deep learning models on large datasets.
- Develop a data subset selection method that maintains model generalization while drastically reducing training data size.
- Provide theoretical convergence guarantees for adaptive data subset selection via gradient matching.
- Achieve superior accuracy-efficiency trade-offs compared to existing state-of-the-art subset selection methods.
- Enable efficient training on low-resource hardware and accelerate hyperparameter tuning through fast, accurate subset selection.
Proposed method
- Formulate data subset selection as minimizing the residual error between the full dataset gradient and the subset gradient, leading to a theoretical convergence bound dependent on gradient matching quality.
- Model the subset selection as a weakly submodular maximization problem to ensure near-optimal subset selection with theoretical guarantees.
- Implement an orthogonal matching pursuit (OMP) algorithm to iteratively select data points that best reduce the gradient matching error.
- Introduce optimization techniques such as PerClassPerGradient and PerBatch variants to improve scalability and training efficiency.
- Integrate with the CORDS toolkit for open-source deployment and extendibility with proxy-based selection methods.
- Use validation gradient matching as a proxy to improve generalization, especially in early training stages.
Experimental results
Research questions
- RQ1Can gradient matching between a data subset and the full dataset lead to better convergence and generalization in deep learning?
- RQ2How does the theoretical convergence bound of adaptive data subset selection depend on gradient matching error?
- RQ3Can a greedy orthogonal matching pursuit algorithm effectively minimize gradient matching error while maintaining scalability?
- RQ4How does Grad-Match compare in accuracy and training efficiency to state-of-the-art subset selection methods like Craig and Glister?
- RQ5To what extent can Grad-Match reduce training time and energy consumption without significant accuracy degradation?
Key findings
- On ImageNet with ResNet-18, Grad-Match achieves a 3× speedup with only a 1% accuracy drop using 30% of the data, and a 2.5× speedup overall when training beyond 300 epochs.
- On CIFAR-10 and CIFAR-100, Grad-Match achieves up to 4× and 7× faster training with 20% and 10% subsets, respectively, while maintaining competitive accuracy.
- On MNIST, Grad-Match delivers 27× speedup with 0.35% accuracy degradation using only 1% of the data, outperforming full training with early stopping.
- The PerBatch variant of Grad-Match achieves the best balance of accuracy and training efficiency, outperforming PerClass and PerClassPerGradient in both speed and accuracy.
- Grad-Match outperforms proxy-based methods like Facility Location, Entropy, and Forgetting Events on both CIFAR-10 and CIFAR-100, even when using a smaller ResNet-18 model.
- Gradient approximation error is significantly lower for Grad-Match compared to other methods, with 91.12% of full gradient magnitude preserved on MNIST at 1% subset size.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.