NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Convex Relaxations of ReLU Neural Networks Approximate Global Optima in Polynomial Time

Sungyoon Kim, Mert Pilanci

Overview

This paper proves that the massive gap between the non-convex reality of training ReLU neural networks and the theoretical ideal of global optimality is much smaller than previously thought. By using a "Gaussian relaxation" of a convex reformulation, the authors show that we can approximate the global optimum of a two-layer ReLU network in polynomial time within a tiny logarithmic factor. This provides a rigorous theoretical justification for why simple local gradient methods work so remarkably well in practice.

The Core Problem: Theory vs. Practice

In the world of deep learning, there is a glaring contradiction. Theoretically, training even a simple two-layer ReLU neural network is NP-Hard—meaning it should be computationally impossible to find the absolute best (global) solution for large datasets. Yet, in practice, engineers use local gradient methods like Stochastic Gradient Descent (SGD) or Adam every day to find "nearly global" minimizers with ease.

Previous attempts to bridge this gap often relied on "infinite-width" assumptions (where the number of neurons goes to infinity) or required an exponential number of variables to transform the problem into a convex one. This paper tackles the "optimality gap" head-on: exactly how far is the solution found by a practical, polynomial-time algorithm from the true, theoretical global minimum?

Methodology: Convex Reformulation and Relaxation

The authors build upon recent work in Convex Reformulation. Normally, a ReLU network is non-convex because of the activation function and the multiplication of weights across layers. However, if you know the "hyperplane arrangement patterns" (essentially, which neurons are "on" or "off" for which data points), the problem becomes convex.

The key technical innovations in this paper include:

  • Gaussian Relaxation: Since there are exponentially many possible "on/off" patterns, the authors propose randomly sampling a small, polynomial number of them using Gaussian random vectors.
  • Cone Sharpness Analysis: They introduce a geometric framework to measure how "sharp" the constraints are in this relaxed space. This allows them to bound the error introduced by sampling only a few patterns.
  • Duality-Based Bounds: By looking at the dual version of the optimization problem, they prove that the "relaxed" version isn't just a guess—it’s a mathematically rigorous approximation of the global optimum.

Key Insights and Discoveries

The Logarithmic Gap

The most striking finding is that the relative optimality gap is bounded by a factor of $O(\sqrt{\log n})$, where $n$ is the number of training samples. This represents an exponential improvement over previous bounds and suggests that for most practical purposes, the approximation is nearly as good as the global optimum.

Practical Width is Sufficient

While exact convex versions theoretically require a width of $m \ge n+1$, this paper shows that a much smaller, practical width is enough to get within that logarithmic error bound.

Optimal objective value vs. network width across different regularization strengths.

As demonstrated empirically, the optimal objective value drops sharply and stabilizes at relatively small network widths, proving that massive overparameterization isn't strictly necessary to approach the global optimum.

Why SGD Works: Hyperplane Stability

The authors show that local gradient methods with random initialization tend to stay within a specific region of the landscape where the "on/off" patterns of the neurons remain relatively stable. This effectively means SGD is optimizing a "randomly relaxed" convex problem, which they've now proven is close to the global optimum.

Portion of changed hyperplanes during training steps, demonstrating stability.

Empirical tracking of these hyperplane arrangements during training confirms this "coupling lemma." The portion of changed hyperplanes stabilizes very quickly at a low percentage, supporting the theory that activation patterns remain largely fixed after initial steps.

Connection to MAX-CUT

The research reveals a fascinating link between neural network training and the MAX-CUT problem from graph theory, suggesting that the "trainability" of a network is intrinsically tied to the clusterization properties of the underlying dataset.

Key Results

  • Polynomial Time Guarantee: The authors present a randomized algorithm with $O(d^3 m^3)$ complexity (where $d$ is data dimension and $m$ is width) that is guaranteed to solve the training problem within a $O(\sqrt{\log n})$ factor of the global minimum.
  • Regularization Dynamics: The choice of weight decay (regularization) significantly impacts the optimization dynamics, influencing both the final objective value and the stability of the network's activation patterns.

Limitations and Future Work

  • Random Data Assumption: Much of the tightest theoretical proof relies on the assumption that input data is Gaussian ($X_{ij} \sim \mathcal{N}(0, 1)$). While they show empirical evidence on real-world datasets like MNIST, extending the full mathematical proof to arbitrary, non-random data remains a challenge.
  • Two-Layer Architecture: The current results are limited to two-layer networks. Extending this "logarithmic gap" proof to deeper architectures (like deep CNNs or Transformers) is the next major frontier.
  • Removing the Log Factor: The authors acknowledge that the $\sqrt{\log n}$ factor might be an artifact of their specific proof technique and hope to investigate if the gap can be reduced to a constant or eliminated entirely in future work.

Summary updated

BibTeX
@inproceedings{kim2024convex,
  author = {Sungyoon Kim and Mert Pilanci},
  title = {{Convex Relaxations of ReLU Neural Networks Approximate Global Optima in Polynomial Time}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Zn44XGFGam},
}
Figure