Almost Linear Constant-Factor Sketching for $\ell_1$ and Logistic Regression

Abstract

We improve upon previous oblivious sketching and turnstile streaming results for $\ell_1$ and logistic regression, giving a much smaller sketching dimension achieving $O(1)$-approximation and yielding an efficient optimization problem in the sketch space. Namely, we achieve for any constant $c>0$ a sketching dimension of $\tilde{O}(d^{1+c})$ for $\ell_1$ regression and $\tilde{O}(\mu d^{1+c})$ for logistic regression, where $\mu$ is a standard measure that captures the complexity of compressing the data. For $\ell_1$-regression our sketching dimension is near-linear and improves previous work which either required $\Omega(\log d)$-approximation with this sketching dimension, or required a larger $\operatorname{poly}(d)$ number of rows. Similarly, for logistic regression previous work had worse $\operatorname{poly}(\mu d)$ factors in its sketching dimension. We also give a tradeoff that yields a $1+\varepsilon$ approximation in input sparsity time by increasing the total size to $(d\log(n)/\varepsilon)^{O(1/\varepsilon)}$ for $\ell_1$ and to $(\mu d\log(n)/\varepsilon)^{O(1/\varepsilon)}$ for logistic regression. Finally, we show that our sketch can be extended to approximate a regularized version of logistic regression where the data-dependent regularizer corresponds to the variance of the individual logistic losses.

Cite

Text

Munteanu et al. "Almost Linear Constant-Factor Sketching for $\ell_1$ and Logistic Regression." International Conference on Learning Representations, 2023.

Markdown

[Munteanu et al. "Almost Linear Constant-Factor Sketching for $\ell_1$ and Logistic Regression." International Conference on Learning Representations, 2023.](https://mlanthology.org/iclr/2023/munteanu2023iclr-almost/)

BibTeX

@inproceedings{munteanu2023iclr-almost,
  title     = {{Almost Linear Constant-Factor Sketching for $\ell_1$ and Logistic Regression}},
  author    = {Munteanu, Alexander and Omlor, Simon and Woodruff, David},
  booktitle = {International Conference on Learning Representations},
  year      = {2023},
  url       = {https://mlanthology.org/iclr/2023/munteanu2023iclr-almost/}
}