arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.06135cs.LGcs.MSmath.OC
收藏

通过模型转换实现灵活的可微优化

Flexible Differentiable Optimization via Model Transformations

Zuse Institute Berlin(柏林祖斯研究所);PSR(PSR公司);PUC-Rio(里约热内卢天主教大学);Massachusetts Institute of Technology(麻省理工学院);Columbia University(哥伦比亚大学)

Mathieu Besançon, Joaquim Dias Garcia, Benoît Legat, Akshay Sharma

AI总结:

本文介绍了Julia库DiffOpt.jl,通过模型转换实现对优化问题解的微分,支持前向和反向微分模式,将约束优化与端到端可微编程连接,适用于超参数优化、反向传播和敏感性分析等多种场景。

摘要:

我们介绍了DiffOpt.jl,这是一个Julia库,用于对优化问题的解进行微分,以处理目标函数和/或约束中存在的任意参数。该库基于MathOptInterface构建,从而利用丰富的求解器生态系统,并与JuMP等建模语言良好组合。DiffOpt提供前向和反向微分模式,支持从超参数优化到反向传播和敏感性分析的多种用例,将约束优化与端到端可微编程连接起来。DiffOpt基于两种已知规则,用于对二次规划和锥规划标准形式进行微分。然而,得益于对模型转换进行微分的能力,用户不限于这些形式,可以对任何能转化为这些标准形式的模型的参数进行微分。这特别包括混合仿射锥约束和凸二次约束或目标函数的程序。

英文摘要:

We introduce DiffOpt.jl, a Julia library to differentiate through the solution of optimization problems with respect to arbitrary parameters present in the objective and/or constraints. The library builds upon MathOptInterface, thus leveraging the rich ecosystem of solvers and composing well with modeling languages like JuMP. DiffOpt offers both forward and reverse differentiation modes, enabling multiple use cases from hyperparameter optimization to backpropagation and sensitivity analysis, bridging constrained optimization with end-to-end differentiable programming. DiffOpt is built on two known rules for differentiating quadratic programming and conic programming standard forms. However, thanks ability to differentiate through model transformation, the user is not limited to these forms and can differentiate with respect to the parameters of any model that can be reformulated into these standard forms. This notably includes programs mixing affine conic constraints and convex quadratic constraints or objective function.

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

↑