Similarity of Neural Network Representations Revisited

05/01/2019
by   Simon Kornblith, et al.
20

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

READ FULL TEXT

page 6

page 7

page 18

page 19

page 20

research
01/31/2022

Deconfounded Representation Similarity for Comparison of Neural Networks

Similarity metrics such as representational similarity analysis (RSA) an...
research
06/14/2018

Insights on representational similarity in neural networks with canonical correlation

Comparing different neural network representations and determining how r...
research
11/22/2021

Graph-Based Similarity of Neural Network Representations

Understanding the black-box representations in Deep Neural Networks (DNN...
research
07/27/2020

Measuring similarity in co-occurrence data using ego-networks

The co-occurrence association is widely observed in many empirical data....
research
10/28/2022

Reliability of CKA as a Similarity Measure in Deep Learning

Comparing learned neural representations in neural networks is a challen...
research
08/03/2021

Grounding Representation Similarity with Statistical Testing

To understand neural network behavior, recent works quantitatively compa...

Please sign up or login with your details

Forgot password? Click here to reset