∇-Prox: Differentiable Proximal Algorithm Modeling for Large-Scale Optimization
Zeqiang Lai, Kaixuan Wei, Ying Fu, Philipp Härtel, Felix Heide
Abstract
Tasks across diverse application domains can be posed as large-scale optimization problems, these include graphics, vision, machine learning, imaging, health, scheduling, planning, and energy system forecasting. Independently of the application domain, proximal algorithms have emerged as a formal optimization method that successfully solves a wide array of existing problems, often exploiting problem-specific structures in the optimization. Although model-based formal optimization provides a principled approach to problem modeling with convergence guarantees, at first glance, this seems to be at odds with black-box deep learning methods. A recent line of work shows that, when combined with learning-based ingredients, model-based optimization methods are effective, interpretable, and allow for generalization to a wide spectrum of applications with little or no extra training data. However, experimenting with such hybrid approaches for different tasks by hand requires domain expertise in both proximal optimization and deep learning, which is often error-prone and time-consuming. Moreover, naively unrolling these iterative methods produces lengthy compute graphs, which when differentiated via autograd techniques results in exploding memory consumption, making batch-based training challenging. In this work, we introduce ∇-Prox, a domain-specific modeling language and compiler for large-scale optimization problems using differentiable proximal algorithms. ∇-Prox allows users to specify optimization objective functions of unknowns concisely at a high level, and intelligently compiles the problem into compute and memory-efficient differentiable solvers. One of the core features of ∇-Prox is its full differentiability, which supports hybrid model- and learning-based solvers integrating proximal optimization with neural network pipelines. Example applications of this methodology include learning-based priors and/or sample-dependent inner-loop optimization schedulers, learned with deep equilibrium learning or deep reinforcement learning. With a few lines of code, we show ∇-Prox can generate performant solvers for a range of image optimization problems, including end-to-end computational optics, image deraining, and compressive magnetic resonance imaging. We also demonstrate ∇-Prox can be used in a completely orthogonal application domain of energy system planning, an essential task in the energy crisis and the clean energy transition, where it outperforms state-of-the-art CVXPY and commercial Gurobi solvers.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1e1c0709-01dc-47a6-afe6-9424e2b26a07Cited by top-tier papers5
- Hybrid Spectral Denoising Transformer with Guided AttentionZeqiang Lai, Chenggang Yan, Ying FuICCV 2023 · 35 citations
- Diffusion Posterior Proximal Sampling for Image RestorationHongjie Wu, Linchao He, Mingqin Zhang, Dongdong Chen et al.ACM MM 2024 · 9 citations
- DIFFRACT: Neuralized Utility Maximization for Wireless Networks by Differentiable ProgrammingChee Wei Tan, Siya ChenINFOCOM 2026 · 1 citation
- Differentiable Approximations for Distance QueriesAhmed Abdelkader, David M. MountSODA 2025
- Iskra: A System for Inverse Geometry ProcessingAna Dodik, Ahmed H. Mahmoud, Justin SolomonSIGGRAPH 2026
Builds on16
- Restormer: Efficient Transformer for High-Resolution Image RestorationSyed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat et al.CVPR 2022 · 3,348 citations
- Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
- DiffTaichi: Differentiable Programming for Physical SimulationYuanming Hu, Luke Anderson, Tzu-Mao Li, Qi Sun et al.ICLR 2020 · 479 citations
- Efficient and Modular Implicit DifferentiationMathieu Blondel, Quentin Berthet, Marco Cuturi, Roy Frostig et al.NeurIPS 2022 · 386 citations
- Deep Generalized Unfolding Networks for Image RestorationChong Mou, Qian Wang, Jian ZhangCVPR 2022 · 257 citations
Related papers
- Learning to Solve Differential Equation Constrained Optimization ProblemsVincenzo Di Vito Francesco, Mostafa Mohammadian, Kyri Baker, Ferdinando FiorettoICLR 2025
- Parametric Majorization for Data-Driven Energy Minimization MethodsJonas Geiping, Michael MoellerICCV 2019 · 5 citations
- Tuning-free Plug-and-Play Proximal Algorithm for Inverse Imaging ProblemsKaixuan Wei, Angelica I. Avilés-Rivero, Jingwei Liang, Ying Fu et al.ICML 2020 · 114 citations
- LPGD: A General Framework for Backpropagation through Embedded Optimization LayersAnselm Paulus, Georg Martius, Vít MusilICML 2024 · 5 citations
- OTPNet: ODE-inspired Tuning-free Proximal Network for Remote Sensing Image FusionWei Yu, Zonglin Li, Qinglin Liu, Xin SunAAAI 2025 · 1 citation
