Approximation Schemes for ReLU Regression

Ilias Diakonikolas, Surbhi Goel, Sushrut Karmalkar, Adam R. Klivans, Mahdi Soltanolkotabi

Abstract

We consider the fundamental problem of ReLU regression, where the goal is to output the best fitting ReLU with respect to square loss given access to draws from some unknown distribution. We give the first efficient, constant-factor approximation algorithm for this problem assuming the underlying distribution satisfies some weak concentration and anti-concentration conditions (and includes, for example, all log-concave distributions). This solves the main open problem of Goel et al., who proved hardness results for any exact algorithm for ReLU regression (up to an additive $\epsilon$). Using more sophisticated techniques, we can improve our results and obtain a polynomial-time approximation scheme for any subgaussian distribution. Given the aforementioned hardness results, these guarantees can not be substantially improved. Our main insight is a new characterization of surrogate losses for nonconvex activations. While prior work had established the existence of convex surrogates for monotone activations, we show that properties of the underlying distribution actually induce strong convexity for the loss, allowing us to relate the global minimum to the activation’s Chow parameters.

Introduction

At the core of modern deep learning lies the Rectified Linear Unit (ReLU), defined as $\text{ReLU}(x) = \max(0, x)$. Despite its ubiquity, the theoretical foundations of learning even a single ReLU unit are surprisingly complex. This paper addresses the problem of ReLU Regression: given a set of data points $(x, y)$ drawn from an unknown distribution, find a weight vector $w$ that minimizes the square loss $E[(y - \text{ReLU}(w \cdot x))^2]$.

In the "agnostic" setting—where we make no assumptions about the relationship between $x$ and $y$ (i.e., the labels may be noisy or adversarial)—this problem is known to be NP-hard in the general case. Even for well-behaved distributions like Gaussians, finding an exact solution is computationally difficult. Previous attempts to solve this either required exponential time or yielded sub-optimal error guarantees. This research provides the first efficient algorithms to achieve constant-factor approximations and Polynomial-Time Approximation Schemes (PTAS) under reasonable distributional assumptions.

Overcoming Non-Convexity

The primary obstacle in ReLU regression is that the square loss objective is non-convex, often resulting in a landscape riddled with local minima that trap standard gradient-based optimizers. The authors bypass this issue using three key technical innovations:

1. Convex Surrogate Losses

Instead of optimizing the non-convex square loss directly, the authors introduce a "surrogate loss" function. This surrogate is essentially the integral of the activation function. While the ReLU itself is non-convex in its parameters, its integral is convex. Crucially, the paper demonstrates that for log-concave distributions, this surrogate loss is not merely convex but strongly convex. This property ensures that the optimization landscape is well-behaved and that global minima can be reached efficiently.

2. Chow Parameters and Learnability

The authors utilize "Chow parameters," which are the first moments of the function. They establish a "Chow Learnability" property: if two ReLUs have similar Chow parameters, they must also have similar square loss. This theoretical bridge allows the researchers to relate the global minimum of their surrogate loss back to the original regression problem, ensuring that an optimal solution in the surrogate space translates to a near-optimal solution in the original space.

3. Localization and Improper Learning

To achieve a PTAS—an algorithm that provides a $(1+\eta)$ approximation for any $\eta > 0$—the authors employ a technique called improper learning. They partition the input space into three distinct regions based on the linear component of the ReLU:

  • A region where the output is mostly zero.
  • A region where the output is mostly linear.
  • A "critical band" near the origin.

In the critical band, they approximate the ReLU using a low-degree polynomial. Because the final output is a combination of these different functional forms rather than a single ReLU, it is considered "improper," but this flexibility is precisely what allows the algorithm to bypass the hardness barriers associated with "proper" ReLU learning.

Key Results

The paper provides rigorous mathematical proofs for several breakthrough guarantees:

  • Constant Factor Approximation: For isotropic log-concave distributions (including Gaussian, Exponential, and Uniform distributions over convex sets), the algorithm achieves $O(\text{opt}) + \epsilon$ error in $\tilde{O}(d^2/\epsilon^2)$ time.
  • PTAS for Subgaussians: Under the assumption of subgaussianity, the authors provide a PTAS that achieves $(1+\eta)\text{opt} + \epsilon$ error. This is essentially the strongest guarantee possible given existing computational hardness results.
  • Sample Complexity: The sample complexity is $\tilde{O}(d/\epsilon^2)$, which is nearly linear in the dimension $d$ and information-theoretically optimal up to logarithmic factors.

Discussion and Future Work

This work highlights the power of the underlying data distribution to act as a natural regularizer. By proving that log-concave and subgaussian distributions "smooth out" the non-convexity of the ReLU, the authors provide a theoretical justification for why these problems are tractable in practice.

However, several challenges remain. The current analysis is restricted to a single neuron; extending these approximation schemes to multi-layer networks with multiple hidden units is a significant open problem. Additionally, while log-concave distributions are broad, real-world data may follow even more complex distributions. Future research will likely explore whether "Chow learnability" and surrogate-based optimization can be applied to other monotone activations, such as Sigmoids or Tanh, in the agnostic setting.

Summary updated

BibTeX
@inproceedings{diakonikolas2020approximation,
  author = {Ilias Diakonikolas and Surbhi Goel and Sushrut Karmalkar and Adam R. Klivans and Mahdi Soltanolkotabi},
  title = {{Approximation Schemes for ReLU Regression}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=4UhA_ALcZyJ},
}
Figure