Skip to main content
QUICK REVIEW

[Paper Review] Efficiently testing local optimality and escaping saddles for ReLU networks

Chulhee Yun, Suvrit Sra|arXiv (Cornell University)|Sep 28, 2018
Energy Efficient Wireless Sensor NetworksComputer Science37 references5 citations
TL;DR

This paper proposes a theoretically efficient algorithm to test local optimality and escape saddle points in two-layer ReLU networks by leveraging polyhedral geometry to reduce computation to one convex QP per hidden node, O(M) inequality tests, and one or a few nonconvex QPs. The method efficiently identifies local minima, second-order stationary points, or descent directions, with exponential convergence in benign cases and manageable complexity even in hard cases.

ABSTRACT

We provide a theoretical algorithm for checking local optimality and escaping saddles at nondifferentiable points of empirical risks of two-layer ReLU networks. Our algorithm receives any parameter value and returns: local minimum, second-order stationary point, or a strict descent direction. The presence of $M$ data points on the nondifferentiability of the ReLU divides the parameter space into at most $2^M$ regions, which makes analysis difficult. By exploiting polyhedral geometry, we reduce the total computation down to one convex quadratic program (QP) for each hidden node, $O(M)$ (in)equality tests, and one (or a few) nonconvex QP. For the last QP, we show that our specific problem can be solved efficiently, in spite of nonconvexity. In the benign case, we solve one equality constrained QP, and we prove that projected gradient descent solves it exponentially fast. In the bad case, we have to solve a few more inequality constrained QPs, but we prove that the time complexity is exponential only in the number of inequality constraints. Our experiments show that either benign case or bad case with very few inequality constraints occurs, implying that our algorithm is efficient in most cases.

Motivation & Objective

  • To address the challenge of analyzing nondifferentiable points in the loss surface of ReLU networks, which are critical for local optimality but difficult to handle due to nonlinearity and piecewise differentiability.
  • To develop a theoretical algorithm that can determine whether a given point is a local minimum, second-order stationary point (SOSP), or has a strict descent direction.
  • To provide a certificate of optimality or descent direction for any parameter in ReLU networks, enabling better termination criteria in training.
  • To reduce the computational burden of checking optimality in nonconvex, nonsmooth ReLU networks by exploiting geometric structure and convex relaxation techniques.

Proposed method

  • The algorithm partitions the parameter space into at most 2^M regions based on M data points, exploiting the fact that nondifferentiability occurs when w^T x + b = 0 for ReLU units.
  • For each hidden node, it solves one convex quadratic program (QP), which captures the local curvature and subgradient behavior.
  • It performs O(M) inequality and equality tests to determine active constraints and subgradient consistency across data points.
  • For the final nonconvex QP, the method proves that it can be solved efficiently—exponentially fast via projected gradient descent in the benign case with equality constraints.
  • In the more complex case with inequality constraints, the time complexity depends only exponentially on the number of such constraints, not on the total data size.
  • The approach uses polyhedral geometry to model the subdifferential and Hessian-like information at nonsmooth points, enabling second-order analysis.

Experimental results

Research questions

  • RQ1Can we efficiently test whether a given point in the parameter space of a two-layer ReLU network is a local minimum, SOSP, or has a descent direction?
  • RQ2How can we overcome the computational intractability of checking local optimality in nonsmooth, nonconvex ReLU networks?
  • RQ3What is the computational complexity of escaping saddle points at nondifferentiable points in ReLU networks?
  • RQ4Can we design a method that guarantees descent direction computation even at nonsmooth boundaries, despite nonconvexity?

Key findings

  • The algorithm reduces the global optimality test to solving one convex QP per hidden node, O(M) inequality/equality tests, and one or a few nonconvex QPs, making it computationally feasible.
  • In the benign case (equality-constrained QP), projected gradient descent solves the final QP exponentially fast, ensuring rapid convergence.
  • In the bad case (inequality-constrained QPs), the time complexity depends only exponentially on the number of inequality constraints, not on the number of data points.
  • Empirical evidence suggests that either the benign case or the bad case with very few inequality constraints occurs in practice, implying high efficiency in most real-world scenarios.
  • The method provides a complete certificate: it returns either a local minimum, a second-order stationary point, or a strict descent direction for any input point.
  • The approach successfully handles the fundamental challenge of nonsmoothness in ReLU networks by modeling subdifferentials and curvature using polyhedral geometry.

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.