Abstract
We study the loss surface of neural networks equipped with a hinge loss criterion and ReLU or leaky ReLU nonlinearities. Any such network defines a piecewise multilinear form in parameter space. By appealing to harmonic analysis we show that all local minima of such network are non-differentiable, except for those minima that occur in a region of parameter space where the loss surface is perfectly flat. Non-differentiable minima are therefore not technicalities or pathologies; they are heart of the problem when investigating the loss of ReLU networks. As a consequence, we must employ techniques from nonsmooth analysis to study these loss surfaces. We show how to apply these techniques in some illustrative cases.
Introduction
Despite the inherent non-convexity and non-smoothness of deep neural networks, they remain remarkably amenable to optimization in practice. To understand this phenomenon, researchers investigate the "loss surface"—the high-dimensional landscape of the error function. A significant challenge arises from the fact that common activation functions like the Rectified Linear Unit (ReLU) are non-differentiable at zero. While previous theoretical work often bypassed this by assuming smoothness or focusing on differentiable regions, this paper argues that non-smoothness is a fundamental feature. Specifically, the most critical aspects of the loss surface, including its local minima, reside precisely at these non-differentiable boundaries.
Theoretical Framework: Piecewise Multilinearity
The core of this study focuses on feed-forward networks utilizing ReLU or Leaky ReLU activations paired with a hinge loss criterion. The authors demonstrate that the parameter space $\Omega$ is partitioned into distinct "cells" $\Omega_i$. Within each cell, the activation pattern of the network is fixed, causing the loss function to behave as a multilinear form—linear in each individual parameter when others are held constant.
Because multilinear forms are harmonic functions, they satisfy the Strong Maximum Principle. This mathematical property implies that a local minimum cannot exist within the interior of a cell unless the loss is perfectly flat there. Consequently, any "interesting" or non-trivial local minima must occur on the boundaries between cells, where the function is non-differentiable. To analyze these points, the authors employ Clarke subdifferentials, a tool from nonsmooth analysis that generalizes the gradient.
The Geometry of Local Minima: Sharp vs. Flat
The analysis reveals a fundamental dichotomy in the nature of local minima:
- Type I (Flat) Minima: These occur in regions where the loss is constant. The authors prove that these are always global optima.
- Type II (Sharp) Minima: These occur at non-differentiable boundaries and are shown to be strictly sub-optimal.
This structure suggests that sub-optimal local minima are fundamentally linked to "dead data points." In standard ReLU networks, these are data points that fall on the inactive side of every hidden neuron, effectively being ignored by the network's optimization process.
Key Results and the Leaky ReLU Advantage
The paper establishes several key theorems:
- The Loss Surface Structure: The loss surface is a sum of multilinear forms, and any "sharp" local minimum necessarily has a strictly positive loss, making it sub-optimal.
- The Benefit of Leaky ReLU: Unlike standard ReLU, Leaky ReLU activations never completely "turn off." The authors prove that for Leaky ReLU networks with equally weighted classes and separable data, every local minimum is a global minimum.
- Dead Data Characterization: For ReLU networks, if a data point remains "unsolved" at a critical point, it must lie on the inactive side of every hidden neuron, providing a precise mathematical definition for the "dead neuron" intuition.
While the "nice" properties of binary hinge loss do not automatically extend to multiclass problems, the authors introduce a soft-penalty training strategy. This approach forces the multiclass model to behave as a collection of binary problems, thereby recovering desirable loss surface properties.
Conclusion and Future Directions
This work highlights that non-smooth analysis is not just a technicality but a necessity for understanding ReLU networks. While the current proofs are primarily limited to networks with one hidden layer and rely on the specific properties of hinge loss, they provide a rigorous framework for future exploration. Extending these results to deeper architectures and more common loss functions like Cross-Entropy remains a vital direction for future research.
Summary updated