English

Simple and Deterministic Matrix Sketching

Data Structures and Algorithms 2012-07-12 v6

Abstract

We adapt a well known streaming algorithm for approximating item frequencies to the matrix sketching setting. The algorithm receives the rows of a large matrix ARn×mA \in \R^{n \times m} one after the other in a streaming fashion. It maintains a sketch matrix BR1/\eps×mB \in \R^ {1/\eps \times m} such that for any unit vector xx [\|Ax\|^2 \ge \|Bx\|^2 \ge \|Ax\|^2 - \eps \|A\|_{f}^2 \.] Sketch updates per row in AA require O(m/\eps2)O(m/\eps^2) operations in the worst case. A slight modification of the algorithm allows for an amortized update time of O(m/\eps)O(m/\eps) operations per row. The presented algorithm stands out in that it is: deterministic, simple to implement, and elementary to prove. It also experimentally produces more accurate sketches than widely used approaches while still being computationally competitive.

Keywords

Cite

@article{arxiv.1206.0594,
  title  = {Simple and Deterministic Matrix Sketching},
  author = {Edo Liberty},
  journal= {arXiv preprint arXiv:1206.0594},
  year   = {2012}
}
R2 v1 2026-06-21T21:13:50.141Z