Near-Optimal k-Clustering in the Sliding Window Model
David P. Woodruff, Peilin Zhong, Samson Zhou
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 -approximation to -clustering in the sliding window model, where is the exponent of the distance function in the cost. Our algorithm uses words of space when the points are from , 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 points from the stream. We then show that any online coreset requires 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 and are near-optimal in light of a 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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7a16c40b-d3ad-4b54-bd67-5e759c144149Cited by top-tier papers8
- Consistent Low-Rank ApproximationDavid Woodruff, Samson ZhouICLR 2026 · 62 citations
- Online Learning with Limited Information in the Sliding Window ModelVladimir Braverman, Sumegha Garg, Chen Wang, David P. Woodruff et al.SODA 2026 · 4 citations
- Learning-Augmented Moment Estimation on Time-Decay ModelsSoham Nagawanshi, Shalini Panthangi, Chen Wang, David P. Woodruff et al.ICLR 2026 · 3 citations
- Nearly Space-Optimal Graph and Hypergraph Sparsification in Insertion-Only Data StreamsVincent Cohen-Addad, David P. Woodruff, Shenghao Xie, Samson ZhouICLR 2026 · 2 citations
- Sensitivity Sampling for k-Means: Worst Case and Stability Optimal Coreset BoundsNikhil Bansal, Vincent Cohen-Addad, Milind Prabhu, David Saulpic et al.FOCS 2024 · 2 citations
Builds on11
- Adversarial Robustness of Streaming Algorithms through Importance SamplingVladimir Braverman, Avinatan Hassidim, Yossi Matias, Mariano Schain et al.NeurIPS 2021 · 56 citations
- Improved Coresets for Euclidean k-MeansVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris Schwiegelshohn et al.NeurIPS 2022 · 47 citations
- Coresets for clustering in Euclidean spaces: importance sampling is nearly optimalLingxiao Huang, Nisheeth K. VishnoiSTOC 2020 · 36 citations
- Sliding Window Algorithms for k-Clustering ProblemsMichele Borassi, Alessandro Epasto, Silvio Lattanzi, Sergei Vassilvitskii et al.NeurIPS 2020 · 35 citations
- Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference EstimatorsDavid P. Woodruff, Samson ZhouFOCS 2021 · 25 citations
Related papers
- Streaming Euclidean k-median and k-means with o(log n) SpaceVincent Cohen-Addad, David P. Woodruff, Samson ZhouFOCS 2023 · 3 citations
- Coresets for Clustering in Graphs of Bounded TreewidthDaniel N. Baker, Vladimir Braverman, Lingxiao Huang, Shaofeng H.-C. Jiang et al.ICML 2020 · 35 citations
- Improved Sliding Window Algorithms for Clustering and Coverage via Bucketing-Based SketchesAlessandro Epasto, Mohammad Mahdian, Vahab S. Mirrokni, Peilin ZhongSODA 2022 · 6 citations
- Near-optimal Coresets for Robust ClusteringLingxiao Huang, Shaofeng H.-C. Jiang, Jianing Lou, Xuan WuICLR 2023 · 1 citation
- Towards optimal lower bounds for k-median and k-means coresetsVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris SchwiegelshohnSTOC 2022 · 20 citations
