Grounding Representation Similarity with Statistical Testing

08/03/2021
by   Frances Ding, et al.
9

To understand neural network behavior, recent works quantitatively compare different networks' learned representations using canonical correlation analysis (CCA), centered kernel alignment (CKA), and other dissimilarity measures. Unfortunately, these widely used measures often disagree on fundamental observations, such as whether deep networks differing only in random initialization learn similar representations. These disagreements raise the question: which, if any, of these dissimilarity measures should we believe? We provide a framework to ground this question through a concrete test: measures should have sensitivity to changes that affect functional behavior, and specificity against changes that do not. We quantify this through a variety of functional behaviors including probing accuracy and robustness to distribution shift, and examine changes such as varying random initialization and deleting principal components. We find that current metrics exhibit different weaknesses, note that a classical baseline performs surprisingly well, and highlight settings where all metrics appear to fail, thus providing a challenge set for further improvement.

READ FULL TEXT

page 3

page 5

page 6

page 10

page 11

page 12

page 13

page 16

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
05/01/2019

Similarity of Neural Network Representations Revisited

Recent work has sought to understand the behavior of neural networks by ...
research
01/31/2022

Deconfounded Representation Similarity for Comparison of Neural Networks

Similarity metrics such as representational similarity analysis (RSA) an...
research
02/20/2023

Black Boxes, White Noise: Similarity Detection for Neural Functions

Similarity, or clone, detection has important applications in copyright ...
research
05/10/2023

Similarity of Neural Network Models: A Survey of Functional and Representational Measures

Measuring similarity of neural networks has become an issue of great imp...
research
10/27/2021

Generalized Shape Metrics on Neural Representations

Understanding the operation of biological and artificial networks remain...

Please sign up or login with your details

Forgot password? Click here to reset