Linear-Size Spectral Sparsification by Sign Descent
Abstract
Given an undirected graph with $n$ vertices, $m$ edges, and arbitrary positive weights, we construct a $(1\pm\varepsilon)$-spectral sparsifier with $O(n/\varepsilon^2)$ edges. For every $0<\varepsilon<1$, the algorithm succeeds with high probability and runs in time \[ O\!\left(n+\varepsilon^{-3}\bigl[m\log^2 n+n\log^3 n\,(\log\log n)^4\bigr]\right). \] In each phase we seek a reweighting that brings many edge weights to zero or twice their current value while keeping the relative change in every graph energy small. Reversing the weight changes preserves the error and exchanges deletion with doubling, so one choice deletes at least half the edges that reach an endpoint. We balance a smooth penalty for spectral error against a linear reward for alignment with independent random signs. Each step changes the free weights by a fixed fraction of their values at the start of the phase, with directions chosen from the estimated signs of the negative gradient. A weight stays fixed once it reaches an endpoint. We show that while few weights are fixed, the remaining edges admit a direction whose gain in reward exceeds its first-order spectral cost by a constant. The objective is bounded below, so this decrease forces a constant fraction of the weights to an endpoint. We repeat the partial coloring on the surviving edges, choosing the tolerances to keep the total relative error within $\varepsilon$.