# Fast, Space-Optimal Streaming Algorithms for Clustering and Subspace Embeddings

arXiv: https://arxiv.org/abs/2504.16229 · HTML: https://mlsanity.com/paper/2504.16229/

## Key facts

- Cited by 1 papers in the map (data through 26 Nov 2026).
- Submitted 22 Apr 2025.

## Built on by (most cited first, 1 of 1)

- [Coresets for Capacitated Clustering via Dual Concentration](https://mlsanity.com/paper/2611.09600/) (2026)

## Abstract (arXiv)

We show that both clustering and subspace embeddings can be performed in the streaming model with the same asymptotic efficiency as in the central/offline setting. For (k, z)-clustering in the streaming model, we achieve a number of words of memory which is independent of the number n of input points and the aspect ratio Delta, yielding an optimal bound of tildeOleft(fracdkmin(varepsilon4,varepsilonz+2)right) words for accuracy parameter varepsilon on d-dimensional points. Additionally, we obtain amortized update time of d,log(k)·polylog(log(nDelta)), which is an exponential improvement over the previous d,poly(k,log(nDelta)). Our method also gives the fastest runtime for (k,z)-clustering even in the offline setting. For subspace embeddings in the streaming model, we achieve O(d) update time and space-optimal constructions, using tildeOleft(fracd2varepsilon2right) words for p≤ 2 and tildeOleft(fracdp/2+1varepsilon2right) words for p>2, showing that streaming algorithms can match offline algorithms in both space and time complexity.
