Space-Optimal Streaming Algorithms via Efficient Encodings
Abstract
We study the problem of constructing coresets on data streams: Given a dataset of points in arriving sequentially, the goal is to maintain a small weighted subset that accurately approximates the objective values of the entire dataset for a given class of query functions. Previous methods like merge-and-reduce and online sensitivity sampling required more space than the size of an optimal such subset in the offline setting. In this work, we show that such overheads are not necessary by presenting space-optimal streaming algorithms for central high-dimensional optimization problems such as Euclidean -clustering and subspace embeddings, as well as applications to projection-cost preserving sketches. For -clustering, our streaming algorithm uses memory independent of the number of input points (in words of memory) and the aspect ratio , yielding a coreset with an optimal words of memory for accuracy parameter . For subspace embeddings, where the rows of matrix arrive in an insertion-only stream, we achieve an efficient algorithm that uses optimal space for different ranges of : words for and words for , both independent of the number of rows . Thus, our work shows that streaming algorithms can match offline algorithms in space complexity.
Create a lesson
Metadata
- Comments
- Updated version of arXiv:2504.16229, accepted by NeurIPS 2026. We include the space-optimal results in arXiv:2504.16229 and a new application to projection-cost preserving sketches. A companion paper (in submission) focuses on fast update times
Related papers
Space-Optimal Spanning Tree Algorithms in Bounded-Deletion Streams
Shared title terminologycs.DSTsun-Ming Cheung, Yu Hsiang, Shang-En Huang et al.
A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams
Shared title terminologycs.DSTsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen
Row-Private Symmetric Cone Programming: Scale-Efficient Algorithm and Lower Bound
Shared title terminologycs.DSDeming Chu, Ruizhe Zhang
Efficient algorithms for uniformly sampling four- and five-colorings of grid regions
Shared title terminologycs.DSJacob Platnick, Dana Randall
Vertex-Weighted Graph Burning: Bounds and Algorithms
Shared title terminologycs.DSAli Abdoli Masinan, Ayda Ataiy, Hourieh Mehrabiun et al.
Approximation Algorithms for Minimizing the Makespan in Distributed Proportionate Flow Shops
Shared title terminologycs.DSDvir Shabtay, Baruch Mor, Gur Mosheiov