Guardado en:
Detalles Bibliográficos
Autores principales: Magoon, Connor W., Yang, Fengyu, Aigerman, Noam, Kovalsky, Shahar Z.
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2410.06324
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914122515349504
author Magoon, Connor W.
Yang, Fengyu
Aigerman, Noam
Kovalsky, Shahar Z.
author_facet Magoon, Connor W.
Yang, Fengyu
Aigerman, Noam
Kovalsky, Shahar Z.
contents Differentiable optimization has attracted significant research interest, particularly for quadratic programming (QP). Existing approaches for differentiating the solution of a QP with respect to its defining parameters often rely on specific integrated solvers. This integration limits their applicability, including their use in neural network architectures and bi-level optimization tasks, restricting users to a narrow selection of solver choices. To address this limitation, we introduce dQP, a modular and solver-agnostic framework for plug-and-play differentiation of virtually any QP solver. A key insight we leverage to achieve modularity is that, once the active set of inequality constraints is known, both the solution and its derivative can be expressed using simplified linear systems that share the same matrix. This formulation fully decouples the computation of the QP solution from its differentiation. Building on this result, we provide a minimal-overhead, open-source implementation ( https://github.com/cwmagoon/dQP ) that seamlessly integrates with over 15 state-of-the-art solvers. Comprehensive benchmark experiments demonstrate dQP's robustness and scalability, particularly highlighting its advantages in large-scale sparse problems.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06324
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Differentiation Through Black-Box Quadratic Programming Solvers
Magoon, Connor W.
Yang, Fengyu
Aigerman, Noam
Kovalsky, Shahar Z.
Machine Learning
Optimization and Control
Differentiable optimization has attracted significant research interest, particularly for quadratic programming (QP). Existing approaches for differentiating the solution of a QP with respect to its defining parameters often rely on specific integrated solvers. This integration limits their applicability, including their use in neural network architectures and bi-level optimization tasks, restricting users to a narrow selection of solver choices. To address this limitation, we introduce dQP, a modular and solver-agnostic framework for plug-and-play differentiation of virtually any QP solver. A key insight we leverage to achieve modularity is that, once the active set of inequality constraints is known, both the solution and its derivative can be expressed using simplified linear systems that share the same matrix. This formulation fully decouples the computation of the QP solution from its differentiation. Building on this result, we provide a minimal-overhead, open-source implementation ( https://github.com/cwmagoon/dQP ) that seamlessly integrates with over 15 state-of-the-art solvers. Comprehensive benchmark experiments demonstrate dQP's robustness and scalability, particularly highlighting its advantages in large-scale sparse problems.
title Differentiation Through Black-Box Quadratic Programming Solvers
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2410.06324