Lune

FOCS2023Top-tier venue

Streaming Euclidean k-median and k-means with o(log n) Space

Vincent Cohen-Addad, David P. Woodruff, Samson Zhou

2023Year
3Citations
10Top-tier citations

Abstract

We consider the classic Euclidean k-median and k-means objective on data streams, where the goal is to provide a (1+ε)(1+\varepsilon)-approximation to the optimal k-median or k-means solution, while using as little memory as possible. Over the last 20 years, clustering in data streams has received a tremendous amount of attention and has been the test-bed for a large variety of new techniques, including coresets, the merge-and-reduce framework, bicriteria approximation, sensitivity sampling, and so on. Despite this intense effort to obtain smaller sketches for these problems, all known techniques require storing at least Ω(log⁡(nΔ))\Omega(\log (n \Delta)) words of memory, where n is size of the input and Δ\Delta is the aspect ratio. A natural question is if one can beat this logarithmic dependence on n and Δ\Delta. In this paper, we break this barrier by first giving an insertion-only streaming algorithm that achieves a (1+ε)(1+\varepsilon)-approximation to the more general (k,z)(k, z)-clustering problem, using O~(dkε2)⋅(2zlog⁡z)⋅min⁡(1εz,k)⋅poly⁡(log⁡log⁡(nΔ))\tilde{\mathcal{O}}\left(\frac{d k}{\varepsilon^{2}}\right) \cdot\left(2^{z \log z}\right) \cdot \min \left(\frac{1}{\varepsilon^{z}}, k\right) \cdot \operatorname{poly}(\log \log (n \Delta)) words of memory. Our techniques can also be used to achieve two-pass algorithms for k-median and k-means clustering on dynamic streams using O~(1ε2)⋅poly⁡(d,k,log⁡log⁡(nΔ))\tilde{\mathcal{O}}\left(\frac{1}{\varepsilon^{2}}\right) \cdot \operatorname{poly}(d, k, \log \log (n \Delta)) words of memory.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers10

Ask how each one uses it

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines