[Paper Review] Adaptive Second Order Coresets for Data-efficient Machine Learning
AdaCore proposes an adaptive second-order coreset method that dynamically selects weighted training subsets using Hessian-based curvature estimation to approximate the preconditioned gradient, enabling faster convergence with theoretical guarantees. It achieves over 4.5x speedup over random subsets and 2.9x over full data in training deep networks while maintaining model accuracy by prioritizing diverse, uncertain, and forgettable samples.
Training machine learning models on massive datasets incurs substantial computational costs. To alleviate such costs, there has been a sustained effort to develop data-efficient training methods that can carefully select subsets of the training examples that generalize on par with the full training data. However, existing methods are limited in providing theoretical guarantees for the quality of the models trained on the extracted subsets, and may perform poorly in practice. We propose AdaCore, a method that leverages the geometry of the data to extract subsets of the training examples for efficient machine learning. The key idea behind our method is to dynamically approximate the curvature of the loss function via an exponentially-averaged estimate of the Hessian to select weighted subsets (coresets) that provide a close approximation of the full gradient preconditioned with the Hessian. We prove rigorous guarantees for the convergence of various first and second-order methods applied to the subsets chosen by AdaCore. Our extensive experiments show that AdaCore extracts coresets with higher quality compared to baselines and speeds up training of convex and non-convex machine learning models, such as logistic regression and neural networks, by over 2.9x over the full data and 4.5x over random subsets.
Motivation & Objective
- To address the lack of theoretical guarantees in existing data-efficient training methods that rely on heuristics for subset selection.
- To improve model convergence speed and quality by selecting coresets that approximate the full gradient preconditioned by the Hessian.
- To eliminate redundant and non-informative data points while preserving critical examples for learning.
- To provide rigorous convergence guarantees for both first- and second-order optimization methods applied to the selected coresets.
- To dynamically adapt subset selection during training based on changing data point importance, such as uncertainty and memorability.
Proposed method
- AdaCore uses an exponentially averaged estimate of the Hessian to approximate the curvature of the loss function in real time.
- It formulates the coreset selection as maximizing a submodular function that captures gradient information preconditioned by the Hessian diagonal.
- The method avoids full Hessian computation by relying on Hessian-free optimization to maintain computational efficiency.
- It integrates both first- and second-order gradient information with exponential smoothing to reduce noise in local curvature and gradient estimates.
- The coreset is constructed iteratively, with data points weighted according to their contribution to the preconditioned gradient.
- AdaCore prioritizes samples with high uncertainty and high forgettability, indicating they are critical for generalization.
Experimental results
Research questions
- RQ1Can a coreset selection method that incorporates curvature information achieve faster convergence with theoretical guarantees?
- RQ2How does adaptive, Hessian-based coreset selection compare to gradient-only or heuristic-based methods in terms of training speed and accuracy?
- RQ3Can AdaCore effectively identify and prioritize diverse, non-redundant examples that are critical for learning, especially in non-convex deep learning settings?
- RQ4Does the use of preconditioned gradient approximation via adaptive Hessian estimation lead to improved optimization dynamics compared to full-batch training?
- RQ5How does the selection frequency and batch size interact with coresets generated by AdaCore to influence model performance?
Key findings
- AdaCore achieves over 4.5x speedup over random subsets and 2.9x speedup over full data training on CIFAR-100 with ResNet18.
- On BDD100k, AdaCore delivers 2.5x speedup over full data and 1.7x over random subsets with ResNet50.
- AdaCore selects more diverse subsets than Craig, with a flatter selection frequency distribution, reducing redundancy.
- The method prioritizes forgettable and uncertain samples, as shown by higher mean forgetting scores and uncertainty in top-ranked examples.
- AdaCore enables larger batch sizes on coresets without increasing gradient error, unlike Craig, which suffers from high-weight elements.
- For non-convex models like deep networks, AdaCore ensures exponential convergence rate under the Polyak-Łojasiewicz (PL*) condition, matching full-data training dynamics.
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.