Flexible Differentiable Optimization via Model Transformations
Mathieu Besan\c{c}on, Joaquim Dias Garcia, Beno\^it Legat and, Akshay Sharma

TL;DR
DiffOpt.jl is a Julia library that enables differentiation through optimization problem solutions, allowing for advanced applications like hyperparameter tuning and sensitivity analysis within differentiable programming.
Contribution
It introduces a flexible method for differentiating through various optimization models by leveraging model transformations, extending beyond standard quadratic and conic forms.
Findings
Supports both forward and reverse differentiation modes.
Enables differentiation with respect to complex models including mixed constraints.
Integrates seamlessly with Julia's modeling ecosystem.
Abstract
We introduce DiffOpt.jl, a Julia library to differentiate through the solution of optimization problems with respect to arbitrary parameters present in the objective and/or constraints. The library builds upon MathOptInterface, thus leveraging the rich ecosystem of solvers and composing well with modeling languages like JuMP. DiffOpt offers both forward and reverse differentiation modes, enabling multiple use cases from hyperparameter optimization to backpropagation and sensitivity analysis, bridging constrained optimization with end-to-end differentiable programming. DiffOpt is built on two known rules for differentiating quadratic programming and conic programming standard forms. However, thanks ability to differentiate through model transformation, the user is not limited to these forms and can differentiate with respect to the parameters of any model that can be reformulated into…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques · Reservoir Engineering and Simulation Methods
