NCVX: A General-Purpose Optimization Solver for Constrained Machine and Deep Learning

10/03/2022
by   Buyun Liang, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/27/2021

NCVX: A User-Friendly and Scalable Package for Nonconvex Optimization in Machine Learning

Optimizing nonconvex (NCVX) problems, especially nonsmooth and constrain...
research
05/19/2022

CALIPSO: A Differentiable Solver for Trajectory Optimization with Conic and Complementarity Constraints

We present a new solver for non-convex trajectory optimization problems ...
research
12/02/2021

Constrained Machine Learning: The Bagel Framework

Machine learning models are widely used for real-world applications, suc...
research
06/22/2018

The Foundations of Deep Learning with a Path Towards General Intelligence

Like any field of empirical science, AI may be approached axiomatically....
research
03/23/2023

Optimization and Optimizers for Adversarial Robustness

Empirical robustness evaluation (RE) of deep learning models against adv...
research
02/03/2020

Torch-Struct: Deep Structured Prediction Library

The literature on structured prediction for NLP describes a rich collect...
research
10/20/2018

The Ocean Tensor Package

Matrix and tensor operations form the basis of a wide range of fields an...

Please sign up or login with your details

Forgot password? Click here to reset