Lune

NeurIPS2023Top-tier venue

Near-Optimal k-Clustering in the Sliding Window Model

David P. Woodruff, Peilin Zhong, Samson Zhou

2023Year
14Citations
8Top-tier citations

Abstract

Clustering is an important technique for identifying structural information in large-scale data analysis, where the underlying dataset may be too large to store. In many applications, recent data can provide more accurate information and thus older data past a certain time is expired. The sliding window model captures these desired properties and thus there has been substantial interest in clustering in the sliding window model. In this paper, we give the first algorithm that achieves near-optimal (1+ε)(1+\varepsilon)-approximation to (k,z)(k,z)-clustering in the sliding window model, where zz is the exponent of the distance function in the cost. Our algorithm uses kmin⁡(ε4,ε2+z) polylognΔε\frac{k}{\min(\varepsilon^4,\varepsilon^{2+z})}\,\text{polylog}\frac{n\Delta}{\varepsilon} words of space when the points are from [Δ]d[\Delta]^d, thus significantly improving on works by Braverman et. al. (SODA 2016), Borassi et. al. (NeurIPS 2021), and Epasto et. al. (SODA 2022). Along the way, we develop a data structure for clustering called an online coreset, which outputs a coreset not only for the end of a stream, but also for all prefixes of the stream. Our online coreset samples kmin⁡(ε4,ε2+z) polylognΔε\frac{k}{\min(\varepsilon^4,\varepsilon^{2+z})}\,\text{polylog}\frac{n\Delta}{\varepsilon} points from the stream. We then show that any online coreset requires Ω(kε2log⁡n)\Omega\left(\frac{k}{\varepsilon^2}\log n\right) samples, which shows a separation from the problem of constructing an offline coreset, i.e., constructing online coresets is strictly harder. Our results also extend to general metrics on [Δ]d[\Delta]^d and are near-optimal in light of a Ω(kε2+z)\Omega\left(\frac{k}{\varepsilon^{2+z}}\right) lower bound for the size of an offline coreset.

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.

lune papers fulltext 7a16c40b-d3ad-4b54-bd67-5e759c144149

Cited by top-tier papers8

Ask how each one uses it

Builds on11

Related papers

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