NCVX: A General-Purpose Optimization Solver for Constrained Machine and Deep Learning
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 56 of its 81 references that are in the map. First posted on arXiv 3 Oct 2022.
Builds on
56 of 81 references.
References · 56
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2022Generative Adversarial Networkscited by 5,603
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2017Deep Image Priorcited by 1,097
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
38 more
- 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
- 2019DeepXDE: A deep learning library for solving differential equationscited by 617
- 2022Scientific Machine Learning through Physics-Informed Neural Networks: Where we are and What's nextcited by 603
- 2019On Evaluating Adversarial Robustnesscited by 442
- 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 439
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 333
- 2015Unitary Evolution Recurrent Neural Networkscited by 291
- 2014Identifying and attacking the saddle point problem in high-dimensional non-convex optimizationcited by 286
- 2018Towards Fast Computation of Certified Robustness for ReLU Networkscited by 254
- 2020Self-Adaptive Physics-Informed Neural Networks using a Soft Attention Mechanismcited by 231
- 2017Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulationcited by 182
- 2018Evaluating the Robustness of Neural Networks: An Extreme Value Theory Approachcited by 181
- 2017OSQP: An Operator Splitting Solver for Quadratic Programscited by 156
- 2019Branch and Bound for Piecewise Linear Neural Network Verificationcited by 138
- 2020Perceptual Adversarial Robustness: Defense Against Unseen Threat Modelscited by 137
- 2019Cheap Orthogonal Constraints in Neural Networks: A Simple Parametrization of the Orthogonal and Unitary Groupcited by 133
- 2013Manopt, a Matlab toolbox for optimization on manifoldscited by 112
- 2018Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defensescited by 109
- 2020Geoopt: Riemannian Optimization in PyTorchcited by 109
- 2016Pymanopt: A Python Toolbox for Optimization on Manifolds using Automatic Differentiationcited by 93
- 2019Wasserstein Adversarial Examples via Projected Sinkhorn Iterationscited by 89
- 2018Semantic Adversarial Examplescited by 86
- 2017Orthogonal Recurrent Neural Networks with Scaled Cayley Transformcited by 82
- 2019Functional Adversarial Attackscited by 82
- 2018geomstats: a Python Package for Riemannian Geometry in Machine Learningcited by 71
- 2019Optimization for deep learning: theory and algorithmscited by 70
- 2015MLlib: Machine Learning in Apache Sparkcited by 55
- 2021Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraintscited by 50
- 2019Neural reparameterization improves structural optimizationcited by 44
- 2021Early Stopping for Deep Image Priorcited by 44
- 2019Fastened CROWN: Tightened Neural Network Robustness Certificatescited by 39
- 2016Recurrent Orthogonal Networks and Long-Memory Taskscited by 38
- 2020Training neural networks under physical constraints using a stochastic augmented Lagrangian approachcited by 19
- 2016Generalized BackPropagation, 'Etude De Cas: Orthogonalitycited by 17
- 2018Subgradient Descent Learns Orthogonal Dictionariescited by 17
- 2018McTorch, a manifold optimization library for deep learningcited by 16
- 2021Self-Validation: Early Stopping for Single-Instance Deep Generative Priorscited by 15
- 2019GENO -- GENeric Optimization for Classical Machine Learningcited by 12
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 2; 2026: 1.
7 papers.
- 2023Equal Opportunity of Coverage in Fair Regressioncited by 16
- 2025SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinationscited by 9
- 2023Optimization and Optimizers for Adversarial Robustnesscited by 6
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classificationcited by 2
- 2024Future Aware Safe Active Learning of Time Varying Systems using Gaussian Processescited by 1
- 2024On the Laplace Approximation as Model Selection Criterion for Gaussian Processescited by 0
- 2026REALISTA: Realistic Latent Adversarial Attacks that Elicit LLM Hallucinationscited by 0
- 2026REALISTA: Realistic Latent Adversarial Attacks that Elicit LLM Hallucinations12 May 2026
- 2025SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinations5 Oct 2025
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification21 Jul 2025
- 2024Future Aware Safe Active Learning of Time Varying Systems using Gaussian Processes17 May 2024
- 2024On the Laplace Approximation as Model Selection Criterion for Gaussian Processes14 Mar 2024
- 2023Equal Opportunity of Coverage in Fair Regression3 Nov 2023
- 2023Optimization and Optimizers for Adversarial Robustness23 Mar 2023