paper-with-me

Papers

Differentiable Convex Optimization Layers

2019-10-28 · NeurIPS 2019 12 · Akshay Agrawal, Brandon Amos, Shane Barratt, Stephen Boyd, Steven Diamond, Zico Kolter

Recent work has shown how to embed differentiable optimization problems (that is, problems whose solutions can be backpropagated through) as layers within deep learning architectures. This method provides a useful inductive bias for certain problems, but existing software for differentiable optimization layers is rigid and difficult to apply to new settings. In this paper, we propose an approach to differentiating through disciplined convex programs, a subclass of convex optimization problems used by domain-specific languages (DSLs) for convex optimization. We introduce disciplined parametrized programming, a subset of disciplined convex programming, and we show that every disciplined parametrized program can be represented as the composition of an affine map from parameters to problem data, a solver, and an affine map from the solver's solution to a solution of the original problem (a new form we refer to as affine-solver-affine form). We then demonstrate how to efficiently differentiate through each of these components, allowing for end-to-end analytical differentiation through the entire convex program. We implement our methodology in version 1.1 of CVXPY, a popular Python-embedded DSL for convex optimization, and additionally implement differentiable layers for disciplined convex programs in PyTorch and TensorFlow 2.0. Our implementation significantly lowers the barrier to using convex optimization problems in differentiable programs. We present applications in linear machine learning models and in stochastic control, and we show that our layer is competitive (in execution time) compared to specialized differentiable solvers from past work.

📄 PDF Abstract BibTeX arXiv:1910.12430

Code (1)

cvxgrp/cvxpylayers 공식 구현 pytorch

Tasks

Inductive Bias

Similar Papers 제목 키워드 기반

DisjunctiveNet: Neural Symbolic Learning via Differentiable Convexified Optimization Layers

2026-05-28 · Shraman Pal, Can Li arxiv

Many learning tasks in science and engineering are characterized by sparse datasets, which limits the effectiveness of purely data-driven approaches. At the same time, these problems are often accompanied by rich domain …

BPQP: A Differentiable Convex Optimization Framework for Efficient End-to-End Learning

2024-11-28 · Jianming Pan, Zeqi Ye, Xiao Yang, Xu Yang 외

Data-driven decision-making processes increasingly utilize end-to-end learnable deep neural networks to render final decisions. Sometimes, the output of the forward functions in certain layers is determined by the soluti…

Convex Optimization with an Interpolation-based Projection and its Application to Deep Learning

2020-11-13 · Riad Akrour, Asma Atamna, Jan Peters

Convex optimizers have known many applications as differentiable layers within deep neural architectures. One application of these convex layers is to project points into a convex set. However, both forward and backward …

Differentiable Robust LQR Layers

2021-06-10 · Ngo Anh Vien, Gerhard Neumann

This paper proposes a differentiable robust LQR layer for reinforcement learning and imitation learning under model uncertainty and stochastic dynamics. The robust LQR layer can exploit the advantages of robust optimal c…

Imitation LearningInductive Bias

Differentiable Convex Optimization Layers in Neural Architectures: Foundations and Perspectives

2024-12-30 · Calder Katyal

The integration of optimization problems within neural network architectures represents a fundamental shift from traditional approaches to handling constraints in deep learning. While it is long known that neural network…

Mathematical Proofs