Online Row Sampling
Abstract
Finding a small spectral approximation for a tall matrix is a fundamental numerical primitive. For a number of reasons, one often seeks an approximation whose rows are sampled from those of . Row sampling improves interpretability, saves space when is sparse, and preserves row structure, which is especially important, for example, when represents a graph. However, correctly sampling rows from can be costly when the matrix is large and cannot be stored and processed in memory. Hence, a number of recent publications focus on row sampling in the streaming setting, using little more space than what is required to store the outputted approximation [KL13, KLM+14]. Inspired by a growing body of work on online algorithms for machine learning and data analysis, we extend this work to a more restrictive online setting: we read rows of one by one and immediately decide whether each row should be kept in the spectral approximation or discarded, without ever retracting these decisions. We present an extremely simple algorithm that approximates up to multiplicative error and additive error using online samples, with memory overhead proportional to the cost of storing the spectral approximation. We also present an algorithm that uses ) memory but only requires samples, which we show is optimal. Our methods are clean and intuitive, allow for lower memory usage than prior work, and expose new theoretical properties of leverage score based matrix approximation.
Cite
@article{arxiv.1604.05448,
title = {Online Row Sampling},
author = {Michael B. Cohen and Cameron Musco and Jakub Pachocki},
journal= {arXiv preprint arXiv:1604.05448},
year = {2016}
}