SOC-ICNN: From Polyhedral to Conic Geometry for Learning Convex Surrogate Functions

Kang Liu, Jianchen Hu, Wei PengNeurIPS 2026

TL;DR

Standard ReLU-based Input Convex Neural Networks (ICNNs) guarantee convex outputs, making them fantastic surrogates for global optimization—except they are forced to approximate smooth curves using millions of flat, origami-like facets. This paper introduces SOC-ICNN, an architecture that injects explicit quadratic bowls and Euclidean cones alongside the standard ReLU backbone. The result is a fast, feed-forward network that effortlessly captures smooth curvature while maintaining an exact mathematical equivalence to Second-Order Cone Programming (SOCP).

What Problem Does This Paper Address?

In fields like power grid management, optimal control, and optimal transport, we often want to learn a neural surrogate function from data and then find its global minimum. Generic neural networks create bumpy, non-convex landscapes full of local minima traps. Input Convex Neural Networks (ICNNs) solve this by constraining weights (keeping hidden-to-hidden weights non-negative) so the network's output is strictly convex with respect to its inputs.

However, standard ReLU-ICNNs have a hidden geometric flaw. Mathematically, a finite ReLU-ICNN is identical to the optimal value of a Linear Program (LP). Because of this, its output is strictly a continuous piecewise-linear (CPWL) polyhedron—a faceted surface made entirely of flat planes. Trying to approximate a smooth, strongly convex bowl in high dimensions using flat tiles triggers a nasty curse of dimensionality: the required number of linear pieces explodes exponentially with dimension ($N = \Omega(\varepsilon^{-d_0/2})$). Prior attempts swapped ReLU for smoother activations like Softplus, which helps empirically, but shatters the clean optimization-problem equivalence that makes ReLU-ICNNs so transparent and embeddable in downstream solvers.

Methods

Instead of tweaking activation functions or embedding slow numerical solvers inside the network layers, the authors upgrade the underlying geometry of the feed-forward architecture itself—moving from Linear Programming (polyhedra) to Second-Order Cone Programming (cones and quadratics).

Figure 1: Unified SOC-ICNN architecture. The input x is processed by three parallel branches. The quadratic branch applies an affine map followed by a squared ℓ2 primitive and nonnegative scaling, the ReLU-ICNN backbone captures polyhedral piecewise-linear structure under standard ICNN convexity constraints, and the conic branch applies an affine map followed by an ℓ2-norm primitive and nonnegative scaling. Summing the three branch outputs yields the final convex surrogate fSOC(x), which admits an exact SOCP value-function interpretation.

As shown in Figure 1, SOC-ICNN routes the input $x$ through three parallel computational branches before summing them together:

  • The ReLU-ICNN Backbone (Standard): Uses standard non-negative weight constraints and ReLU activations to capture piecewise-linear, polyhedral structure.
  • The Quadratic Branch (New): Applies a learnable affine transformation, computes the squared $\ell_2$-norm ($\frac{\alpha}{2}\|Bx + e\|_2^2$), and scales it non-negatively. This directly injects smooth, positive semi-definite (PSD) bowl-shaped curvature.
  • The Conic Branch (New): Applies an affine map followed by an un-squared Euclidean $\ell_2$-norm ($\lambda\|Ax + d\|_2$), capturing sharp, ice-cream-cone-like geometries.

Because nonnegative combinations of convex functions remain convex, global convexity is guaranteed. Crucially, the authors prove that the quadratic and norm branches map cleanly onto rotated and standard second-order cones. Thus, a single, solver-free forward pass of SOC-ICNN computes the exact optimal value of a finite-dimensional SOCP, without increasing the asymptotic computational complexity of the ReLU backbone.

Datasets

The authors evaluate SOC-ICNN primarily on synthetic mathematical benchmarks, alongside adapted public-data tasks:

  • Synthetic Approximation Benchmark: 10 convex target functions (spanning quadratic, norm, log-sum-exp, Softplus-sum, Huber, $\ell_1$, hybrid, and composite structures) tested across dimensions $d \in \{5, 10, 20, 50\}$.
  • Parametric Optimization Suite: 6 downstream decision-making tasks (from SOCP, logistic, log-sum-exp, and Huber families) optimized over simplex, box, and capped-simplex constraints.
  • Optimal Transport (OT) Benchmark: An adaptation of the standard 2D Gaussian-to-eight-Gaussians generative transport benchmark.
  • Complementary Regression Tasks: Public-data group-regularized logistic regression and robust convex regression (detailed in the appendices).

Key Insights and Ideas

  • Structural Absorption: When learning a complex convex function, a standard ReLU-ICNN wastes its parameter budget proliferating flat regions just to fake basic curvature. In SOC-ICNN, the quadratic and conic branches "absorb" the dominant global curvature and norm geometry exactly, freeing up the ReLU backbone to spend its affine pieces modeling only the subtle local residuals.
  • Better Global Fit $\neq$ Better Decisions: One of the most honest and fascinating takeaways comes from downstream optimization. Having a much lower average pointwise approximation error across a domain does not automatically guarantee lower decision regret when you actually minimize the surrogate. Accuracy specifically near the true minimizer—and matching the specific geometry of the task—matters far more than global average fit.
  • Fast Forward, Exact Lift: Unlike differentiable optimization layers that must run an iterative solver during inference, SOC-ICNN evaluates at standard neural network speeds, yet can still be algebraically unpacked into an exact SOCP if you want to embed the trained surrogate inside a larger constrained optimization solver later.

Key Results

  • Exactness & Speed: Across 150 random 100-dimensional trials, the closed-form forward pass matched an external CVXPY SOCP solver to within $5.57 \times 10^{-7}$ (with primal-dual gaps around $10^{-14}$), while running roughly 4x faster (6.22 ms vs. 24.80 ms).
  • Function Approximation: At $d=50$ under controlled parameter budgets (~9,500 parameters), SOC-ICNN won on 10 out of 10 target functions, slashing mean relative error to 0.099 compared to 0.772 for ReLU-ICNN and 0.763 for Softplus-ICNN.
  • Downstream Regret: On $d=10$ parametric optimization tasks, the quadratic-only ablation (Quad-ICNN) was the strongest neural surrogate (mean regret 0.179 vs. 0.234 for ReLU-ICNN), while full SOC-ICNN scored 0.197 (a solver-compatible baseline, PCF, led overall at 0.139).
  • Optimal Transport: On the eight-mode Gaussian OT task, SOC-ICNN achieved the lowest distribution discrepancy, cutting Sliced-$W_2$ distance by ~42% compared to ReLU-ICNN (0.363 vs. 0.627).

Limitations and Future Work

  • Convexity Only: By design, SOC-ICNN cannot model negative curvature; on non-convex targets, a standard unconstrained MLP easily outperforms it. Furthermore, it does not represent all possible SOCP value functions, nor is the network's training problem convex in its weights.
  • Task-Dependent Conic Gains: While quadratic branches are broadly helpful, Euclidean norm atoms cannot be algebraically merged like quadratics can. How you group and allocate the conic branch requires domain knowledge or hyperparameter tuning, and if the underlying problem lacks norm-like geometry, Quad-ICNN is a simpler, stronger choice.
  • Theoretical & Empirical Scope: The theoretical residual-approximation bound relies on the assumption that subtracting the structured conic/quadratic part leaves behind a smooth, still-convex residual. Empirically, the small three-seed runs on optimal transport show notable variance, and direct parallel branches do not cure vanishing gradients inside very deep ReLU backbones. Future users should also note that if a system's analytical convex objective is already known, optimizing it directly is still preferable to training a surrogate.

Summary updated

BibTeX
@inproceedings{liu2026soc,
  author = {Kang Liu and Jianchen Hu and Wei Peng},
  title = {{SOC-ICNN: From Polyhedral to Conic Geometry for Learning Convex Surrogate Functions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=f1AOGYk9aS},
}
Figure