A Provably Accurate Randomized Sampling Algorithm for Logistic Regression
Agniva Chowdhury, Pradeep Ramuhalli
TL;DR
This work addresses scalable logistic regression in the $n\gg d$ regime by introducing a leverage-score based sketching approach that subsamples $s=\mathcal{O}(d/\varepsilon^{2})$ observations to form a diagonal sketching matrix $\mathbf{S}$. The subsampled log-likelihood $\bar{\ell}(\boldsymbol{\beta})$ yields an estimator $\hat{\boldsymbol{\beta}}$ whose estimated probabilities satisfy $\|\mathbf{p}(\hat{\boldsymbol{\beta}})-\mathbf{p}(\boldsymbol{\beta}^{*})\|_{2} \le \varepsilon\,\|\mathbf{y}-\mathbf{p}(\boldsymbol{\beta}^{*})\|_{2}$, with high probability, under two structural conditions reducible to randomized matrix multiplication. The key contributions include a tight probability-bound for the probabilities, a sampling complexity independent of the data-dependent complexity measure $\mu_{\mathbf{y}}(\mathbf{X})$, and the use of standard leverage scores, accompanied by empirical validation on real datasets showing competitive performance to full data and prior coresets. This method offers a practical, provably accurate, and computationally efficient solution for large-scale binary classification problems. The results advance sketching-based approaches for logistic regression by delivering finite-sample guarantees with simple leverage-score based sampling.
Abstract
In statistics and machine learning, logistic regression is a widely-used supervised learning technique primarily employed for binary classification tasks. When the number of observations greatly exceeds the number of predictor variables, we present a simple, randomized sampling-based algorithm for logistic regression problem that guarantees high-quality approximations to both the estimated probabilities and the overall discrepancy of the model. Our analysis builds upon two simple structural conditions that boil down to randomized matrix multiplication, a fundamental and well-understood primitive of randomized numerical linear algebra. We analyze the properties of estimated probabilities of logistic regression when leverage scores are used to sample observations, and prove that accurate approximations can be achieved with a sample whose size is much smaller than the total number of observations. To further validate our theoretical findings, we conduct comprehensive empirical evaluations. Overall, our work sheds light on the potential of using randomized sampling approaches to efficiently approximate the estimated probabilities in logistic regression, offering a practical and computationally efficient solution for large-scale datasets.
