Convex Formulations for Training Two-Layer ReLU Neural Networks

Karthik Prakhya, Tolga Birdal, Alp Yurtsever
10/29/2024
cs.LGmath.OC

No official code found. Best implementation: KarthikPrakhya/SDPNN-IW (1 star, last commit 2025-05-06).

Abstract

Solving non-convex, NP-hard optimization problems is crucial for training machine learning models, including neural networks. However, non-convexity often leads to black-box machine learning models with unclear inner workings. While convex formulations have been used for verifying neural network robustness, their application to training neural networks remains less explored. In response to this challenge, we reformulate the problem of training infinite-width two-layer ReLU networks as a convex completely positive program in a finite-dimensional (lifted) space. Despite the convexity, solving this problem remains NP-hard due to the complete positivity constraint. To overcome this challenge, we introduce a semidefinite relaxation that can be solved in polynomial time. We then experimentally evaluate the tightness of this relaxation, demonstrating its competitive performance in test accuracy across a range of classification tasks.

View on arXivView PDF

Code Implementations(1)

SDP Relaxations for Training ReLU Activation Infinite-Width Neural Networks

10Shell, PythonOct 23, 20241 years ago

Cite this paper

@article{prakhya2024convex,
  title  = {Convex Formulations for Training Two-Layer ReLU Neural Networks},
  author = {Karthik Prakhya and Tolga Birdal and Alp Yurtsever},
  year   = {2024},
  eprint = {2410.22311},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.22311v2}
}

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/2410.22311.svg)](https://codeofpaper.com/paper/2410.22311)

Discussion