paper

Fast, Space-Optimal Streaming Algorithms for Clustering and Subspace Embeddings

arXiv:2504.16229

Abstract

We show that both clustering and subspace embeddings can be performed in the streaming model with the same asymptotic efficiency as in the central/offline setting. For -clustering in the streaming model, we achieve a number of words of memory which is independent of the number of input points and the aspect ratio , yielding an optimal bound of words for accuracy parameter on -dimensional points. Additionally, we obtain amortized update time of , which is an exponential improvement over the previous . Our method also gives the fastest runtime for -clustering even in the offline setting. For subspace embeddings in the streaming model, we achieve update time and space-optimal constructions, using words for and words for , showing that streaming algorithms can match offline algorithms in both space and time complexity.

Fast, Space-Optimal Streaming Algorithms for Clustering and Subspace Embeddings · wovepaper