Skip to main content
QUICK REVIEW

[Paper Review] How does Weight Correlation Affect Generalisation Ability of Deep Neural Networks

Gaojie Jin, Xinping Yi|arXiv (Cornell University)|Sep 27, 2020
Neural Networks and ApplicationsComputer Science4 citations
TL;DR

This paper introduces weight correlation as a new measure of neural network complexity and integrates it into the PAC-Bayesian framework to improve generalization bounds. By proposing a novel regularizer that reduces weight correlation, the authors demonstrate significant reductions in generalization error across multiple experiments, outperforming existing complexity measures.

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. 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.

Motivation & Objective

  • To investigate how weight correlation—defined as cosine similarity between weight vectors—impacts the generalization ability of deep neural networks.
  • To extend the PAC-Bayesian framework by incorporating weight correlation into generalization bounds.
  • To develop a new complexity measure that ranks generalization errors more accurately than existing methods.
  • To design and evaluate a novel regularizer that explicitly controls weight correlation during training.

Proposed method

  • Define weight correlation as the average cosine similarity between neuron weight vectors in fully-connected layers and between filter matrices in convolutional layers.
  • Theoretically integrate weight correlation into the PAC-Bayesian framework, deriving a generalization bound that is monotonic with respect to weight correlation.
  • Propose a new complexity measure that lifts the standard PAC-Bayes bound by including weight correlation as a structural regularizer.
  • Design a differentiable regularizer that penalizes high weight correlation during backpropagation to encourage lower correlation in trained weights.
  • Train networks with and without the proposed regularizer across multiple architectures and datasets to evaluate generalization performance.
  • Compare the proposed complexity measure against existing ones using empirical generalization error rankings.

Experimental results

Research questions

  • RQ1How does weight correlation influence the generalization performance of deep neural networks?
  • RQ2Can weight correlation be formally incorporated into the PAC-Bayesian generalization bound to yield tighter and more informative bounds?
  • RQ3Does a complexity measure that includes weight correlation better predict generalization error than existing measures?
  • RQ4Can a regularizer that reduces weight correlation lead to improved generalization during training?
  • RQ5How does the proposed method compare to state-of-the-art complexity measures and regularization techniques in practice?

Key findings

  • The proposed generalization bound that includes weight correlation is monotonic with respect to correlation, meaning lower correlation leads to tighter bounds.
  • The new complexity measure, which incorporates weight correlation, ranks generalization errors of different networks more accurately than existing measures.
  • The proposed regularizer significantly reduces generalization error across multiple datasets and network architectures.
  • Experiments confirm that training with the new regularizer leads to lower test error compared to baseline models without it.
  • The method demonstrates consistent improvements in generalization performance, validating the theoretical claims about the role of weight correlation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.