Turnstile $\ell_p$ leverage score sampling with applications

Alexander Munteanu, Simon Omlor
6/1/2024
cs.DScs.LGstat.ML

No official code found. Best implementation: novaktim/turnstile-sampling (1 star, last commit 2024-05-30).

Abstract

The turnstile data stream model offers the most flexible framework where data can be manipulated dynamically, i.e., rows, columns, and even single entries of an input matrix can be added, deleted, or updated multiple times in a data stream. We develop a novel algorithm for sampling rows $a_i$ of a matrix $A\in\mathbb{R}^{n\times d}$, proportional to their $\ell_p$ norm, when $A$ is presented in a turnstile data stream. Our algorithm not only returns the set of sampled row indexes, it also returns slightly perturbed rows $\tilde{a}_i \approx a_i$, and approximates their sampling probabilities up to $\varepsilon$ relative error. When combined with preconditioning techniques, our algorithm extends to $\ell_p$ leverage score sampling over turnstile data streams. With these properties in place, it allows us to simulate subsampling constructions of coresets for important regression problems to operate over turnstile data streams with very little overhead compared to their respective off-line subsampling algorithms. For logistic regression, our framework yields the first algorithm that achieves a $(1+\varepsilon)$ approximation and works in a turnstile data stream using polynomial sketch/subsample size, improving over $O(1)$ approximations, or $\exp(1/\varepsilon)$ sketch size of previous work. We compare experimentally to plain oblivious sketching and plain leverage score sampling algorithms for $\ell_p$ and logistic regression.

View on arXivView PDF

Code Implementations(1)

This is the accompanying code repository for the ICML 2024 publication "Turnstile ℓp leverage score sampling with applications" by Alexander Munteanu and Simon Omlor, implementation and experiments supported by Tim Novak.

11Python, Jupyter NotebookJan 6, 20242 years ago

Similar Papers

Cite this paper

@article{munteanu2024turnstile,
  title  = {Turnstile $\ell_p$ leverage score sampling with applications},
  author = {Alexander Munteanu and Simon Omlor},
  year   = {2024},
  eprint = {2406.00339},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00339v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00339.svg)](https://codeofpaper.com/paper/2406.00339)

Discussion