How Much of the Spectrum Does a Linear-Size Sparsifier Need to See?

A spectral sparsifier replaces a large graph with a much smaller weighted subgraph that behaves almost the same way on every "energy" test. The best achievable size is $O(n/\epsilon^2)$ edges for $n$ vertices and accuracy $\epsilon$, and this size is known to be tight. It is reached by the deterministic Batson–Spielman–Srivastava (BSS) procedure. That procedure adds edges one at a time, and before choosing each edge it inverts a full $n\times n$ "barrier" matrix. Cheaper methods, such as random sampling, matrix multiplicative weights, and sketch-based variants, avoid that inversion but pay a $\log n$ factor in size. This proposal asks a sharp question about where that factor comes from. If the edge-selection step may look only at the top $k$ eigenvectors of the current potential, which is the kind of cheap oracle that projection-free optimizers use in place of a full matrix projection, how small can $k$ be while the sparsifier stays linear-size?

The claim we will test is that BSS-style greedy selection is a Frank–Wolfe method (an optimizer that moves toward one extreme point per step instead of projecting onto the feasible set) over the convex hull of rank-one edge matrices. On this view the full inversion plays the role of the expensive projection. We conjecture that a rank-$k$ spectral oracle with $k = O(\log n)$, plus a scalar correction for the remaining spectrum, preserves $O(n/\epsilon^2)$ size. We also conjecture that flat-spectrum graphs force a size penalty growing like $\log n / k$ when $k$ is small. Either outcome is informative. A positive result gives the first construction of BSS quality whose per-step cost is dominated by a few eigenvector computations. A lower bound turns the familiar $\log n$ gap between the best and the cheap sparsifiers into a precise statement about how much spectral information the construction must see at each step.

Core Claim

The claim needs one definition. Write $L_G$ for the Laplacian of the graph, $b_e$ for the signed incidence vector of edge $e$, and $w_e$ for its weight. Each edge becomes a whitened rank-one matrix $v_e v_e^\top$ with $v_e = \sqrt{w_e}\,L_G^{+/2} b_e$. These whitened edge matrices sum to the identity on the range of $L_G$. A reweighted subgraph $H$ is a $(1\pm\epsilon)$ sparsifier exactly when

$$(1-\epsilon)\,I \preceq \sum_{e} s_e\, v_e v_e^\top \preceq (1+\epsilon)\,I ,$$

where $s_e \ge 0$ are the new edge weights and the size of $H$ is the number of nonzero $s_e$. BSS keeps an upper barrier $u$ and a lower barrier $\ell$ on the eigenvalues of the running sum $A$. At each step it adds the edge that scores best against the matrices $(uI - A)^{-1}$ and $(A - \ell I)^{-1}$, so each edge addition is one step on a barrier potential over the atoms $v_ev_e^\top$. Spectral Sparsification and Regret Minimization Beyond Matrix Multiplicative Updates makes this precise in the language of regret minimization. It shows that entropy regularization, which corresponds to matrix multiplicative weights, cannot beat $O(n\log n/\epsilon^2)$ edges. It also shows that an $\ell_{1/2}$ regularizer recovers linear size in $O(n^{2+\epsilon})$ time, using Laplacian solvers, polynomial approximations and random projections to evaluate the matrix functions. That paper motivates this proposal, and it is the method we build on.

Our departure is to treat evaluation of the barrier matrix as the projection bottleneck, and to borrow the fix from projection-free optimization. Spectral Frank-Wolfe Algorithm: Strict Complementarity and Linear Convergence optimizes over the set of trace-one positive semidefinite matrices (density matrices) using only the top $k$ eigenvectors of the gradient plus a small $k\times k$ subproblem. It proves linear convergence when there is an eigengap. It also shows graceful degradation to the ordinary Frank–Wolfe rate $O(1/t)$ when $k$ is below the true rank. We carry this idea over to sparsification. A barrier gradient is dominated by the eigen-directions of $A$ that sit close to a barrier. We approximate the gradient by its exact form on the top-$k$ near-barrier eigenspaces, plus a single scalar for the rest of the spectrum, and select edges with that approximation. SpecFW was never applied to sparsification. Its eigengap condition also has an unclear analogue here, because a good sparsifier has a nearly flat spectrum by design. That flat spectrum is exactly where we expect the tightness question to become hard.

Research Program

The theoretical work has an upper-bound half and a lower-bound half.

For the upper bound, we will modify the BSS potential argument so that each step tolerates a multiplicative error in the edge score. We will then bound that error for the rank-$k$-plus-scalar oracle in terms of the gap between the $k$-th and $(k+1)$-th barrier distances. The analysis will use the fact that barrier potentials charge each eigenvalue by the inverse of its distance to the barrier. With suitable barrier schedules, the uncaptured tail should then contribute a potential increase that shrinks with $k$. We will also borrow the Wolfe-gap restart schedule from Restarting Frank-Wolfe, which removes hand-tuned geometric constants, to decide adaptively when to refresh the eigenspace. Recomputing the top-$k$ subspace at every edge addition would otherwise erase the savings.

For the lower bound, we will study a restricted class of algorithms. In this class the edge choice depends only on a rank-$k$ spectral summary of the current sum together with the whitened atoms. We will build flat-spectrum instances, such as complete graphs and random regular expanders, where every direction is equally close to the barrier and a small $k$ therefore carries little information. The target is a size lower bound of the form $n/\epsilon^2\cdot\Omega(1+\log n/k)$. If that bound holds, the $\log n$ penalty of matrix multiplicative weights becomes the $k=1$ end of a continuous tradeoff.

Two known results constrain the design. Subgraph Sparsification and Nearly Optimal Ultrasparsifiers shows that a logarithmic discrepancy persists in related condition-number bounds, so a logarithmic loss may be unavoidable in some regimes. A Matrix Chernoff Bound for Strongly Rayleigh Distributions and Spectral Sparsifiers from a few Random Spanning Trees shows that randomized, dependent sampling can approach what independent sampling achieves. Neither gives a linear-size guarantee, and our oracle model is deterministic.

The algorithm we build will compute near-barrier eigenvectors by Lanczos iteration on $A$ restricted to the whitened space. It will apply whitening approximately, through a preconditioned solve reused across many steps, and will score all edges by one sparse multiply per eigenvector. We state openly that exact whitening still requires something like a Laplacian solve. The contribution is the removal of per-step full matrix functions, not the removal of whitening. SF-GRASS: Solver-Free Graph Spectral Sparsification suggests that local smoothing can stand in for the solver in practice, and we test that combination as a secondary variant.

Baselines

The naive reference point is uniform edge sampling at a matched edge count, with weights set to preserve the expected Laplacian. It shows how much any spectral information buys on each graph.

The standard practical method is effective-resistance sampling, which samples edges in proportion to their leverage $\|v_e\|^2$. It reaches $O(n\log n/\epsilon^2)$ edges and is the baseline a practitioner would use. We will give it exact leverages, which isolates the effect of the selection rule from the quality of whitening. The random-spanning-tree construction of A Matrix Chernoff Bound for Strongly Rayleigh Distributions and Spectral Sparsifiers from a few Random Spanning Trees serves as a second randomized baseline, run with the same tree count needed to match edge budgets.

The strongest competitor on the actual question is the exact deterministic barrier method, meaning BSS with full inversion at every step, and its regret-minimization form from Spectral Sparsification and Regret Minimization Beyond Matrix Multiplicative Updates with the $\ell_{1/2}$ regularizer. This is the $k=n$ endpoint of our family. The entropy (matrix multiplicative weights) version of the same code is the $k$-free cheap endpoint. All deterministic variants will share the whitening, the barrier schedule and the stopping rule, and will run on the same machine under the same wall-clock budget.

For practical preconditioning quality, SF-GRASS is the strongest reported system. It reports up to a 167x speedup over direct solvers and up to 98x over GRASS when used as a preconditioner for conjugate gradient, with relative error below 4% in power-grid verification (SF-GRASS: Solver-Free Graph Spectral Sparsification). We found no reported condition number or edge count on any specific benchmark graph on Lacuna, so we will rerun it ourselves at matched edge budgets.

The key ablation fixes $k$ and replaces the top near-barrier eigenspace with a random $k$-dimensional subspace, keeping the scalar tail correction. This isolates whether the gain comes from the specific spectral information or merely from spending $k$ matrix-vector products. A second ablation removes the scalar tail correction.

Beating the baselines means the following. At every tested $\epsilon$, the rank-$k$ method with $k=O(\log n)$ should need edges within a constant factor, say 1.5x, of exact BSS. It should need clearly fewer edges than effective-resistance sampling and matrix multiplicative weights, with the gap growing with $n$. Its per-step cost should be at least an order of magnitude below exact BSS once $n \ge 10^4$.

Why not just…?

Why not just use effective-resistance sampling and accept the $\log n$? For many applications the extra factor is harmless, and if the measured gap between sampling and exact BSS is small on real meshes and circuits, the practical half of this proposal weakens. The theoretical question remains either way: the lower-bound experiments on flat-spectrum instances are designed to show whether the $\log n$ is a property of oracle rank or an artifact of randomness. We will report the sampling-versus-BSS gap first, before any claim of practical value.

Why not just run BSS or the $\ell_{1/2}$ regret method with a fast solver? Spectral Sparsification and Regret Minimization Beyond Matrix Multiplicative Updates already does this and lands at $O(n^{2+\epsilon})$ total time. The bottleneck is repeated evaluation of matrix functions of the running sum, not single linear solves. Our $k=n$ endpoint is this method, so the comparison is direct.

Why not just approximate the barrier matrix with a randomized low-rank sketch? This is the most serious alternative, and it is close to our method. The difference is which subspace is kept. A generic randomized range finder captures the largest-magnitude directions of the barrier inverse, and when the spectrum is flat these coincide with nothing in particular. Our oracle targets the directions nearest each barrier and adds a tail scalar. The random-subspace ablation, together with a randomized-SVD variant at equal matrix-vector budget, settles whether the targeting matters. If they tie, we will report that the contribution reduces to the size-versus-rank tradeoff itself.

Why not just use SF-GRASS? It is fast and practically strong. However, its authors give no $(1\pm\epsilon)$ guarantee on general graphs (SF-GRASS: Solver-Free Graph Spectral Sparsification), so it cannot answer a tightness question. We use it only as a practical yardstick and as an optional whitening substitute.

Proposed Experiments

The first experiment measures the size-versus-rank curve. We use the finite-element and circuit graphs from the SF-GRASS suite (fe_4elt, fe_ocean, Gmat_airfoil, G2_circuit, Gmat_laplacian), together with synthetic complete graphs, random regular expanders and 2D grids for $n$ from $10^3$ to about $5\times10^4$. For each $\epsilon \in \{0.5, 0.3, 0.2\}$ and each $k \in \{1, 2, 4, \log n, 4\log n, n\}$, we record the edges needed to certify the target. The certificate is the relative condition number of $L_H$ against $L_G$, computed from extreme generalized eigenvalues by Lanczos iteration.

The decisive check is the shape of this curve on expanders. If edges divided by $n/\epsilon^2$ stay flat once $k \gtrsim \log n$ but grow like $\log n/k$ below it, both conjectures are supported. If the curve is flat already at $k=1$, the lower-bound conjecture is false. If it never flattens short of $k \approx n$, then barrier information does not compress. Each of these outcomes is publishable, as a result about tightness.

The second experiment measures cost and downstream use on the Thermal1–Thermal8 meshes, which reach 2.5 million nodes and 7.2 million edges. We report sparsifier construction time and the number of preconditioned conjugate gradient iterations for $L_G x = y$ at matched edge counts, against SF-GRASS and effective-resistance sampling. The exact BSS baseline will be run only up to the largest size it completes in the shared time budget.

The third experiment runs both ablations, the random subspace and the missing tail scalar, on the full grid of the first experiment. It also tracks how often the Wolfe-gap-triggered subspace refresh fires, which determines whether the amortized cost is actually near-linear.