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.
Related papers
See more related submissions when the market opens.