How does Weight Correlation Affect the Generalisation Ability of Deep Neural Networks

Gaojie Jin, Xinping Yi, Liang Zhang, Lijun Zhang, Sven Schewe +1 more
10/12/2020
cs.LGcs.AI

Official code: Alexkael/NeurIPS2020_Weight_Correlation (8 stars, Jupyter Notebook, last commit 2020-11-03).

Abstract

This paper studies the novel concept of weight correlation in deep neural networks and discusses its impact on the networks' generalisation ability. For fully-connected layers, the weight correlation is defined as the average cosine similarity between weight vectors of neurons, and for convolutional layers, the weight correlation is defined as the cosine similarity between filter matrices.

Show full abstract

Theoretically, we show that, weight correlation can, and should, be incorporated into the PAC Bayesian framework for the generalisation of neural networks, and the resulting generalisation bound is monotonic with respect to the weight correlation. We formulate a new complexity measure, which lifts the PAC Bayes measure with weight correlation, and experimentally confirm that it is able to rank the generalisation errors of a set of networks more precisely than existing measures. More importantly, we develop a new regulariser for training, and provide extensive experiments that show that the generalisation error can be greatly reduced with our novel approach.

View on arXivView PDF

Code Implementations(1)

80Jupyter Notebook, PythonSep 24, 20206 years ago

Similar Papers

Cite this paper

@article{jin2020does,
  title  = {How does Weight Correlation Affect the Generalisation Ability of Deep Neural Networks},
  author = {Gaojie Jin and Xinping Yi and Liang Zhang and Lijun Zhang and Sven Schewe and Xiaowei Huang},
  year   = {2020},
  eprint = {2010.05983},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.05983}
}

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

Discussion