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

Convex Optimization with Abstract Linear Operators

Steven Diamond, Stephen P. Boyd

Introduction: The Scalability Wall

Convex optimization has become a fundamental tool in signal processing, imaging, and machine learning. High-level modeling frameworks like CVXPY and CVX have democratized these techniques, allowing researchers to specify complex problems in natural, human-readable code. However, these systems often encounter a "scalability wall" when applied to massive datasets.

Traditionally, modeling systems transform high-level descriptions into standard "cone programs" represented by large, explicit sparse matrices. For problems involving millions of variables—common in high-resolution imaging—these matrices become too large to store in memory. Furthermore, standard interior-point solvers typically scale at $O(n^3)$, making them prohibitively slow for large-scale applications. While custom solvers can bypass these issues for specific problems (like LASSO), they lack the flexibility and ease of use provided by general modeling frameworks.

Methods: Matrix-free Canonicalization

This paper proposes a middle ground called Matrix-free Canonicalization. The core idea is to treat linear functions as abstract operators rather than explicit matrices. This is achieved through two primary mechanisms:

  1. Forward-Adjoint Oracles (FAOs): Instead of representing a linear function $f(x)$ as a matrix $A$, it is represented as a pair of algorithms: one to compute the function $f(x)$ and another to compute its adjoint $f^*(y)$. This allows the system to utilize fast transforms, such as the Fast Fourier Transform (FFT) for convolution, which requires only $O(n \log n)$ time and $O(n)$ memory.
  2. FAO Directed Acyclic Graphs (DAGs): Complex linear expressions are represented as DAGs of these oracles. By maintaining this structure, the system can evaluate expressions and their adjoints efficiently without ever flattening them into a concrete matrix.
Forward-Adjoint Oracle (FAO) DAG representation of a linear expression.

The authors modified the "Disciplined Convex Programming" (DCP) transformation process to preserve these abstract operators. The resulting cone program contains a data matrix $A$ that exists only as an abstract operator, which is then passed to modified first-order solvers like SCS and POGS that are designed to work with matrix-vector multiplications ($Ax$ and $A^Ty$) rather than explicit matrix entries.

Empirical Evaluation: Scaling to Millions

The framework was evaluated using a Nonnegative Deconvolution problem, where the goal is to recover a sparse signal $x$ from a blurred, noisy observation $b$. The authors tested problem sizes ranging from $n=10^2$ to $n=10^7$ variables using a Gaussian blur kernel.

Scaling of solve time $T$ versus problem size $n$ for different solvers.

The results demonstrate a significant performance gap between traditional and matrix-free approaches. As shown in the scaling plot, the standard interior-point solver (ECOS) scaled at approximately $O(n^{3.1})$, becoming impractical beyond $n > 10^4$. In contrast, the matrix-free SCS solver scaled at $O(n \log n)$, and the GPU-accelerated POGS solver scaled at $O(n^{1.1})$. Remarkably, the system successfully solved problems with $10^7$ variables on a single machine, a task that would be impossible for traditional modeling systems due to memory constraints.

Key Insights and Limitations

The primary contribution of this work is bridging the gap between high-level modeling and high-performance computation. By preserving the mathematical structure of the problem (like convolution or symmetry) throughout the transformation process, the system maintains the efficiency of fast transforms. This allows users to write concise Python code while achieving the performance of custom-coded, matrix-free solvers.

However, there are trade-offs. First-order methods like SCS and POGS generally provide lower numerical precision than interior-point methods. Additionally, for small problems ($n < 10^3$), the overhead of the abstract operator framework and GPU kernel management can make this approach slower than traditional methods. Future work includes optimizing the evaluation of FAO DAGs and expanding the library of supported abstract operators to further generalize the framework.

Summary updated

BibTeX
@inproceedings{diamond2015convex,
  author = {Steven Diamond and Stephen P. Boyd},
  title = {{Convex Optimization with Abstract Linear Operators}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  doi = {10.1109/iccv.2015.84},
}
Figure