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

Structured Semidefinite Programming for Recovering Structured Preconditioners

Arun Jambulapati, Jerry Li, Christopher Musco, Kirankumar Shiragur, Aaron Sidford, Kevin Tian

Introduction

Solving massive linear systems efficiently is a cornerstone of modern computational science and machine learning. To accelerate these computations, practitioners rely on preconditioners—matrices that approximate the inverse of the target system to speed up iterative solvers. However, finding the optimal preconditioner is often prohibitively expensive. This NeurIPS 2023 paper introduces a significant algorithmic breakthrough: a theoretical framework for finding optimal preconditioners in near-linear time, bypassing the traditional bottlenecks of general-purpose solvers.

The Preconditioning Bottleneck

To solve a linear system $Mx = b$, a preconditioner $N \approx M^{-1}$ is used to reduce the matrix's condition number, allowing iterative methods like Conjugate Gradient to converge rapidly.

The challenge lies in the computational cost of discovering this optimal preconditioner. For instance, finding the best diagonal preconditioner—a technique foundational to machine learning optimizers like Adam and Adagrad—typically requires general-purpose Semidefinite Programming (SDP) solvers. These solvers scale poorly, generally at $O(d^{3.5})$ where $d$ is the matrix dimension. Consequently, the cost of finding the preconditioner often eclipses the cost of solving the original system, rendering optimal preconditioning impractical for large-scale data.

This paper addresses this gap by asking a pivotal question: Can we find these optimal structured preconditioners in near-linear time?

Methodology: Matrix-Dictionary Recovery

To achieve near-linear runtimes, the authors develop a meta-algorithm centered around a concept they term matrix-dictionary recovery. The framework operates through several key innovations:

  1. Matrix-Dictionary Approximation: Given a target matrix $M$ and a "dictionary" of simpler matrices $\{M_i\}$, the objective is to find a non-negative linear combination $N = \sum w_i M_i$ that provides the best spectral approximation of $M$.
  2. Structured SDP Solvers: The authors recognize that this recovery problem forms a specific type of "positive SDP" (mixed packing and covering). Rather than relying on slow, general-purpose interior-point methods, they design a custom solver utilizing the Matrix Multiplicative Weights (MMW) framework.
  3. Homotopy Method: For complex constraints, the algorithm employs a regularization strategy known as a homotopy method. This involves recursively solving progressively easier versions of the problem to converge on the solution for the original, harder problem.
  4. Algorithmic Primitives: The approach assumes access to an "oracle" capable of quickly solving systems within the dictionary matrices. For diagonal preconditioning, this is trivial; for graph-structured matrices, the authors leverage existing fast Laplacian solvers.

Key Insights

The theoretical framework yields several profound insights into numerical linear algebra:

  • Exploiting SDP Structure: The paper proves that while general SDPs are notoriously slow, the specific SDPs that arise in preconditioning possess a "positive" structure that can be exploited for massive computational speedups.
  • Robustifying Laplacian Solvers: A major conceptual leap is the ability to "robustify" existing solvers. If a matrix is almost a graph Laplacian, this framework can identify the closest Laplacian approximation to use as a preconditioner. This extends the utility of near-linear time graph solvers to a much broader class of dense matrices.
  • Inverting Structured Matrices: The authors demonstrate that if a matrix $M$ is well-approximated by a structured preconditioner, its inverse $M^{-1}$ can also be handled efficiently. This is highly non-trivial, as the inverse of a sparse matrix is typically dense.

Main Results

As a theoretical computer science paper, the evaluation relies on rigorous mathematical proofs establishing computational complexity and approximation guarantees. The key results include:

  • Diagonal Preconditioning: The authors achieve a runtime of $\widetilde{O}(\mathrm{nnz}(\mathbf{K}) \cdot \mathrm{poly}(\kappa^\star, \epsilon^{-1}))$, where $\mathrm{nnz}(\mathbf{K})$ is the number of non-zero entries and $\kappa^\star$ is the optimal condition number. This is the first near-linear time algorithm for this problem, shattering the previous $O(d^{3.5})$ benchmark.
  • Structured Linear Systems: The framework yields an algorithm to solve linear systems for complex matrices, such as the pseudoinverse of a graph Laplacian, in $\widetilde{O}(d^2)$ time. This surpasses the standard matrix multiplication constant $\omega > 2.37$, the previous state-of-the-art for such dense systems.
  • Semi-Random Regression: Through "inner scaling" results, the paper provides a method to make linear regression robust against adversarial "semi-random" noise by finding a diagonal weight matrix that minimizes the condition number of the data.

Limitations and Future Directions

While groundbreaking, the framework has limitations that present exciting avenues for future research:

  • Dependence on $\kappa^\star$: The runtime is inherently tied to the optimal condition number ($\kappa^\star$). If a matrix is fundamentally "un-preconditionable" (i.e., the best possible scaling still leaves a high condition number), the algorithm's efficiency degrades.
  • Width-Independence: The current solver's dependence on $\kappa^\star$ scales at $O((\kappa^\star)^{1.5})$. The authors conjecture that a "width-independent" solver could improve this to $O(\sqrt{\kappa^\star})$, matching theoretical lower bounds for iterative methods.
  • Simultaneous Scaling: The existing framework handles "inner" or "outer" diagonal scaling independently. Developing a near-linear time algorithm for simultaneous row and column scaling remains an open challenge in the field.

Summary updated

BibTeX
@inproceedings{jambulapati2023structured,
  author = {Arun Jambulapati and Jerry Li and Christopher Musco and Kirankumar Shiragur and Aaron Sidford and Kevin Tian},
  title = {{Structured Semidefinite Programming for Recovering Structured Preconditioners}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ZViPzk1sUI},
}
Figure