Regularized Gradient Clipping Provably Trains Wide and Deep Neural Networks

Matteo Tucat, Anirbit Mukherjee, Procheta Sen, Mingfei Sun, Omar Rivasplata
4/12/2024
cs.LGmath.OC

No official code found. Best implementation: matteo-tucat/delta-gradient-clipping (0 stars, MIT, last commit 2024-09-23).

Abstract

We present and analyze a novel regularized form of the gradient clipping algorithm, proving that it converges to global minima of the loss surface of deep neural networks under the squared loss, provided that the layers are of sufficient width. The algorithm presented here, dubbed $δ-$GClip, introduces a modification to gradient clipping that leads to a first-of-its-kind example of a step size scheduling for gradient descent that provably minimizes training losses of deep neural nets. We also present empirical evidence that our theoretically founded $δ-$GClip algorithm is competitive with the state-of-the-art deep learning heuristics on various neural architectures including modern transformer based architectures. The modification we do to standard gradient clipping is designed to leverage the PL* condition, a variant of the Polyak-Lojasiewicz inequality which was recently proven to be true for sufficiently wide neural networks at any depth within a neighbourhood of the initialization.

View on arXivView PDF

Code Implementations(1)

MIT
00Python, Jupyter NotebookApr 1, 20242 years agoMIT

Similar Papers

Cite this paper

@article{tucat2024regularized,
  title  = {Regularized Gradient Clipping Provably Trains Wide and Deep Neural Networks},
  author = {Matteo Tucat and Anirbit Mukherjee and Procheta Sen and Mingfei Sun and Omar Rivasplata},
  year   = {2024},
  eprint = {2404.08624},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.08624v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.08624.svg)](https://codeofpaper.com/paper/2404.08624)

Discussion