A Coreset Learning Reality Check

Fred Lu, Edward Raff, James Holt

Abstract

As datasets scale to millions of observations, the computational cost of training even fundamental models like logistic regression becomes significant. Coresets—small, weighted subsets of data designed to preserve the statistical properties of the full dataset—have emerged as a popular solution. However, the coreset literature is often fragmented, with new methods rarely benchmarked against a wide array of competitors or simple baselines. This paper provides a comprehensive "reality check" by evaluating six prominent coreset algorithms across eight diverse datasets. The results reveal that sophisticated subsampling strategies rarely outperform simple uniform random sampling in terms of model fit or predictive performance, suggesting that the added complexity of these algorithms often yields diminishing returns in practice.

Introduction

In the era of big data, the bottleneck for machine learning is frequently the sheer volume of observations. To mitigate this, researchers use coresets to reduce the data footprint while maintaining model accuracy. While theoretical guarantees for these methods are often robust, their empirical performance is less clear. Most existing literature benchmarks new algorithms against only one or two competitors on a limited selection of datasets. This lack of standardization makes it difficult to determine if complex, theoretically-backed alternatives provide a genuine advantage over the simplest possible baseline: uniform random sampling.

This study addresses this gap by conducting a rigorous empirical comparison of six prominent subsampling strategies against a uniform baseline, focusing on their application to logistic regression across three key dimensions: model fit, parameter estimation, and predictive performance.

Subsampling Methodologies

The researchers implemented a diverse set of strategies representing different theoretical approaches to data reduction:

  • k-means Coreset: An older but robust method that uses clustering to upper-bound the "sensitivity" (influence) of individual data points.
  • Leverage Coreset: Utilizes $\ell_2$-leverage scores to approximate the data matrix structure.
  • Lewis Coreset: An $\ell_1$ analog of leverage scores, designed for better theoretical scaling in high-dimensional feature spaces.
  • Monotonic Coreset: A specialized approach designed to handle regularized loss functions effectively.
  • OSMAC (MSE and VC): Strategies derived from the statistics literature that specifically aim to minimize the variance of parameter estimates.

Experimental Design

The evaluation spanned eight real-world datasets, ranging from 24,000 to 4.5 million observations (e.g., webspam, kddcup, and SUSY). Unlike many prior studies that rely on purely numerical data, this benchmark included categorical features with one-hot encoding to better reflect real-world data science workflows.

Performance was measured using three metrics:

  1. Model Fit: Approximation of the full-data log-likelihood.
  2. Parameter Estimation: The Mean Squared Error (MSE) between the subsampled coefficients ($\hat{\beta}_C$) and the full-data Maximum Likelihood Estimate ($\hat{\beta}_{MLE}$).
  3. Predictive Performance: Accuracy on unseen data, measured by the Area Under the ROC Curve (AUC).

Key Insights and the "Baseline Trap"

A primary finding of the study is the prevalence of the "Baseline Trap." Many previous papers claimed success by comparing a new method against another complex algorithm while omitting the uniform sampling baseline. This study shows that while Method A might outperform Method B, both frequently fail to beat simple random chance.

Furthermore, the research highlights the role of regularization as a "great equalizer." Theoretical models suggest that as $L_2$ regularization increases, the sensitivity of data points becomes more uniform. Experimental results confirmed this: as the penalty parameter ($\lambda$) grows, the performance gap between sophisticated coreset methods and uniform sampling effectively vanishes.

Results and Discussion

The empirical results provide a sobering view of the current state of coreset research:

  • No Universal Winner: Statistical analysis (non-parametric Dunn tests) indicated that no coreset method significantly outperformed uniform sampling regarding Negative Log-Likelihood (NLL) or ROC AUC across the tested datasets.
  • The Stability Trade-off: While OSMAC variants showed statistically significant improvements in parameter estimation (MSE), the authors characterize this as a "Pyrrhic victory." These methods were prone to extreme failures and instability, particularly at smaller subsample sizes, making them less reliable than uniform sampling in production environments.
  • The Robustness of k-means: Surprisingly, the $k$-means coreset—often overlooked in modern evaluations—emerged as one of the most stable and competitive performers when properly tuned.

Conclusion

The "reality check" suggests that for many practical applications of logistic regression, the complexity of implementing and tuning sophisticated coreset algorithms may not be justified. Simple uniform sampling remains a formidable baseline that is often more stable and equally performant. Future research in the field should prioritize testing against diverse datasets and strong, simple baselines to ensure that new algorithms provide meaningful improvements over existing practices. Areas such as coresets for deep learning, recursive sampling, and the intersection of subsampling with feature selection (L1 regularization) remain promising frontiers for further investigation.

Summary updated

BibTeX
@inproceedings{lu2023coreset,
  author = {Fred Lu and Edward Raff and James Holt},
  title = {{A Coreset Learning Reality Check}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i7.26074},
}
Figure