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

A Deterministic Linear Program Solver in Current Matrix Multiplication Time

Jan van den Brand

TL;DR

This paper presents the first deterministic algorithm for solving linear programs that matches the speed of the fastest randomized solvers. By introducing a novel data structure for maintaining projections, the author breaks a 30-year-old complexity barrier, achieving a total running time of $O(n^\omega)$—the same time required for basic matrix multiplication.

What Problem Does This Paper Address?

Linear Programming (LP) is a cornerstone of optimization, used in everything from logistics to machine learning. For decades, researchers have chased the "holy grail" of LP solvers: an algorithm that runs as fast as it takes to solve a single system of linear equations (roughly $O(n^\omega)$, where $\omega \approx 2.38$ is the matrix multiplication exponent).

While recent breakthroughs (notably Cohen, Lee, and Song in 2019) achieved this $O(n^\omega)$ bound using randomized techniques, deterministic solvers remained stuck at the $O(n^{2.5})$ barrier established by Vaidya in 1989. Randomization is powerful but often complicates analysis and can be undesirable in high-stakes applications. The core challenge was: Can we achieve optimal complexity without relying on "coin flips"?

Methods

The author derandomizes the state-of-the-art solver by focusing on the bottleneck of Interior Point Methods (IPMs): Projection Maintenance.

In each iteration of an IPM, the algorithm must compute a projection $Pv$, where $P$ is a projection matrix that changes slightly over time.

  1. New Data Structure: Previous fast solvers maintained an approximation of the matrix $P$ but had to use random sampling (sparsification) to multiply it by the vector $v$ in sub-quadratic time. This paper introduces a data structure that maintains the entire product $Pv$ directly.
  2. $\ell_\infty$ Potential Function: Because the algorithm uses a deterministic approximation of the vector $v$, the "gradient" it follows might occasionally point in the wrong direction. To handle this, the author adapts the "central path" method to measure progress using the $\ell_\infty$-norm rather than the traditional $\ell_2$-norm. This allows the algorithm to tolerate small errors as long as the overall potential stays bounded.
  3. Simplified Analysis: Interestingly, by removing the randomized components (like random sampling and variance bounding), the author managed to reduce the length of the central path proof by roughly half compared to previous work.

Datasets

As a theoretical computer science paper, no empirical datasets or benchmarks were used. The results are established through rigorous asymptotic complexity proofs.

Key Insights and Ideas

  • Maintaining the Product, Not Just the Matrix: The "aha moment" is realizing that we don't need to sparsify the vector $v$ if we can update the product $Pv$ efficiently. By extending the Sherman-Morrison-Woodbury identity-based data structures, the author shows we can maintain this product for dense vectors in sub-quadratic time.
  • Faulty Gradients are Okay: The paper proves that approximate gradients only point in the "wrong" direction when the potential is already very small. When the potential is large (meaning we are far from the solution), the deterministic approximation is guaranteed to point in a helpful direction.
  • Derandomization as Simplification: Often, derandomization makes an algorithm more complex. Here, it actually simplifies the analysis by removing the need to track the variance of random variables.

Key Results

  • Complexity: The algorithm solves a linear program with $n$ variables and $d$ constraints in $O(n^\omega \log^2(n) \log(n/\delta))$ time, where $\delta$ is the relative accuracy.
  • Breaking the Barrier: It successfully breaks the 30-year-old $O(n^{2.5})$ deterministic barrier for the generic case where $d = \Omega(n)$.
  • Optimality: This is essentially optimal, as solving a linear program is at least as hard as solving a single linear system, which currently requires $O(n^\omega)$ time.

Limitations and Future Work

  • Constraint Ratio: The claimed optimality is most relevant when the number of constraints $d$ is proportional to the number of variables $n$. The author notes that for cases where $d \ll n$, there is still room for improvement.
  • The $\omega$ Dependency: The solver's performance is tied to the current best bound for matrix multiplication. If a significantly faster matrix multiplication algorithm is discovered (specifically if $\omega < 2 + 1/6$), the upper bound for this solver might need further refinement to remain "optimal."
  • Generalization: A natural next step is investigating whether these deterministic projection maintenance techniques can be applied to more complex problems, such as Semidefinite Programming (SDP).

Summary updated

BibTeX
@inproceedings{brand2020deterministic,
  author = {Jan van den Brand},
  title = {{A Deterministic Linear Program Solver in Current Matrix Multiplication Time}},
  booktitle = {SODA},
  year = {2020},
  doi = {10.1137/1.9781611975994.16},
}
Figure