Similarity of Neural Network Representations Revisited

Simon Kornblith, Mohammad Norouzi, Honglak Lee, Geoffrey Hinton
5/1/2019
2,953 citations
cs.LGq-bio.NCstat.ML

No official code found. Best implementation: yuanli2333/CKA-Centered-Kernel-Alignment (313 stars).

Abstract

Recent work has sought to understand the behavior of neural networks by comparing representations between layers and between different trained models. We examine methods for comparing neural network representations based on canonical correlation analysis (CCA).

Show full abstract

We show that CCA belongs to a family of statistics for measuring multivariate similarity, but that neither CCA nor any other statistic that is invariant to invertible linear transformation can measure meaningful similarities between representations of higher dimension than the number of data points. We introduce a similarity index that measures the relationship between representational similarity matrices and does not suffer from this limitation. This similarity index is equivalent to centered kernel alignment (CKA) and is also closely connected to CCA. Unlike CCA, CKA can reliably identify correspondences between representations in networks trained from different initializations.

View on arXivView PDF

Code Implementations(1)

Reproduce CKA: Similarity of Neural Network Representations Revisited

31333

Similar Papers

Cite this paper

@article{kornblith2019similarity,
  title  = {Similarity of Neural Network Representations Revisited},
  author = {Simon Kornblith and Mohammad Norouzi and Honglak Lee and Geoffrey Hinton},
  year   = {2019},
  eprint = {1905.00414},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.00414}
}

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

Discussion