TL;DR
For large-scale regularized machine learning problems like logistic regression and SVMs, you don't need complex sampling schemes to handle massive data. This paper proves that a simple uniform sample of size $O(d \sqrt{n})$ is a "coreset"—a small subset that provides a nearly identical solution to the full dataset—and demonstrates that this approach is mathematically near-optimal.
What Problem Does This Paper Address?
In the era of "Big Data," we often encounter datasets so large they cannot fit into a single computer's memory. To train models like Logistic Regression or Support Vector Machines (SVMs), researchers use coresets: small, representative subsets of the data. If you solve the problem on the coreset, you should get an answer very close to what you would have gotten using the entire dataset.
The challenge is that most existing coreset methods require complex "sensitivity sampling." This involves calculating the importance of every single data point (often using leverage scores or singular value decompositions), which is computationally expensive and difficult to implement in restricted environments like streaming data, massively parallel systems (MPC), or relational databases. The authors ask: When is simple uniform sampling enough?
Methods
The authors focus on Regularized Loss Minimization (RLM). They analyze the objective function $F(\beta)$, which balances a loss function (how well the model fits the data) with a regularizer (which prevents overfitting by penalizing complex models).
The key technical contribution is the introduction of a scaling condition. They mathematically prove that if the regularizer’s influence doesn't vanish as the data or the model scales, the "sensitivity" of any individual point is naturally bounded.
By bounding this sensitivity, they show that uniform sampling—the simplest possible way to pick data—is sufficient to create a coreset. This is a significant departure from previous work that suggested complex, non-uniform sampling was necessary for these types of problems.
Datasets
The authors evaluated their theory using several well-known benchmarks from the UCI Machine Learning Repository:
- connect4 (67k points)
- grid_stability (10k points)
- miniboone (130k points)
- mnist (70k points)
- pokerhand (1M points)
- covertype (581k points)
These datasets represent a mix of synthetic and real-world data with varying dimensions ($d$) and sizes ($n$).
Key Insights and Ideas
- Regularization is a "Stabilizer": The "aha moment" here is that the regularizer does more than just prevent overfitting; it acts as a mathematical anchor. It ensures that no single outlier can have an outsized influence on the final model. This "smoothness" is exactly what allows uniform sampling to work.
- The $O(d \sqrt{n})$ Sweet Spot: For standard settings where the regularization parameter $\lambda$ is proportional to $\sqrt{n}$, a uniform sample of size roughly $\sqrt{n}$ (scaled by the dimension $d$) is guaranteed to be a coreset.
- Uniform Sampling is "Database-Friendly": Because uniform sampling doesn't require looking at the whole dataset to decide which points are "important," it can be implemented easily using standard SQL queries or in a single pass over a data stream.
- Tightness of the Bound: The authors didn't just find an upper bound; they proved a lower bound showing that their analysis is tight. You generally cannot pick a significantly smaller uniform sample and still expect a coreset guarantee.
Key Results
- Theoretical Optimality: The paper provides the first proof that uniform sampling is nearly optimal for regularized logistic regression and SVMs. They show that even the most sophisticated sampling methods cannot produce coresets significantly smaller than what uniform sampling achieves.
- Massive Speedups: In experiments, training a model (using the L-BFGS optimizer) on a small uniform coreset was orders of magnitude faster than running standard Stochastic Gradient Descent (SGD) on the full dataset.
- Better Accuracy: Surprisingly, the models trained on small coresets often achieved a lower total loss than SGD on the full dataset after 20 epochs, because the smaller data size allowed for the use of more sophisticated, faster-converging optimization algorithms.
Limitations and Future Work
- The Scaling Assumption: The results rely on the regularizer being "strong enough." If the regularization parameter $\lambda$ is set too low (approaching zero), the coreset size requirements explode, and uniform sampling may fail to represent the data accurately.
- Linear Models Only: This work specifically targets linear models (Logistic Regression and SVM). Whether these insights translate to deep learning or non-linear kernels remains an open question.
- Fixed $\epsilon$: The lower bounds suggest that while the dependence on $n$ is well-understood, there may still be room to optimize how the coreset size scales with the desired error tolerance ($\epsilon$).
Summary updated