Fast Convex Optimization for Two-Layer ReLU Networks: Equivalent Model Classes and Cone Decompositions

Aaron Mishkin, Arda Sahiner, Mert Pilanci
2/2/2022
40 citations
cs.LG

Official code: pilancilab/scnn (26 stars, Python, MIT, last commit 2025-04-30).

Abstract

We develop fast algorithms and robust software for convex optimization of two-layer neural networks with ReLU activation functions. Our work leverages a convex reformulation of the standard weight-decay penalized training problem as a set of group-$\ell_1$-regularized data-local models, where locality is enforced by polyhedral cone constraints.

Show full abstract

In the special case of zero-regularization, we show that this problem is exactly equivalent to unconstrained optimization of a convex "gated ReLU" network with non-singular gates. For problems with non-zero regularization, we show that convex gated ReLU models obtain data-dependent approximation bounds for the ReLU training problem. To optimize the convex reformulations, we develop an accelerated proximal gradient method and a practical augmented Lagrangian solver. We show that these approaches are faster than standard training heuristics for the non-convex problem, such as SGD, and outperform commercial interior-point solvers. Experimentally, we verify our theoretical results, explore the group-$\ell_1$ regularization path, and scale convex optimization for neural networks to image classification on MNIST and CIFAR-10.

View on arXivView PDF

Code Implementations(1)

pilancilab/scnnOfficial100%
MIT

Scalable Convex Neural Networks

2611Python, Jupyter NotebookJun 14, 20221 years agoMIT

Similar Papers

Cite this paper

@article{mishkin2022fast,
  title  = {Fast Convex Optimization for Two-Layer ReLU Networks: Equivalent Model Classes and Cone Decompositions},
  author = {Aaron Mishkin and Arda Sahiner and Mert Pilanci},
  year   = {2022},
  eprint = {2202.01331},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01331}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.01331.svg)](https://codeofpaper.com/paper/2202.01331)

Discussion