首页 /研究 /QPLayer: efficient differentiation of convex quadratic optimization
LEARNING

QPLayer: efficient differentiation of convex quadratic optimization

Antoine Bambade, Fabian Schramm, Adrien Taylor, Justin Carpentier

发表年份
2023
引用次数
2
访问权限
开放获取

摘要

Optimization layers within neural network architectures have become increasingly popular for their ability to solve a wide range of machine learning tasks and to model domain-specific knowledge.However, designing optimization layers requires careful consideration as the underlying optimization problems might be infeasible during training.Motivated by applications in learning, control and robotics, this work focuses on convex quadratic programming (QP) layers.The specific structure of this type of optimization layer can be efficiently exploited for faster computations while still allowing rich modeling capabilities.We leverage primal-dual augmented Lagrangian techniques for computing derivatives of both feasible and infeasible QP solutions.More precisely, we propose a unified approach that tackles the differentiability of the closest feasible QP solutions in a classical 2 sense.We then harness this approach to enrich the expressive capabilities of existing QP layers.More precisely, we show how differentiating through infeasible QPs during training enables to drive towards feasibility at test time a new range of QP layers.These layers notably demonstrate superior predictive performance in some conventional learning tasks.Additionally, we present alternative formulations that enhance numerical robustness, speed, and accuracy for training such layers.Along with these contributions, we provide an open-source C++ software package called QPLayer for differentiating feasible and infeasible convex QPs and which can be interfaced with modern learning frameworks.

关键词

Regular polygonQuadratic equationConvex optimizationMathematical optimizationConic optimizationMathematicsConvex analysisComputer scienceGeometry

相关论文

查看 LEARNING 分类全部论文