Coresets for Data-efficient Training of Machine Learning Models
Baharan Mirzasoleiman, Jeff Bilmes, Jure Leskovec
TL;DR
CRAIG introduces a general coreset-based preprocessing to accelerate Incremental Gradient methods by selecting a weighted subset that closely approximates the full gradient through a submodular facility-location objective. Theoretical results show that IG on the CRAIG subset converges at the same rate as IG on the full data, up to an additive error that scales with the gradient-approximation bound ε, yielding speedups proportional to |V|/|S|. Empirically, CRAIG delivers up to 6x speedups on convex problems and 3x on non-convex networks while maintaining comparable loss and accuracy, across logistic regression and deep nets. The method is compatible with SGD, SAGA, SVRG, and can be updated during training, making data-efficient training practical for large-scale models.
Abstract
Incremental gradient (IG) methods, such as stochastic gradient descent and its variants are commonly used for large scale optimization in machine learning. Despite the sustained effort to make IG methods more data-efficient, it remains an open question how to select a training data subset that can theoretically and practically perform on par with the full dataset. Here we develop CRAIG, a method to select a weighted subset (or coreset) of training data that closely estimates the full gradient by maximizing a submodular function. We prove that applying IG to this subset is guaranteed to converge to the (near)optimal solution with the same convergence rate as that of IG for convex optimization. As a result, CRAIG achieves a speedup that is inversely proportional to the size of the subset. To our knowledge, this is the first rigorous method for data-efficient training of general machine learning models. Our extensive set of experiments show that CRAIG, while achieving practically the same solution, speeds up various IG methods by up to 6x for logistic regression and 3x for training deep neural networks.
