NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Approaching optimality for solving SDD systems

Ioannis Koutis, Gary L. Miller, Richard Peng

Introduction

Solving large-scale linear systems of the form $Ax = b$ is a foundational task in computational science, underpinning applications in computer vision, physical simulations, and network analysis. For many years, the efficiency of these solvers was limited by the structure of the matrix $A$. A breakthrough occurred in 2004 when Spielman and Teng demonstrated that Symmetric Diagonally Dominant (SDD) systems—where each diagonal entry is at least the sum of the absolute values of other entries in its row—could be solved in "nearly-linear" time. However, their original algorithm carried a massive $O(\log^{15} n)$ overhead, rendering it more of a theoretical milestone than a practical tool. This paper presents a significant advancement, reducing that complexity to $O(\tilde{m} \log^2 n \log(1/\epsilon))$ and bringing the field much closer to true optimality.

The SDD Problem and Graph Laplacians

SDD matrices are intrinsically linked to Graph Laplacians, which represent the connectivity and structure of networks. In these systems, the matrix $A$ is typically large and sparse. While direct solvers like Gaussian elimination are robust, their computational cost becomes prohibitive as the number of variables $n$ grows. The challenge lies in developing iterative solvers that can approximate the solution $x$ to within an error $\epsilon$ in time nearly proportional to the number of non-zero entries $m$ in the matrix.

Methodology: The Incremental Sparsifier

The core contribution of this work is a recursive strategy built upon a novel "incremental sparsifier." The algorithm avoids the computationally expensive task of calculating "effective resistance" for every edge, which was a bottleneck in previous nearly-linear solvers.

1. Incremental Sparsification via Low-Stretch Trees

To simplify the system, the authors construct a spectral approximation—a sparser graph that maintains the essential algebraic properties of the original. They utilize a low-stretch spanning tree as a backbone. By measuring the "stretch" of non-tree edges relative to this backbone, the algorithm identifies which edges are critical to the graph's structure. Edges with high stretch are sampled more frequently, while those with low stretch are discarded. By scaling the tree weights by a factor $\kappa$, the authors can aggressively reduce the edge count while maintaining a manageable condition number.

2. The Chain of Graphs

The solver does not rely on a single sparsification step. Instead, it constructs a hierarchy or "chain" of progressively smaller graphs. This process alternates between two primary operations:

  • Sparsification: Reducing the total number of edges using the stretch-based sampling mentioned above.
  • Greedy Elimination: Removing nodes with degrees 1 or 2. These nodes can be eliminated exactly and efficiently using logic derived from partial Cholesky factorization without significantly increasing the density of the remaining graph.

3. Recursive Preconditioning

This chain of simplified graphs serves as a sequence of preconditioners for a Chebyshev iteration. By using the solution of a simpler, coarser version of the problem to accelerate the convergence of the more complex version, the algorithm achieves its high efficiency. This recursive structure allows the solver to handle the multi-scale nature of large graphs effectively.

Key Insights

The primary breakthrough is the realization that edge stretch serves as a computationally cheap yet effective proxy for effective resistance. This allows the construction of the solver without needing to solve a linear system as a prerequisite for the solver itself. The work successfully bridges combinatorial graph theory (spanning trees and vertex degrees) with spectral linear algebra (eigenvalues and condition numbers).

Results and Implications

The resulting solver operates in $O(\tilde{m} \log^2 n \log(1/\epsilon))$ time. In practical terms, for a system with millions of variables, the reduction from $\log^{15} n$ to $\log^2 n$ represents an improvement of several orders of magnitude.

Beyond solving linear systems, this algorithm serves as a fundamental primitive for other high-level tasks, including:

  • Computing Fiedler eigenvectors for graph partitioning.
  • Generating high-quality spectral sparsifiers.
  • Accelerating various graph-based machine learning algorithms.

Limitations and Future Directions

Despite the leap in efficiency, a $\log^2 n$ gap remains. One factor of $\log n$ is inherent to the average stretch of the spanning tree, while the other stems from the sampling requirements of matrix concentration bounds. Future work may look toward "ball-growing" techniques or unweighted graph specializations to eliminate these remaining factors. Additionally, while the algorithm is significantly simpler than its predecessors, its reliance on components like Tarjan’s off-line Least Common Ancestor (LCA) algorithm suggests that further refinements in "diameter-restricted local sparsification" may be necessary for widespread adoption in production software libraries.

Summary updated

BibTeX
@article{koutis2014approaching,
  author = {Ioannis Koutis and Gary L. Miller and Richard Peng},
  title = {{Approaching optimality for solving SDD systems}},
  journal = {SIAM Journal on Computing},
  year = {2014},
  doi = {10.1137/110845914},
}
Figure