Solving Tall Dense Linear Programs in Nearly Linear Time

Jan van den Brand, Yin Tat Lee, Aaron Sidford, Zhao Song

Abstract

Linear Programming (LP) is a cornerstone of modern optimization, yet solving "tall" instances—where the number of constraints ($n$) significantly exceeds the number of variables ($d$)—has historically been a computational bottleneck. This paper presents a randomized algorithm that solves tall, dense linear programs in $\tilde{O}(nd + d^3)$ time. By combining a robust Primal-Dual Interior Point Method (IPM) with advanced sketching data structures, the authors achieve a nearly linear running time relative to the input size without relying on the theoretical complexities of Fast Matrix Multiplication (FMM). This work bridges the gap between theoretical efficiency and practical implementability for high-dimensional optimization.

Introduction

Linear Programming is essential across diverse fields, including logistics, finance, and machine learning. Despite its maturity, the efficiency of solving LPs is often limited by the dimensions of the constraint matrix $A \in \mathbb{R}^{n \times d}$. In many real-world applications, $n \gg d$, leading to "tall" matrices. Standard Interior Point Methods (IPMs) typically require solving a linear system at each iteration, often resulting in complexities like $O(d^\omega)$ or $O(nd^{\omega-1})$, where $\omega \approx 2.37$ is the matrix multiplication constant.

While recent breakthroughs have utilized Fast Matrix Multiplication to push these theoretical limits, such algorithms are often impractical due to high constant factors. This paper addresses the challenge of solving tall, dense LPs in time that scales linearly with $n$, providing a solution that is nearly optimal for dense matrices where simply reading the input takes $O(nd)$ time.

Methodology

The core of the proposed algorithm is a robust variant of the Primal-Dual IPM, which converges in $O(\sqrt{d})$ iterations. To avoid the prohibitive cost of recomputing the entire linear system at every step, the authors utilize three primary data structures:

1. Robust Primal-Dual IPM

The algorithm maintains the central path toward the optimal solution but allows for multiplicative approximations of the variables and the matrix inverse. This robustness is critical because it permits the use of randomized sketches that do not provide exact values but are significantly faster to compute.

2. Heavy-Hitters Sketching

Drawing from data streaming literature, the authors use "heavy-hitters" sketches to monitor changes in the constraints. Because the central path in an IPM moves relatively slowly, most constraints do not change their influence significantly between iterations. The heavy-hitters sketch allows the algorithm to identify and update only the few coordinates that undergo substantial changes, bypassing the need to scan all $n$ constraints in every iteration.

3. Leverage Score Maintenance

The algorithm employs the Johnson-Lindenstrauss (JL) lemma to maintain regularized leverage scores—a statistical measure of each constraint's importance. By sketching these scores, the algorithm focuses its computational effort on the most "important" parts of the matrix. This approach is notably simpler than the $p$-Lewis weights used in previous literature, streamlining both the analysis and potential implementation.

4. Inverse Maintenance

To handle the Hessian matrix, the authors adapt techniques for maintaining an approximate inverse. Combined with the sketching methods, this allows the inverse to be updated in $O(d^2)$ or $O(d^\omega)$ time per step, rather than the $O(nd)$ time required for a full recomputation.

Key Insights: Overcoming Randomness Leakage

A significant hurdle in applying randomized sketches to optimization is the adaptive nature of IPMs. Since each step depends on the output of the previous one, there is a risk that the algorithm "learns" the randomness of the sketch, which would invalidate its statistical guarantees. The authors resolve this by implementing a "short-list and filter" approach. This mechanism ensures that the output remains sufficiently deterministic to satisfy the IPM's convergence requirements while still benefiting from the speed of randomization.

Results and Complexity

The resulting algorithm achieves a total complexity of $\tilde{O}(nd + d^3)$.

  • Optimality for Tall Matrices: In the case of dense matrices where $n \approx d^2$, the $nd$ term dominates, making the algorithm nearly linear in the size of the input.
  • FMM-Free Efficiency: By matching the best-known running times for dense matrix regression without Fast Matrix Multiplication, the algorithm is better suited for practical software environments where FMM is rarely used.

Limitations and Future Directions

While the algorithm represents a major step forward, two primary areas for improvement remain:

  1. The $d^3$ Term: As $d$ grows, the $d^3$ term eventually becomes a bottleneck. Future research may aim to reduce this to $d^{2.5}$ or $d^\omega$.
  2. Sparsity: The current framework is optimized for dense matrices. Extending these techniques to achieve $O(nnz(A))$ time—where $nnz(A)$ is the number of non-zero entries—would make the algorithm optimal for sparse tall matrices as well.

Conclusion

By integrating robust optimization methods with sketching techniques from the data streaming domain, this work provides a highly efficient framework for solving tall, dense linear programs. It demonstrates that nearly linear time is achievable for one of the most fundamental problems in optimization, offering a path toward handling massive datasets that were previously computationally out of reach.

Summary updated

BibTeX
@inproceedings{brand2020solving,
  author = {Jan van den Brand and Yin Tat Lee and Aaron Sidford and Zhao Song},
  title = {{Solving Tall Dense Linear Programs in Nearly Linear Time}},
  booktitle = {STOC},
  year = {2020},
  doi = {10.1145/3357713.3384309},
}
Figure