How should we compare neural network representations? – The Berkeley Artificial Intelligence Research Blog
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 [1], to understand transfer learning [2], and to explain the success of standard training practices for deep models [3]. Below is an example visualization using similarity metrics; specifically we use the popular CKA similarity metric (introduced in [4]) 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 similarity metric to use. Here’s the exact same figure, but produced using the Canonical Correlation Analysis (CCA) metric instead of CKA: Figure 2. CCA (Canonical
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 [1], to understand transfer learning [2], and to explain the success of standard training practices for deep models [3]. Below is an example visualization using similarity metrics; specifically we use the popular CKA similarity metric (introduced in [4]) to compare two transformer models across different layers: Figure 1. CKA (Centered Kernel Al
Explore this link on the map →related reading
- Home - colah's blogcolah.github.io
- Zoom In: An Introduction to Circuitsdistill.pub
- Distill — Latest articles about machine learningdistill.pub
- The Platonic Representation Hypothesisphillipi.github.io
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- Neural Networks, Manifolds, and Topology -- colah's blogcolah.github.io
- Keynote & Tutorial – Quantifying Similarity between Neural Population Codes2024.ccneuro.org
- The Building Blocks of Interpretabilitydistill.pub
- Feature Visualizationdistill.pub
- Alexa Tartaglini | aboutalexatartaglini.com
- The World Inside Neural Networksgoodfire.ai
- [2506.11035] Tversky Neural Networks: Psychologically Plausible Deep Learning with Differentiable Tversky Similarityarxiv.org