LPGD: A General Framework for Backpropagation through Embedded Optimization Layers

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Paulus, Anselm, Martius, Georg, Musil, Vít
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910743661641728
author Paulus, Anselm
Martius, Georg
Musil, Vít
author_facet Paulus, Anselm
Martius, Georg
Musil, Vít
contents Embedding parameterized optimization problems as layers into machine learning architectures serves as a powerful inductive bias. Training such architectures with stochastic gradient descent requires care, as degenerate derivatives of the embedded optimization problem often render the gradients uninformative. We propose Lagrangian Proximal Gradient Descent (LPGD) a flexible framework for training architectures with embedded optimization layers that seamlessly integrates into automatic differentiation libraries. LPGD efficiently computes meaningful replacements of the degenerate optimization layer derivatives by re-running the forward solver oracle on a perturbed input. LPGD captures various previously proposed methods as special cases, while fostering deep links to traditional optimization methods. We theoretically analyze our method and demonstrate on historical and synthetic data that LPGD converges faster than gradient descent even in a differentiable setup.
format Preprint
id arxiv_https___arxiv_org_abs_2407_05920
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LPGD: A General Framework for Backpropagation through Embedded Optimization Layers
Paulus, Anselm
Martius, Georg
Musil, Vít
Machine Learning
Embedding parameterized optimization problems as layers into machine learning architectures serves as a powerful inductive bias. Training such architectures with stochastic gradient descent requires care, as degenerate derivatives of the embedded optimization problem often render the gradients uninformative. We propose Lagrangian Proximal Gradient Descent (LPGD) a flexible framework for training architectures with embedded optimization layers that seamlessly integrates into automatic differentiation libraries. LPGD efficiently computes meaningful replacements of the degenerate optimization layer derivatives by re-running the forward solver oracle on a perturbed input. LPGD captures various previously proposed methods as special cases, while fostering deep links to traditional optimization methods. We theoretically analyze our method and demonstrate on historical and synthetic data that LPGD converges faster than gradient descent even in a differentiable setup.
title LPGD: A General Framework for Backpropagation through Embedded Optimization Layers
topic Machine Learning
url https://arxiv.org/abs/2407.05920