On Sketching Quadratic Forms
Abstract
We undertake a systematic study of sketching a quadratic form: given an matrix , create a succinct sketch which can produce (without further access to ) a multiplicative -approximation to for any desired query . While a general matrix does not admit non-trivial sketches, positive semi-definite (PSD) matrices admit sketches of size , via the Johnson-Lindenstrauss lemma, achieving the "for each" guarantee, namely, for each query , with a constant probability the sketch succeeds. (For the stronger "for all" guarantee, where the sketch succeeds for all 's simultaneously, again there are no non-trivial sketches.) We design significantly better sketches for the important subclass of graph Laplacian matrices, which we also extend to symmetric diagonally dominant matrices. A sequence of work culminating in that of Batson, Spielman, and Srivastava (SIAM Review, 2014), shows that by choosing and reweighting edges in a graph, one achieves the "for all" guarantee. Our main results advance this front. For the "for all" guarantee, we prove that Batson et al.'s bound is optimal even when we restrict to "cut queries" . In contrast, previous lower bounds showed the bound only for {\em spectral-sparsifiers}. For the "for each" guarantee, we design a sketch of size bits for "cut queries" . We prove a nearly-matching lower bound of bits. For general queries , we construct sketches of size bits.
Cite
@article{arxiv.1511.06099,
title = {On Sketching Quadratic Forms},
author = {Alexandr Andoni and Jiecao Chen and Robert Krauthgamer and Bo Qin and David P. Woodruff and Qin Zhang},
journal= {arXiv preprint arXiv:1511.06099},
year = {2026}
}
Comments
46 pages; merging of arXiv:1403.7058 and arXiv:1412.8225