Skip to main content
QUICK REVIEW

[Paper Review] Directional convergence and alignment in deep learning

Ziwei Ji, Matus Telgarsky|arXiv (Cornell University)|Jun 11, 2020
Stochastic Gradient Optimization TechniquesComputer Science34 references14 citations
TL;DR

This paper establishes that gradient flow in deep homogeneous neural networks converges in direction despite unbounded weight growth, ensuring convergence of predictions, margins, and generalization-related quantities. The key result relies on a novel theory of unbounded nonsmooth Kurdyka-Łojasiewicz inequalities for definable functions, applicable without width or initialization constraints, only requiring perfect classification.

ABSTRACT

In this paper, we show that although the minimizers of cross-entropy and related classification losses are off at infinity, network weights learned by gradient flow converge in direction, with an immediate corollary that network predictions, training errors, and the margin distribution also converge. This proof holds for deep homogeneous networks -- a broad class of networks allowing for ReLU, max-pooling, linear, and convolutional layers -- and we additionally provide empirical support not just close to the theory (e.g., the AlexNet), but also on non-homogeneous networks (e.g., the DenseNet). If the network further has locally Lipschitz gradients, we show that these gradients also converge in direction, and asymptotically align with the gradient flow path, with consequences on margin maximization, convergence of saliency maps, and a few other settings. Our analysis complements and is distinct from the well-known neural tangent and mean-field theories, and in particular makes no requirements on network width and initialization, instead merely requiring perfect classification accuracy. The proof proceeds by developing a theory of unbounded nonsmooth Kurdyka-Łojasiewicz inequalities for functions definable in an o-minimal structure, and is also applicable outside deep learning.

Motivation & Objective

  • To resolve concerns about unstable prediction surfaces and generalization in deep networks despite diverging weights.
  • To establish directional convergence of network parameters under minimal assumptions, particularly perfect classification.
  • To extend convergence to gradients and saliency maps when gradients are locally Lipschitz.
  • To provide a theoretical framework independent of neural tangent or mean-field theories, avoiding width and initialization constraints.

Proposed method

  • Develops a theory of unbounded nonsmooth Kurdyka-Łojasiewicz (KŁ) inequalities for functions definable in an o-minimal structure.
  • Analyzes gradient flow using the Clarke subdifferential for non-differentiable, non-convex losses like cross-entropy.
  • Proves that normalized weight trajectories have finite length, implying directional convergence, under L-positive homogeneity and definability.
  • Applies the KŁ framework to show that gradients also converge in direction when locally Lipschitz, enabling margin maximization and saliency map convergence.
  • Empirically validates directional convergence in both homogeneous (e.g., modified AlexNet) and non-homogeneous (e.g., DenseNet) networks.
  • Uses measure partitioning and Lipschitz continuity to bound deviations in margin and prediction values across time.

Experimental results

Research questions

  • RQ1Does gradient flow in deep homogeneous networks converge in direction even as weights diverge to infinity?
  • RQ2Can directional convergence be established without requiring wide networks or small initialization perturbations?
  • RQ3Do gradients also converge in direction when they are locally Lipschitz, and what are the implications for margin maximization?
  • RQ4Can the theory be extended beyond homogeneous networks, such as those with skip connections or biases?
  • RQ5How does the proposed KŁ inequality framework compare to neural tangent and mean-field theories in terms of assumptions and scope?

Key findings

  • The normalized weight trajectories $ \frac{W_t}{\|W_t\|} $ converge, implying directional convergence of the network parameters.
  • Prediction margins $ \frac{y_i \Phi(x_i; W_t)}{\|W_t\|^L} $ converge, ensuring stability of generalization-related quantities.
  • When gradients are locally Lipschitz, they converge in direction to the parameter path, enabling convergence of saliency maps and margin maximization.
  • The theory applies to deep networks with ReLU, max-pooling, linear, and convolutional layers, under only homogeneity and definability.
  • Empirical results confirm directional convergence in both homogeneous (e.g., modified AlexNet) and non-homogeneous (e.g., DenseNet) architectures.
  • The framework is independent of neural tangent and mean-field theories, requiring only perfect classification and no width or initialization constraints.

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.