Cross-posted from Bounded Regret.
To understand neural networks, researchers often use similarity metrics to measure how similar or different two neural networks are to each other. For instance, they are used to compare vision transformers to convnets , to understand transfer learning , and to explain the success of standard training practices for deep models . Below is an example visualization using similarity metrics; specifically we use the popular CKA similarity metric (introduced in ) to compare two transformer models across different layers:
Figure 1. CKA (Centered Kernel Alignment) similarity between two networks trained identically except for random initialization. Lower values (darker colors) are more similar. CKA suggests that the two networks have similar representations.
Unfortunately, there isn’t much agreement on which particular
This article is purposely trimmed, please visit the source to read the full article.
The post How should we compare neural network representations? appeared first on The Berkeley Artificial Intelligence Research Blog.