Skip to main content
QUICK REVIEW

[Paper Review] Gradient Descent Quantizes ReLU Network Features

Hartmut Maennel, Olivier Bousquet|arXiv (Cornell University)|Mar 22, 2018
Stochastic Gradient Optimization TechniquesComputer Science10 references27 citations
TL;DR

This paper proposes that gradient descent in over-parameterized ReLU networks with small initialization leads to a quantization of weight vectors into a finite set of data-dependent directions, effectively constraining the model to learn only a finite number of 'simple' piecewise linear functions. The key result is that training dynamics naturally lead to functions analogous to linear interpolation on triangulations, which may explain generalization despite unbounded capacity.

ABSTRACT

Deep neural networks are often trained in the over-parametrized regime (i.e. with far more parameters than training examples), and understanding why the training converges to solutions that generalize remains an open problem. Several studies have highlighted the fact that the training procedure, i.e. mini-batch Stochastic Gradient Descent (SGD) leads to solutions that have specific properties in the loss landscape. However, even with plain Gradient Descent (GD) the solutions found in the over-parametrized regime are pretty good and this phenomenon is poorly understood. We propose an analysis of this behavior for feedforward networks with a ReLU activation function under the assumption of small initialization and learning rate and uncover a quantization effect: The weight vectors tend to concentrate at a small number of directions determined by the input data. As a consequence, we show that for given input data there are only finitely many, "simple" functions that can be obtained, independent of the network size. This puts these functions in analogy to linear interpolations (for given input data there are finitely many triangulations, which each determine a function by linear interpolation). We ask whether this analogy extends to the generalization properties - while the usual distribution-independent generalization property does not hold, it could be that for e.g. smooth functions with bounded second derivative an approximation property holds which could "explain" generalization of networks (of unbounded size) to unseen inputs.

Motivation & Objective

  • Understand why gradient descent in over-parameterized ReLU networks generalizes well despite high capacity.
  • Investigate the role of small weight initialization and learning rate in shaping the solution space.
  • Explore whether gradient descent leads to a discrete, finite set of functions independent of network size.
  • Analyze the analogy between learned network functions and linear interpolation on triangulations.
  • Determine if such functions have approximation properties for smooth, bounded-second-derivative functions.

Proposed method

  • Analyze gradient descent dynamics in the limit of infinitesimal weight initialization and learning rate for one-hidden-layer ReLU networks.
  • Model the training process as a two-stage mechanism: (i) weight vectors align to discrete data-dependent directions, (ii) loss is minimized.
  • Formalize the solution as equivalent to a greedy network construction, where neurons are added one at a time to minimize loss.
  • Establish a correspondence between the final network function and piecewise linear interpolation on a triangulation of input data.
  • Use mathematical analysis to show that only finitely many functions can be learned, regardless of network size.
  • Validate the model empirically on toy data and MNIST using greedy training simulations.

Experimental results

Research questions

  • RQ1Does gradient descent in over-parameterized ReLU networks with small initialization lead to a finite set of possible functions, independent of network size?
  • RQ2Can the learned functions be interpreted as piecewise linear interpolations on data-defined triangulations?
  • RQ3Do these functions exhibit approximation properties for smooth functions with bounded second derivatives?
  • RQ4Is the alignment of weight vectors to discrete data-dependent directions a universal feature of gradient descent in this regime?
  • RQ5To what extent does this quantization effect explain generalization in deep networks?

Key findings

  • Gradient descent with small initialization leads to weight vectors aligning to a finite set of data-dependent directions, independent of network size.
  • The resulting functions are piecewise linear with a number of kinks bounded by the number of training points, e.g., at most 2K + 1 kinks for K points on a line.
  • The final network function is equivalent to a greedy construction of a minimal-piecewise-linear interpolant, often closely resembling linear interpolation.
  • Numerical experiments show that even with large networks, the final function is simple and generalizes well, especially when the underlying function is smooth.
  • The model captures key behaviors seen in MNIST training, such as the number of active neurons growing sublinearly with training set size.
  • The alignment of kinks to training points or turning points is observed in animations, indicating a strong data-driven structure in the solution.

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.