Deep Legendre Transform
Aleksey Minabutdinov, Patrick Cheridito
TL;DR
The paper introduces Deep Legendre Transform (DLT), a neural-network framework for approximating convex conjugates via an implicit Fenchel formulation, scalable to high dimensions and accompanied by a posteriori error estimates. By learning a function gθ on the gradient image D = ∇f(C) to satisfy f*(∇f(x)) = ⟨x, ∇f(x)⟩ − f(x), it enables high-dimensional computation of f* without requiring closed-form duals. The approach supports various NN architectures (ICNNs, ResNets, MLPs, KANs), enables error certification, and includes sampling strategies in gradient space to control distributional coverage; it also extends to time-dependent Hamilton–Jacobi problems (Time-DLT) and symbolic regression of conjugates (KANs). Empirical results show near-parity with direct dual-learning when f* is known, improved performance over grid methods in high dimensions, and exact symbolic recovery in select cases, highlighting practical impact for optimization, control, and PDE applications. Limitations include the need for differentiable convex f and confinement to D = ∇f(C); future work targets non-differentiable cases and broader domain coverage.
Abstract
We introduce a novel deep learning algorithm for computing convex conjugates of differentiable convex functions, a fundamental operation in convex analysis with various applications in different fields such as optimization, control theory, physics and economics. While traditional numerical methods suffer from the curse of dimensionality and become computationally intractable in high dimensions, more recent neural network-based approaches scale better, but have mostly been studied with the aim of solving optimal transport problems and require the solution of complicated optimization or max-min problems. Using an implicit Fenchel formulation of convex conjugation, our approach facilitates an efficient gradient-based framework for the minimization of approximation errors and, as a byproduct, also provides a posteriori error estimates for the approximation quality. Numerical experiments demonstrate our method's ability to deliver accurate results across different high-dimensional examples. Moreover, by employing symbolic regression with Kolmogorov--Arnold networks, it is able to obtain the exact convex conjugates of specific convex functions.
