Skip to main content
QUICK REVIEW

[Paper Review] On the Differentiability of the Solution to Convex Optimization Problems

Shane Barratt|arXiv (Cornell University)|Apr 13, 2018
Optimization and Variational AnalysisComputer Science3 references40 citations
TL;DR

The paper derives conditions under which derivatives of the convex optimization solution with respect to problem data exist, using the implicit function theorem on the KKT system. It also shows how to compute the Jacobian efficiently by reusing the KKT matrix factorization.

ABSTRACT

In this paper, we provide conditions under which one can take derivatives of the solution to convex optimization problems with respect to problem data. These conditions are (roughly) that Slater's condition holds, the functions involved are twice differentiable, and that a certain Jacobian matrix is non-singular. The derivation involves applying the implicit function theorem to the necessary and sufficient KKT system for optimality.

Motivation & Objective

  • Motivate studying sensitivity of convex optimization solutions to changing problem data.
  • Provide conditions under which the solution mapping is differentiable with respect to problem data.
  • Derive a formula for the Jacobian of the solution (and dual variables) with respect to problem parameters.

Proposed method

  • Formulate the parametrized convex problem with primal variables, inequality, and equality constraints.
  • Apply KKT conditions as a necessary and sufficient optimality framework for the parametrized problem.
  • Construct a g function that encapsulates the KKT conditions and apply the implicit function theorem to g to obtain the Jacobian.
  • Define and compute the block Jacobians D_x g, D_theta g, and D_theta g for the KKT system.
  • Show that the Jacobian of the solution mapping can be expressed as -D_z g^{-1} D_theta g.
  • Discuss computational efficiency by reusing the KKT matrix factorization typical of interior-point methods.

Experimental results

Research questions

  • RQ1Under what conditions is the solution to a parametrized convex optimization problem differentiable with respect to the data theta?
  • RQ2How can one compute the Jacobian of the solution (and dual variables) with respect to theta using the KKT system?
  • RQ3Can the Jacobian computation leverage existing factorization work from interior-point methods to be efficient?
  • RQ4How do the results relate to differentiating quadratic programs and prior work on differentiable optimization layers?

Key findings

  • If Slater’s condition and appropriate differentiability assumptions hold and the Jacobian D_x g is non-singular, the solution mapping is differentiable with respect to theta.
  • The Jacobian of the solution mapping is given by D_theta s(theta) = - D_z g(z, theta)^{-1} D_theta g(z, theta) where z collects (x, lambda, nu).
  • The framework generalizes derivative results for quadratic programs to general convex problems.
  • The Jacobian can be computed using the same factorization used by primal-dual interior-point methods, enabling efficient reuse.
  • The approach aligns with and extends the Amos and Kolter results by providing a general convex-optimization setting and explicit Jacobian formula.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.