Optimization and Generalization Guarantees for Weight Normalization
Pedro Cisneros-Velarde, Zhijie Chen, Sanmi Koyejo, Arindam Banerjee
TL;DR
This paper analyzes optimization and generalization for deep WeightNorm networks with smooth activations. It derives a bound on the predictor Hessian $\| abla^2_\theta f(\theta; x)\|_2$ that scales with depth as $L^3$ and width as $m$, and inversely with the minimum weight norm, enabling gradient-descent convergence guarantees. It also establishes a uniform-convergence based generalization bound that is independent of width and scales as ${\cal O}(\sqrt{L}/\sqrt{n})$, using the Rademacher complexity of WeightNorm networks. Empirical results on CIFAR-10 and MNIST corroborate the theoretical links between normalization terms and training dynamics, illustrating practical impact of WeightNorm on optimization and generalization.
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.
