An Optimal-Storage Approach to Semidefinite Programming Using Approximate Complementarity

Lijun Ding, Alp Yurtsever, Volkan Cevher, Joel A. Tropp, Madeleine Udell

TL;DR

This paper introduces a novel, storage-optimal algorithm for solving Semidefinite Programs (SDPs), a powerful class of optimization problems. The core innovation is an "approximate complementarity principle" that leverages the structure of weakly constrained SDPs to drastically reduce computational memory requirements, making it feasible to tackle much larger problems than previously possible.

What Problem Does This Paper Address?

Semidefinite Programs (SDPs) are fundamental in many fields, from control theory to machine learning, due to their ability to model complex optimization problems. However, solving SDPs is notoriously challenging, primarily because the size of the variables grows quadratically with the problem dimension. This leads to prohibitive memory requirements for standard algorithms, especially for large-scale applications like recommender systems or image reconstruction, where the problem size can reach millions or billions. Existing methods often struggle to achieve "optimal storage," meaning they don't use a memory footprint comparable to simply storing the input data and the solution. This paper aims to bridge this gap by developing an algorithm that provably solves almost all regular SDPs with optimal storage.

Methods

The paper's key contribution is an approximate complementarity principle. The strategy involves three main steps:

  1. Approximate Dual Solution: First, an approximate solution to the dual SDP is computed using an efficient, storage-optimal method.
  2. Primal Compression: The crucial insight is that for weakly constrained SDPs (where the number of constraints is proportional to the problem dimension), the primal solution's range is often contained within a low-dimensional eigenspace of the dual slack matrix (C - Aᵀy). This allows for a significant compression of the primal problem.
  3. Compressed Primal Solution: The compressed primal SDP, now operating on a much smaller subspace, is solved using optimal storage.

This approach is formalized through two reduced SDP formulations: (MinFeasSDP) which minimizes infeasibility, and (MinObjSDP) which minimizes the objective subject to an infeasibility bound. The paper provides theoretical guarantees on the quality of the recovered primal solution in terms of suboptimality, infeasibility, and distance to the true solution.

Datasets

The paper evaluates its method on standard benchmark problems:

  • Max-Cut SDP: Using Laplacian matrices from the G1 dataset and other Gset instances.
  • Matrix Completion SDP: Using simulated random matrices with varying dimensions and observed entries.

The authors also compare their method against existing SDP solvers on these problem types.

Key Insights and Ideas

  • The Power of Low-Rank Structure: The core idea hinges on the observation that for many practical SDPs, the primal solution has a low-rank structure, meaning its range is confined to a low-dimensional subspace.
  • Dual Slack Matrix as a Guide: The dual slack matrix (C - Aᵀy) plays a pivotal role. Its eigenspace corresponding to small eigenvalues effectively "points" to the subspace where the primal solution resides, enabling compression.
  • Approximate Complementarity: The algorithm doesn't require an exact dual solution. An approximate dual solution is sufficient to identify the relevant subspace for primal recovery, making the method robust.
  • Storage Optimality is Achievable: The paper demonstrates that it's possible to solve a significant class of SDPs with memory usage proportional to the problem data size, rather than the quadratic size of the primal variable.

Key Results

  • The proposed algorithm achieves optimal storage, meaning its memory footprint is comparable to storing the problem data and the solution. This is a significant improvement over many existing methods.
  • The algorithm provably solves almost all regular SDPs under appropriate assumptions (strong duality, unique primal/dual solutions, strict complementarity).
  • Numerical experiments show that the method can solve large-scale problems (e.g., 10⁵ × 10⁵ matrices) that are inaccessible to mature SDP solvers like Mosek, SDPT3, and Sedumi due to memory limitations.
  • The recovered primal solutions achieve reasonable accuracy (e.g., 10⁻¹ infeasibility and 10⁻³ suboptimality) within practical time limits.
  • The quality of the primal recovery improves with a more accurate dual solution and a larger rank estimate for the primal solution's subspace.

Limitations and Future Work

  • Regularity Assumptions: The theoretical guarantees rely on specific regularity conditions (strong duality, unique solutions, strict complementarity). While these hold generically and in many applications, they might not hold for all SDPs.
  • Rank Estimation: Choosing the correct rank parameter r for the compression is crucial. While the Barvinok-Pataki bound provides a theoretical upper limit, practical selection can be challenging. The paper suggests choosing the largest r for which the compressed problem is solvable within computational limits.
  • Extension to Inequality Constraints: The current framework is primarily for SDPs in standard form with equality constraints. The authors suggest extending the approach to handle inequality constraints as future work.
  • Computational Cost of Primal Recovery: While storage is optimized, the primal recovery step can be more computationally intensive than a single dual iteration, influencing the overall efficiency.

Summary updated

BibTeX
@article{ding2021optimal,
  author = {Lijun Ding and Alp Yurtsever and Volkan Cevher and Joel A. Tropp and Madeleine Udell},
  title = {{An Optimal-Storage Approach to Semidefinite Programming Using Approximate Complementarity}},
  journal = {SIAM J. Optim.},
  year = {2021},
  doi = {10.1137/19m1244603},
}
Figure