Data-dependent Sample Complexity of Deep Neural Networks via Lipschitz Augmentation

Colin Wei, Tengyu Ma
5/9/2019
cs.LGstat.ML

Official code: cwein3/jacobian-reg (0 stars, Python, last commit 2019-10-27).

Abstract

Existing Rademacher complexity bounds for neural networks rely only on norm control of the weight matrices and depend exponentially on depth via a product of the matrix norms. Lower bounds show that this exponential dependence on depth is unavoidable when no additional properties of the training data are considered.

Show full abstract

We suspect that this conundrum comes from the fact that these bounds depend on the training data only through the margin. In practice, many data-dependent techniques such as Batchnorm improve the generalization performance. For feedforward neural nets as well as RNNs, we obtain tighter Rademacher complexity bounds by considering additional data-dependent properties of the network: the norms of the hidden layers of the network, and the norms of the Jacobians of each layer with respect to all previous layers. Our bounds scale polynomially in depth when these empirical quantities are small, as is usually the case in practice. To obtain these bounds, we develop general tools for augmenting a sequence of functions to make their composition Lipschitz and then covering the augmented functions. Inspired by our theory, we directly regularize the network's Jacobians during training and empirically demonstrate that this improves test performance.

View on arXivView PDF

Code Implementations(1)

Implementation of the Jacobian regularizer in this paper: https://arxiv.org/abs/1905.03684.

00PythonOct 27, 20197 years ago

Similar Papers

Cite this paper

@article{wei2019datadependent,
  title  = {Data-dependent Sample Complexity of Deep Neural Networks via Lipschitz Augmentation},
  author = {Colin Wei and Tengyu Ma},
  year   = {2019},
  eprint = {1905.03684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.03684}
}

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

Discussion