[Paper Review] On Coresets for Regularized Loss Minimization
This paper proposes uniform sampling as an efficient method to construct coresets for regularized loss minimization problems, proving that a sample of size $O(d\sqrt{n})$ is a coreset with high probability when the regularizer's influence remains significant as model complexity grows. The approach is theoretically justified and empirically validated on logistic regression and SVM tasks, showing orders-of-magnitude speedup with minimal loss in accuracy using full-batch optimizers on small coresets.
We design and mathematically analyze sampling-based algorithms for regularized loss minimization problems that are implementable in popular computational models for large data, in which the access to the data is restricted in some way. Our main result is that if the regularizer's effect does not become negligible as the norm of the hypothesis scales, and as the data scales, then a uniform sample of modest size is with high probability a coreset. In the case that the loss function is either logistic regression or soft-margin support vector machines, and the regularizer is one of the common recommended choices, this result implies that a uniform sample of size $O(d \sqrt{n})$ is with high probability a coreset of $n$ points in $\Re^d$. We contrast this upper bound with two lower bounds. The first lower bound shows that our analysis of uniform sampling is tight; that is, a smaller uniform sample will likely not be a core set. The second lower bound shows that in some sense uniform sampling is close to optimal, as significantly smaller core sets do not generally exist.
Motivation & Objective
- To determine when small coresets exist for regularized loss minimization (RLM) problems under restricted data access models.
- To analyze whether uniform sampling can produce coresets that preserve the objective function value across all hypotheses.
- To establish theoretical bounds on coreset size that ensure high-probability approximation for common RLM problems like logistic regression and SVM.
- To evaluate the practical performance of uniform sampling coresets in comparison to full-data training using full-batch optimizers.
- To demonstrate that coresets enable significant speedups in training while maintaining model accuracy.
Proposed method
- Theoretical analysis uses VC-dimension and scaling conditions to bound coreset size, showing that uniform sampling suffices when the regularizer's effect does not diminish with increasing hypothesis norm.
- The paper derives a coreset size of $O(d\sqrt{n})$ for logistic regression and soft-margin SVM under standard regularizers, assuming $\lambda \propto n^{\kappa}$ with $0 < \kappa < 1$.
- A key condition is that the regularizer $r(\beta)$ must remain a constant fraction of the loss $\ell(\|\beta\|_2)$ as $\|\beta\|$ grows.
- The method is implemented in streaming, MPC, and relational computation models, ensuring feasibility in large-scale data settings.
- Empirical validation uses uniform sampling with coreset sizes $\sqrt{n}$, $10\sqrt{n}$, and $20\sqrt{n}$, followed by L-BFGS optimization on the coreset.
- Loss approximation error is measured as the relative difference between full-data and coreset objective values, averaged over three trials.
Experimental results
Research questions
- RQ1Under what conditions does uniform sampling produce a coreset for regularized loss minimization?
- RQ2What is the minimum coreset size required to ensure high-probability approximation of the full objective function?
- RQ3How does the coreset size scale with data dimension $d$ and sample size $n$ for logistic regression and SVM?
- RQ4Can coresets constructed via uniform sampling enable faster convergence with full-batch optimizers compared to mini-batch SGD?
- RQ5How close is uniform sampling to optimal in terms of coreset size, given theoretical lower bounds?
Key findings
- A uniform sample of size $O(d\sqrt{n})$ is with high probability a coreset for logistic regression and soft-margin SVM when the regularizer's influence remains non-negligible as the hypothesis norm increases.
- The analysis shows that smaller uniform samples are unlikely to be coresets, indicating the bound is tight.
- A second lower bound demonstrates that significantly smaller coresets do not generally exist, implying uniform sampling is near-optimal in terms of coreset size.
- Empirical results show that coreset sizes of $10\sqrt{n}$ and $20\sqrt{n}$ achieve near-perfect approximation (error $\leq 0.02$) on all tested datasets.
- L-BFGS optimization on coresets achieves faster convergence and often better final loss than 20 epochs of SGD on the full dataset.
- For the pokerhand dataset ($n=10^6$), a coreset of size $10\sqrt{n} \approx 31622$ achieved zero approximation error in all trials.
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.