TL;DR
Not all neural representational similarity metrics reflect functional differences: while linear CKA and Procrustes distance align strongly with downstream behavioral patterns, popular neuroscience metrics like linear predictivity and CCA show surprisingly weak behavioral correspondence. By evaluating 8 representational metrics and 9 behavioral measures across 19 vision models and 17 visual datasets, the authors argue that similarity metrics preserving global geometric shape should be prioritized when comparing biological and artificial representations.
What Problem Does This Paper Address?
In computational neuroscience and NeuroAI, researchers frequently compare high-dimensional representations across neural network architectures, training seeds, and biological brains. But which representational similarity metric should we trust?
Most prior benchmarks judge metrics by their ability to recover network design choices—such as matching identical layers across initialization seeds or separating distinct architectures. However, the foundational goal of NeuroAI is functional: internal representational differences should meaningfully predict behavioral differences. This paper investigates how well common representational similarity metrics actually correspond to downstream model behavior under various distribution shifts.
Methods
The authors cross-compared internal representations and behavioral outputs across 19 vision models (including CNNs like ResNet, VGG16, Inception, and ResNeXt; self-supervised MoCo; robust models; Vision Transformers [ViT-B/16, ViT-ResNet, Swin]; and randomly initialized versions of AlexNet, ResNet, ViT, and Swin). Activations were drawn from the penultimate layer (plus the final GELU layer for Transformers).
The study compared 8 representational metrics:
- Geometry / Kernel-based: Linear Centered Kernel Alignment (CKA), Representational Similarity Analysis (RSA with Kendall’s $\tau$).
- Subspace / Alignment-based: Canonical Correlation Analysis (CCA), Linear Predictivity (ridge regression), Procrustes distance.
- Neuron / Neighbor-matching: Mutual $k$-nearest neighbors (MNN with varying $k$), Semi-matching score, and Soft-matching distance (optimal transport over the transportation polytope).
To measure behavior, linear readouts were trained on network activations, and predictions on held-out test sets were evaluated across 9 behavioral metrics:
- Soft activations: Pearson correlation of raw softmax probabilities.
- Confusion matrix consistency: Pearson correlation of flattened matrices, class-wise Jensen-Shannon divergence (JSD), and non-diagonal inter-class JSD.
- Trial-by-trial binary correctness: Pearson correlation, Cohen’s $\kappa$, Jaccard similarity, Hamming distance, and an Agreement Score.
Model separation was quantified using $d'$ discriminability scores between (1) trained vs. untrained models, and (2) CNNs vs. Transformers.
Datasets
The authors evaluated behaviors across 17 visual datasets sharing a 16-class subset of ImageNet-1k (totaling 800–1,280 images per dataset):
- In-distribution baseline: Colour (half greyscale, half color).
- Out-of-distribution & distorted benchmarks: Stylized ImageNet (SIN), Sketch, Edges, Silhouette, Cue Conflict, Contrast variations, High-Pass and Low-Pass filters, Phase-Scrambling, Power-Equalisation, False-Colour, Rotation (0°, 90°, 180°, 270°), Eidolon noise (levels I, II, III), and Uniform Noise.
Key Insights and Ideas
- Behavior reflects training, not architecture: Behavioral metrics reliably separate trained models from untrained ones, but barely differentiate architectural families (CNNs vs. Transformers). Architectural choices matter far less to functional error patterns than whether the network has learned task features.
- Behavioral metrics are far more consistent than representational ones: Across all datasets, behavioral metrics agree tightly with each other (mean $r = 0.85$), whereas representational metrics show considerably lower inter-metric agreement (mean $r = 0.75$).
- Global geometry tracks function; unconstrained linear mappings do not: Metrics that preserve overall geometric configuration (Procrustes, CKA, RSA) correlate well with behavior. In contrast, linear predictivity fits high-dimensional representations flexibly into lower-capacity spaces; as a result, trained representations can predict untrained representations surprisingly well, inflating similarity scores despite vast functional differences.
Key Results
- Separating Trained vs. Untrained Models: Procrustes distance achieved the strongest discriminability ($d' = 3.70$), while CCA ($d' = 0.53$) and Linear Predictivity ($d' = 0.87$) struggled to reliably distinguish trained models from randomly initialized networks.
- Separating Architectures: Soft-matching distance distinguished CNNs from Transformers best ($d' = 1.60$), though behavioral metrics showed minimal differentiation between architectures (best behavioral $d' = 0.65$ via Inter-class JSD).
- Behavioral Alignment:
- Procrustes distance: mean correlation $r = 0.70$ with behavioral similarity matrices.
- Linear CKA: mean correlation $r = 0.64$.
- RSA: mean correlation $r = 0.52$.
- Linear Predictivity: mean correlation $r = 0.26$.
- CCA: mean correlation $r = 0.19$.
Limitations and Future Work
- Fixed Linear Readout Assumption: The framework evaluates behavior via a standard linear classification readout. Alternative readout mechanisms (e.g., non-linear decoders or sparsity-constrained readouts) might alter which representational structures map to behavior.
- Task Scope: Behavior was measured strictly through 16-class object classification under image distortions; fine-grained visual discrimination or non-classification tasks were not tested.
- Theoretical Framework: The paper provides empirical evidence that shape-preserving metrics correlate better with behavior, but acknowledges the lack of a formal mathematical theory explaining why this occurs.
Summary updated