cs.LGSep 27, 2026

dOPT: Differentiating Conic Optimization via Geometric Reduction

Authors: Fengyu Yang, Connor W. Magoon, Tyler Watts, Shahar Z. Kovalsky

Organizations: Department of Mathematics University of North Carolina at Chapel Hill

Abstract

Optimization layers enable the incorporation of structured constraints and decision problems into learning systems. Training such systems requires differentiating through the embedded optimization problem, which can be challenging for general conic programs. We introduce dOPT, a solver-agnostic framework that, rather than differentiating the full conic formulation, reduces it at a computed primal-dual solution to an equality-constrained quadratic program that preserves the reference solution and its first-order sensitivity. The reduction captures the local first- and second-order conic geometry relevant to differentiation and remains well defined at singular configurations. Computing solution derivatives then requires a single symmetric linear solve, independently of the forward solver. We derive explicit reductions for convex NLPs, QPs, SOCPs, and SDPs. Numerical experiments validate the computed gradients and show favorable backward-pass scalability, with substantial speedups over existing differentiable conic optimization methods as problem size increases.

Explore similar work

CardsList
  1. lapanda: A Matrix-Free Differentiable Solver for Nonconvex Constrained Optimization Layers

    Sep 27, 2026Yuankun Chen, Zifei Nie, Kangyu Lin +2Differentiable OptimizationConvex Optimization

  2. Scalable Deep Unfolding of Conic Optimizers

    Jun 11, 2026Alex Oshin, Rahul Vodeb Ghosh, Evangelos A. TheodorouDeep Unfolding NetworksConvex Relaxation

  3. Learning to Optimize by Differentiable Programming

    Jan 23, 2026Liping Tao, Xindi Tong, Chee Wei TanDifferentiable OptimizationPrimal-Dual Methods