arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.19285cs.LGcs.AIq-fin.PM
收藏

BPQP:一种用于高效端到端学习的可微凸优化框架

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

University of California, Berkeley(加州大学伯克利分校);Nankai University(南开大学);Microsoft Research Asia(微软亚洲研究院)

Jianming Pan, Zeqi Ye, Xiao Yang, Xu Yang, Weiqing Liu, Lewen Wang, Jiang Bian

AI总结:

本文提出可微凸优化框架BPQP,通过将反向传播重构为解耦的二次规划问题,利用一阶优化算法高效计算梯度,在实验中比现有可微优化层快约一个数量级。

摘要:

数据驱动的决策过程越来越多地利用端到端可学习的深度神经网络来做出最终决策。有时,某些层中前向函数的输出由数学优化问题的解决定,这导致了可微优化层的出现,从而允许梯度反向传播。然而,现实世界场景通常涉及大规模数据集和大量约束,带来了显著挑战。当前对优化问题进行微分的方法通常依赖隐式微分,这需要对雅可比矩阵进行代价高昂的计算,导致效率低下。在本文中,我们提出了BPQP,一种专为高效端到端学习而设计的可微凸优化框架。为了提高效率,我们利用KKT矩阵的结构性质,将反向传播重新表述为一个简化且解耦的二次规划问题。这种重新表述使得在计算反向传播梯度时可以使用一阶优化算法,从而使我们的框架能够潜在地利用任何最先进的求解器。随着求解器技术的发展,BPQP可以持续适应并提高其效率。在模拟数据集和真实世界数据集上的大量实验表明,BPQP在效率上取得了显著提升——与其他可微优化层相比,总体执行时间通常快一个数量级。我们的结果不仅突出了BPQP的效率提升,还强调了其相对于可微优化层基线的优越性。

英文摘要:

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 solutions to mathematical optimization problems, leading to the emergence of differentiable optimization layers that permit gradient back-propagation. However, real-world scenarios often involve large-scale datasets and numerous constraints, presenting significant challenges. Current methods for differentiating optimization problems typically rely on implicit differentiation, which necessitates costly computations on the Jacobian matrices, resulting in low efficiency. In this paper, we introduce BPQP, a differentiable convex optimization framework designed for efficient end-to-end learning. To enhance efficiency, we reformulate the backward pass as a simplified and decoupled quadratic programming problem by leveraging the structural properties of the KKT matrix. This reformulation enables the use of first-order optimization algorithms in calculating the backward pass gradients, allowing our framework to potentially utilize any state-of-the-art solver. As solver technologies evolve, BPQP can continuously adapt and improve its efficiency. Extensive experiments on both simulated and real-world datasets demonstrate that BPQP achieves a significant improvement in efficiency--typically an order of magnitude faster in overall execution time compared to other differentiable optimization layers. Our results not only highlight the efficiency gains of BPQP but also underscore its superiority over differentiable optimization layer baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑