A Primal-Dual Framework for Symmetric Cone Programming

Jiaqi Zheng, Antonios Varvitsiotis, Tiow-Seng Tan, Wayne Lin · DOI

This paper, recently published on arXiv, introduces a powerful new way to solve a broad class of optimization problems known as Symmetric Cone Programming (SCP). By extending the classic Multiplicative Weights Update (MWU) method to symmetric cones, the authors provide a framework that is not only theoretically fast but also tailor-made for the massive parallelism of modern GPUs.

TL;DR

The authors present a primal-dual algorithmic framework for Symmetric Cone Programming that achieves nearly linear time complexity and high parallelizability. By applying this to large-scale geometric problems like the Smallest Enclosing Sphere and Support Vector Machines, they demonstrate significant speedups over industry-standard commercial solvers like Gurobi and Cplex.

What Problem Does This Paper Address?

Optimization is the backbone of modern engineering, from training machine learning models to designing physical structures. Most of these problems fall into three buckets: Linear Programming (LP), Second-Order Cone Programming (SOCP), and Semidefinite Programming (SDP). Symmetric Cone Programming (SCP) is the "grand unifier" that encompasses all three.

While we have robust tools to solve these (like Interior Point Methods or IPMs), they struggle with scale. IPMs require solving massive systems of linear equations at every iteration, which is computationally expensive and notoriously difficult to parallelize. As datasets grow into the millions of points, these traditional solvers hit a "performance wall." The challenge is to find an algorithm that is "nearly linear"—meaning its runtime grows proportionally to the input size—and can run efficiently on a GPU.

Methods

The researchers built their framework on two main pillars:

  1. Symmetric Cone Multiplicative Weights Update (SCMWU): They adapted the MWU—a "meta-algorithm" often used in game theory and online learning—to work over symmetric cones. Instead of solving a complex global problem, the algorithm iteratively updates a "weight" vector (or matrix) based on how well current constraints are satisfied.
  2. Primal-Dual Meta-Algorithm: Unlike "primal-only" methods that just look for a feasible solution, this framework maintains both a primal and a dual solution. This allows the algorithm to provide a "certificate" of how close it is to the true optimal value (the optimality gap).

The core idea is to reduce a hard optimization problem into a series of simpler "feasibility tests." If a candidate solution isn't good enough, an Oracle provides a "separating hyperplane" that tells the algorithm how to adjust its weights for the next round.

Datasets

The authors evaluated their framework using large-scale synthetic datasets designed to stress-test the solvers:

  • Smallest Enclosing Sphere (SES): Randomly generated point sets in $d$-dimensional space, with sizes ranging from $2^{10}$ to $2^{20}$ points.
  • Support Vector Machines (SVM): Randomly generated separable point sets. They introduced an instance-specific parameter $E$ (measuring the "difficulty" or eccentricity of the data) to see how the algorithm handles different data geometries.

The scale is notable: they tested up to 1 million points in 64 dimensions, a range where traditional solvers often struggle or run out of memory.

Key Insights and Ideas

  • The Power of Symmetry: By treating LPs, SOCPs, and SDPs as instances of the same underlying algebraic structure (Euclidean Jordan Algebras), the authors could write one meta-algorithm that handles them all.
  • Geometric Separation as Optimization: The paper reframes the act of optimization as a game of "hide and seek" between the algorithm and an Oracle, where the Oracle's job is to find a hyperplane that separates the current guess from the feasible region.
  • GPU-Friendly by Design: Traditional solvers are "heavy" at each step (matrix inversion). The MWU approach is "light" at each step (mostly matrix-vector products and exponentials), making it much easier to distribute across thousands of GPU cores.

Key Results

The authors implemented their algorithm in a tool called PDSCP (Primal-Dual Symmetric Cone Programmer) and compared it against Gurobi, Cplex, and the CGAL library.

  • Speed: On an NVIDIA RTX 2080Ti GPU, PDSCP was significantly faster than multi-threaded commercial solvers for large datasets. For the SVM problem with $2^{20}$ points, PDSCP was roughly 5 times faster than the best competitive solver.
  • Scalability: While commercial solvers showed super-quadratic growth in runtime as dimensionality ($d$) increased, PDSCP’s runtime grew much more slowly, maintaining nearly linear scaling.
  • Parallel Speedup: The GPU version (PDSCP) achieved speedups of over an order of magnitude compared to its own single-threaded CPU version (PDSCP-ST), proving the framework's high "parallel depth."

Limitations and Future Work

  • Width-Dependence: The number of iterations required depends on the "width" of the problem (how much a constraint can be violated). While they bounded this for SES and SVM, other problems might have a larger width, leading to slower convergence.
  • Hard-Margin Focus: The current SVM application focuses on the "separable" (hard-margin) case. Extending this to "soft-margin" SVMs (which handle noisy, overlapping data) is a logical next step.
  • Width-Independent Algorithms: The authors suggest that developing "width-independent" versions of these algorithms—which would converge in a fixed number of iterations regardless of the data's scale—is a promising area for future research.

Reference: Zheng, J., Varvitsiotis, A., Tan, T.-S., & Lin, W. (2024). A Primal-Dual Framework for Symmetric Cone Programming. arXiv:2405.09157v1 [math.OC].

Summary updated

BibTeX
@misc{zheng2024primal,
  author = {Jiaqi Zheng and Antonios Varvitsiotis and Tiow-Seng Tan and Wayne Lin},
  title = {{A Primal-Dual Framework for Symmetric Cone Programming}},
  year = {2024},
  eprint = {2405.09157},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.09157},
}
Figure