Introduction: The Flexibility vs. Speed Trade-off
In the world of convex optimization, there is a persistent tension between flexibility and speed. General-purpose solvers (like those used by CVXPY) are incredibly flexible, allowing researchers to prototype complex models quickly. However, they typically work by transforming every problem into a restrictive "standard cone form." This conversion often destroys the underlying structure of the problem, leading to massive, slow-to-solve systems that struggle to scale.
Conversely, specialized solvers are lightning-fast because they exploit specific mathematical properties (such as proximal operators). The downside is that they are difficult to write and only work for one specific type of problem, like Lasso or Support Vector Machines (SVMs).
This paper introduces a novel approach to bridge this gap, aiming for a solver as flexible as a general-purpose modeling language but as fast as a specialized proximal algorithm. The authors achieve this by utilizing epigraph projections—projecting points directly onto the space "above" a function's graph—and implement this in a new solver called Epsilon.
Methods: From Cone Programming to Proximal Programming
The core innovation of Epsilon is shifting from traditional cone programming to proximal programming using epigraph projections. An epigraph projection for a function $f$ finds the closest point $(x, t)$ such that $f(x) \leq t$. While proximal operators are well-studied, epigraph projections for general functions were previously the missing piece for building a universal solver.
The authors make several key methodological contributions:
- A Transformation Theorem: They prove that any problem written in Disciplined Convex Programming (DCP) format can be decomposed into a series of proximal operators and epigraph projections.
- Fast Projection Algorithms: They developed new ways to compute these projections efficiently, including an Implicit Dual Newton Method, a linear-time Sum-of-Max solver for piecewise linear functions, and orthogonal matrix methods for handling matrix-valued functions via Singular Value Decomposition (SVD).
By avoiding the conversion to standard cone form, Epsilon keeps the problem representation compact. Standard solvers might turn a simple problem into one with thousands of slack variables, whereas Epsilon preserves the variables' original "physical" meaning. Furthermore, the authors show that the dual of an epigraph projection is a concave problem with only one variable ($\lambda$). This means that even without a closed-form solution, the problem can be solved extremely quickly using 1D search techniques like bisection or Newton's method.
Key Results and Performance
The authors evaluated Epsilon on several standard machine learning benchmarks, including Lasso, MNIST image classification, Sparse Inverse Covariance, Robust SVM, and Support Vector Data Description (SVDD). Epsilon acts as a general-purpose solver based on the Alternating Direction Method of Multipliers (ADMM) that leverages the new library of fast projections.
The quantitative speedups are substantial:
- Order of Magnitude Speedups: On problems like Lasso and MNIST, Epsilon was roughly 10x to 100x faster than ECOS (an interior-point solver) and significantly faster than SCS (a first-order cone solver).
- Superior Scaling: For high-dimensional scaling tests like the SVDD problem with 20,000 points, Epsilon finished in just 6.5 minutes. In contrast, SCS took 32 minutes, and ECOS failed to finish within an hour.
Across seven different types of complex optimization problems, Epsilon consistently reached lower objective values in less time than its competitors, proving that the high-level ease of CVXPY can finally benefit from the low-level speed of proximal splitting methods.
Limitations and Future Directions
While Epsilon offers dramatic speedups, it does have limitations. Unlike interior-point methods (such as ECOS), ADMM-based solvers like Epsilon do not provide "certificates" of suboptimality or infeasibility, making it harder to know exactly how close the solution is to the global optimum.
Additionally, the solver's speed relies heavily on its "atom library"—having a fast projection for every function used in the model. If a user introduces a new, exotic function without a specialized projection algorithm, the solver may fall back to slower methods. Future work will likely focus on improving stopping criteria and expanding the library of atoms to include more complex functions used in modern deep learning and robust statistics.
Summary updated