NCVX:一个用于约束机器和深度学习的通用优化求解器
NCVX: A General-Purpose Optimization Solver for Constrained Machine and Deep Learning
摘要:
施加显式约束是相对较新的,但在深度学习中越来越紧迫,例如,值得信赖的人工智能,在复杂的扰动集和需要尊重物理定律和约束的科学应用程序上执行鲁棒优化。然而,如果没有优化专业知识,很难可靠地解决受约束的深度学习问题。现有的深度学习框架不承认约束。通用优化包可以处理约束,但不能执行自动微分,并且在处理非平滑性时有问题。在本文中,我们介绍了一个名为NCVX的新软件包,其初始版本包含求解器PyGRANSO,这是一个支持PyTorch的通用优化包,用于约束机器/深度学习问题,这是同类产品中的第一个。NCVX继承了PyTorch的自动微分,GPU加速和张量变量,并构建在免费提供和广泛使用的开源框架上。NCVX可在https://ncvx.org上获得,其中有详细的文档和来自机器/深度学习和其他领域的大量示例。
英文摘要:
Imposing explicit constraints is relatively new but increasingly pressing in deep learning, stimulated by, e.g., trustworthy AI that performs robust optimization over complicated perturbation sets and scientific applications that need to respect physical laws and constraints. However, it can be hard to reliably solve constrained deep learning problems without optimization expertise. The existing deep learning frameworks do not admit constraints. General-purpose optimization packages can handle constraints but do not perform auto-differentiation and have trouble dealing with nonsmoothness. In this paper, we introduce a new software package called NCVX, whose initial release contains the solver PyGRANSO, a PyTorch-enabled general-purpose optimization package for constrained machine/deep learning problems, the first of its kind. NCVX inherits auto-differentiation, GPU acceleration, and tensor variables from PyTorch, and is built on freely available and widely used open-source frameworks. NCVX is available at https://ncvx.org, with detailed documentation and numerous examples from machine/deep learning and other fields.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。