Skip to main content
QUICK REVIEW

[Paper Review] Piecewise linear activations substantially shape the loss surfaces of neural networks

Fengxiang He, Bohan Wang|arXiv (Cornell University)|Mar 27, 2020
Stochastic Gradient Optimization TechniquesComputer Science19 citations
TL;DR

This paper demonstrates that piecewise linear activation functions—such as ReLU—profoundly shape the loss surfaces of deep neural networks by inducing infinitely many spurious local minima, even in simple one-hidden-layer networks. The authors prove that these minima are concentrated in connected valleys within smooth, multilinear cells partitioned by non-differentiable boundaries, and that all local minima within a single cell are globally optimal for that cell's parameter subspace.

ABSTRACT

Understanding the loss surface of a neural network is fundamentally important to the understanding of deep learning. This paper presents how piecewise linear activation functions substantially shape the loss surfaces of neural networks. We first prove that {\it the loss surfaces of many neural networks have infinite spurious local minima} which are defined as the local minima with higher empirical risks than the global minima. Our result demonstrates that the networks with piecewise linear activations possess substantial differences to the well-studied linear neural networks. This result holds for any neural network with arbitrary depth and arbitrary piecewise linear activation functions (excluding linear functions) under most loss functions in practice. Essentially, the underlying assumptions are consistent with most practical circumstances where the output layer is narrower than any hidden layer. In addition, the loss surface of a neural network with piecewise linear activations is partitioned into multiple smooth and multilinear cells by nondifferentiable boundaries. The constructed spurious local minima are concentrated in one cell as a valley: they are connected with each other by a continuous path, on which empirical risk is invariant. Further for one-hidden-layer networks, we prove that all local minima in a cell constitute an equivalence class; they are concentrated in a valley; and they are all global minima in the cell.

Motivation & Objective

  • To understand how nonlinear activation functions, particularly piecewise linear ones, shape the geometry of neural network loss surfaces.
  • To investigate the existence and structure of spurious local minima in deep networks with piecewise linear activations.
  • To reveal the geometric partitioning of loss surfaces into smooth, multilinear cells separated by non-differentiable boundaries.
  • To analyze the equivalence and connectivity of local minima within each cell, showing they form a globally optimal valley structure.

Proposed method

  • Prove the existence of infinitely many spurious local minima in networks with arbitrary depth and piecewise linear activations (excluding linear functions), under standard loss functions.
  • Construct a mapping $ Q $ from weight parameters $ (W_1, W_2) $ to a reduced representation $ \hat{W} $, showing that $ Q $ is invariant under scaling transformations that preserve the product $ \text{diag}(W_2)W_1 $.
  • Partition the parameter space into open cells using non-differentiable boundaries induced by activation function breakpoints.
  • Demonstrate that within each cell, the empirical risk $ \hat{\mathcal{R}} $ is convex with respect to $ \hat{W} $, implying all local minima in a cell are globally minimal within that cell.
  • Establish that local minima in a cell are connected via continuous paths along which the empirical risk remains constant, forming a valley structure.
  • Define an equivalence relation $ \sim_R $ based on the mapping $ Q $, showing that all local minima in a cell are equivalent under this relation and form a quotient space.

Experimental results

Research questions

  • RQ1Do neural networks with piecewise linear activations possess infinitely many spurious local minima under typical training conditions?
  • RQ2How are local minima distributed across the parameter space in terms of connectivity and empirical risk?
  • RQ3Can the loss surface of a neural network with piecewise linear activations be partitioned into smooth, multilinear cells separated by non-differentiable boundaries?
  • RQ4Are all local minima within a single cell globally optimal for that cell’s parameter subspace?
  • RQ5What is the geometric and topological structure of the set of local minima within a cell, and how are they connected?

Key findings

  • Neural networks with arbitrary depth and any piecewise linear activation (excluding linear functions) possess infinitely many spurious local minima under standard loss functions.
  • These spurious local minima are concentrated in a single, connected valley within one smooth, multilinear cell of the parameter space.
  • All local minima within a given cell are globally minimal for that cell’s parameter subspace, meaning they achieve the lowest possible empirical risk in that region.
  • Local minima in a cell are connected by continuous paths along which the empirical risk remains invariant, indicating a degenerate, valley-like structure.
  • The equivalence class of local minima in a cell is defined by the mapping $ Q $, which preserves the product $ \text{diag}(W_2)W_1 $, and forms a quotient space under this equivalence.
  • The loss surface is partitioned into multiple smooth, multilinear cells by non-differentiable boundaries arising from activation function breakpoints, with each cell containing a unique global minimum for its subspace.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.