[Paper Review] Coresets for Classification -- Simplified and Strengthened
This paper presents a new coreset construction for linear classification that achieves $(1\pm\epsilon)$ relative error using $\tilde{O}(d \cdot \mu_y(X)^2 / \epsilon^2)$ samples by subsampling with $\ell_1$ Lewis weights. The method significantly improves prior bounds, works for logistic and hinge losses without label dependence, and enables efficient active learning and multi-task training.
We give relative error coresets for training linear classifiers with a broad class of loss functions, including the logistic loss and hinge loss. Our construction achieves $(1\pm ε)$ relative error with $ ilde O(d \cdot μ_y(X)^2/ε^2)$ points, where $μ_y(X)$ is a natural complexity measure of the data matrix $X \in \mathbb{R}^{n imes d}$ and label vector $y \in \{-1,1\}^n$, introduced in by Munteanu et al. 2018. Our result is based on subsampling data points with probabilities proportional to their $\ell_1$ $Lewis$ $weights$. It significantly improves on existing theoretical bounds and performs well in practice, outperforming uniform subsampling along with other importance sampling methods. Our sampling distribution does not depend on the labels, so can be used for active learning. It also does not depend on the specific loss function, so a single coreset can be used in multiple training scenarios.
Motivation & Objective
- Address the lack of efficient relative error coresets for common classification losses like logistic and hinge loss.
- Improve theoretical sample complexity bounds for coresets in linear classification beyond prior work.
- Develop a sampling distribution independent of labels and loss functions to support active learning and multi-task use.
- Provide a practical and efficient coreset construction with strong theoretical guarantees and empirical performance.
Proposed method
- Use $\ell_1$ Lewis weights as the sampling distribution for data points, which are known to preserve $\|X\beta\|_1$ for any $\beta$.
- Construct a coreset by selecting $\tilde{O}(d \cdot \mu_y(X)^2 / \epsilon^2)$ points with probabilities proportional to their $\ell_1$ Lewis weights.
- Reweight selected points to ensure relative error guarantees on the loss function over the full dataset.
- Leverage the fact that $\ell_1$ Lewis weights are computable in $\tilde{O}(\operatorname{nnz}(X) + d^\omega)$ time, enabling scalability.
- Ensure the sampling distribution does not depend on labels or the specific loss function, enabling reuse across different training scenarios.
- Theoretical analysis shows that the coreset preserves the loss function up to $1\pm\epsilon$ relative error for a broad class of 'hinge-like' losses, including logistic and hinge loss.
Experimental results
Research questions
- RQ1Can we construct a relative error coreset for linear classification with improved sample complexity compared to prior work?
- RQ2Does using $\ell_1$ Lewis weights as a sampling distribution yield better theoretical and empirical performance than uniform or $\ell_2$ leverage score sampling?
- RQ3Can the coreset construction be made independent of labels and loss functions to support active learning and multi-task training?
- RQ4How does the coreset size scale with the classification complexity measure $\mu_y(X)$, and can this dependency be improved?
- RQ5What is the empirical performance of $\ell_1$ Lewis weight sampling across diverse datasets and loss functions?
Key findings
- The proposed coreset achieves $(1\pm\epsilon)$ relative error with $\tilde{O}(d \cdot \mu_y(X)^2 / \epsilon^2)$ samples, improving upon the prior state-of-the-art bound of $\tilde{O}(d^3 \cdot \mu_y(X)^3 / \epsilon^4)$ from [MSSW18].
- Empirical results show that $\ell_1$ Lewis weight sampling outperforms uniform sampling and $\ell_2$ leverage score sampling on the KDD Cup ’99 dataset, especially for larger coreset sizes.
- On datasets with high $\mu_y(X)$, such as KDD Cup ’99 ($\mu_y(X) = 35.18$), the performance gap between Lewis weights and other methods is most pronounced.
- For datasets with lower $\mu_y(X)$, such as Covertype ($1.86$) and Webb Spam ($4.39$), Lewis weight sampling performs comparably or slightly worse than $\ell_2$ leverage scores.
- Theoretical analysis confirms that $\ell_1$ Lewis weights are a natural choice for hinge-like losses due to their linear growth for positive arguments and saturation for negative ones.
- The sampling distribution is independent of labels and loss functions, enabling a single coreset to be reused across multiple training objectives and active learning pipelines.
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.