[Paper Review] Data Sketching for Faster Training of Machine Learning Models.
CRAIG proposes a data sketching method that selects a weighted subset (coreset) of training data to accelerate incremental gradient (IG) optimization. By maximizing a submodular function to approximate the full gradient, CRAIG ensures convergence to near-optimal solutions at the same rate as full-batch IG, achieving up to 6x speedup for logistic regression and 3x for deep neural networks without sacrificing model performance.
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.
Motivation & Objective
- To address the challenge of selecting a data subset that maintains the convergence properties of full-batch incremental gradient methods.
- To develop a theoretically grounded method for data-efficient training applicable to general machine learning models.
- To ensure that training on a coreset achieves the same convergence rate as full-dataset training for convex optimization problems.
- To achieve significant speedups in training time while preserving model accuracy across diverse models like logistic regression and deep neural networks.
Proposed method
- CRAIG formulates the data subset selection problem as maximizing a submodular function that approximates the full gradient.
- It constructs a coreset by selecting data points that maximize gradient approximation quality, ensuring theoretical convergence guarantees.
- The method uses a greedy algorithm to select points based on marginal gain in gradient estimation, leveraging submodularity for near-optimal selection.
- The selected coreset is used to compute gradients in incremental gradient methods, replacing full-batch computation.
- Theoretical analysis proves that IG with the CRAIG coreset converges at the same rate as full-batch IG for convex optimization.
- The method is applicable to a wide range of models, including logistic regression and deep neural networks, with minimal modification.
Experimental results
Research questions
- RQ1Can a data subset be selected such that incremental gradient methods converge at the same rate as full-batch methods?
- RQ2Is there a theoretically grounded method to select a coreset that approximates the full gradient effectively?
- RQ3Can data sketching via submodular optimization achieve significant training speedups without compromising model accuracy?
- RQ4How does the performance of CRAIG compare to full-batch training across different machine learning models?
Key findings
- CRAIG achieves up to 6x speedup in training time for logistic regression while maintaining model performance equivalent to full-dataset training.
- For deep neural networks, CRAIG delivers up to 3x speedup with no significant drop in accuracy compared to full-batch training.
- Theoretical analysis confirms that incremental gradient with the CRAIG coreset converges at the same rate as full-batch gradient descent for convex optimization.
- The method is the first to provide rigorous theoretical guarantees for data-efficient training across general machine learning models.
- Empirical results show that CRAIG's coreset selection leads to gradient approximations that closely mirror those of the full dataset.
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.