Efficient Õ(n/ε) Spectral Sketches for the Laplacian and its Pseudoinverse

Arun Jambulapati, Aaron Sidford · OpenReview

TL;DR

This paper introduces nearly-linear time algorithms to construct "spectral sketches" for graph Laplacians and their pseudoinverses with a size of only $\tilde{O}(n/\epsilon)$. These sketches allow for highly efficient approximation of quadratic forms and enable the calculation of all-pairs effective resistances in $\tilde{O}(n^2/\epsilon)$ time, a significant improvement over previous bounds.

What Problem Does This Paper Address?

In graph theory and network analysis, the Laplacian matrix ($L$) and its Moore-Penrose pseudoinverse ($L^+$) are fundamental. They are used to calculate graph cuts, eigenvalues, and "effective resistances" (a measure of distance between nodes).

Traditionally, researchers used spectral sparsifiers—smaller graphs that preserve the quadratic form $x^\top Lx$ for all possible vectors $x$. However, sparsifiers have a theoretical lower bound size of $\Omega(n/\epsilon^2)$.

The authors tackle a more relaxed but highly useful version of this problem: the Spectral Sketch. Instead of preserving the quadratic form for all $x$ simultaneously, a sketch $f(x)$ must approximate $x^\top Ax$ for any particular vector $x$ (chosen without knowledge of the sketch) with high probability. The goal is to find the smallest possible sketch size and the fastest construction time for both the Laplacian and its dense, computationally expensive pseudoinverse.

Methods

The paper's approach differs based on whether they are sketching the Laplacian or its pseudoinverse:

  • For the Laplacian ($L$): The authors utilize Expander Decomposition. They recursively partition the graph into "expander" subgraphs—components that are exceptionally well-connected. By storing the degree matrix and a small, randomly sampled set of edges from these expanders, they can accurately estimate the quadratic form. This improves upon previous methods that used simpler "sparse cut" partitioning, which often resulted in larger sketches.
  • For the Pseudoinverse ($L^+$): The authors provide a novel reduction. They show that to sketch $L^+$, one can combine a coarse $\sqrt{\epsilon}$-spectral sparsifier of $L$ with an $\epsilon$-spectral sketch of $L$. They use an iterative numerical technique (similar to Richardson iteration) to "smooth" the estimate from the sparsifier using the information in the sketch.
  • All-Pairs Effective Resistances: By converting the $L^+$ sketch into an explicit $n \times n$ matrix, they show how to read off all $n^2$ effective resistance values more efficiently than previous state-of-the-art methods.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets. Instead, it provides rigorous mathematical proofs for any polynomially-bounded weighted undirected graph $G = (V, E)$ with $n$ nodes and $m$ edges. The performance is evaluated through asymptotic complexity analysis (Big-O notation).

Key Insights and Ideas

  • Sketching vs. Sparsification: The "oblivious" nature of the query $x$ is the key to breaking the $\Omega(n/\epsilon^2)$ barrier. If the sketch doesn't have to work for every $x$ at once, it can be much smaller.
  • The Power of Expanders: Using expander decomposition ensures that the "volume" of the graph is well-distributed, preventing the sampling process from missing critical edges that would otherwise lead to high variance in the estimate.
  • Implicit Pseudoinverses: The paper demonstrates that we don't need to store the dense $L^+$ matrix to understand its properties. We can "sketch" its behavior by cleverly combining a sparse approximation of the original graph with a sketch of the graph's edges.
  • Optimality: The $\tilde{O}(n/\epsilon)$ size is nearly optimal, as it matches known lower bounds for "cut queries" (a specific type of spectral query) up to polylogarithmic factors.

Key Results

  • Laplacian Sketch: Achieved a size of $\tilde{O}(n/\epsilon)$ with $\tilde{O}(m)$ construction time. This improves on the previous best of $O(n/\epsilon^{1.6})$.
  • Pseudoinverse Sketch: Achieved a size of $\tilde{O}(n/\epsilon)$ with $\tilde{O}(m)$ construction time. This is a major leap over the previous $O(n/\epsilon^2)$ bound derived from the Johnson-Lindenstrauss lemma.
  • Effective Resistance: The algorithm computes all-pairs effective resistances in $\tilde{O}(n^2/\epsilon)$ time. This is an $\epsilon$-factor speedup over the previous $\tilde{O}(n^2/\epsilon^2)$ benchmark, which is particularly valuable for large, dense networks.

Limitations and Future Work

  • Oblivious Queries: The primary limitation is that the sketch is designed for "oblivious" queries. If an adversary knows the random bits used to build your sketch, they can choose a vector $x$ that causes the approximation to fail.
  • Constant Probability: The basic algorithms provide a success probability of 2/3 or 0.9, requiring $O(\log n)$ independent repetitions to achieve "high probability" (e.g., $1 - 1/n^c$), which adds a logarithmic overhead to the space and time.
  • Sparse Graphs: While the all-pairs effective resistance result is a breakthrough for dense graphs, the authors suggest that further improvements might be possible for computing leverage scores and resistances in very sparse graphs.

Summary updated

BibTeX
@misc{jambulapati2017efficient,
  author = {Arun Jambulapati and Aaron Sidford},
  title = {{Efficient Õ(n/ε) Spectral Sketches for the Laplacian and its Pseudoinverse}},
  year = {2017},
  eprint = {1711.00571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.00571},
}
Figure