Optimization and Generalization Guarantees for Weight Normalization

Pedro Cisneros-Velarde, Zhijie Chen, Sanmi Koyejo, Arindam Banerjee
9/13/2024
cs.LGcs.AImath.OC

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Weight normalization (WeightNorm) is widely used in practice for the training of deep neural networks and modern deep learning libraries have built-in implementations of it. In this paper, we provide the first theoretical characterizations of both optimization and generalization of deep WeightNorm models with smooth activation functions. For optimization, from the form of the Hessian of the loss, we note that a small Hessian of the predictor leads to a tractable analysis. Thus, we bound the spectral norm of the Hessian of WeightNorm networks and show its dependence on the network width and weight normalization terms--the latter being unique to networks without WeightNorm. Then, we use this bound to establish training convergence guarantees under suitable assumptions for gradient decent. For generalization, we use WeightNorm to get a uniform convergence based generalization bound, which is independent from the width and depends sublinearly on the depth. Finally, we present experimental results which illustrate how the normalization terms and other quantities of theoretical interest relate to the training of WeightNorm networks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cisnerosvelarde2024optimization,
  title  = {Optimization and Generalization Guarantees for Weight Normalization},
  author = {Pedro Cisneros-Velarde and Zhijie Chen and Sanmi Koyejo and Arindam Banerjee},
  year   = {2024},
  eprint = {2409.08935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08935v2}
}

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/2409.08935.svg)](https://codeofpaper.com/paper/2409.08935)

Discussion