mlsanityData to 7 Oct 2026

Differentiable Optimization of Similarity Scores Between Models and Brains

arXiv 2407.07059 ↗First posted 9 Jul 2024q-bio.NC cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

How do we know if two systems - biological or artificial - process information in a similar way? Similarity measures such as linear regression, Centered Kernel Alignment (CKA), Normalized Bures Similarity (NBS), and angular Procrustes distance, are often used to quantify this similarity. However, it is currently unclear what drives high similarity scores and even what constitutes a "good" score. Here, we introduce a novel tool to investigate these questions by differentiating through similarity measures to directly maximize the score. Surprisingly, we find that high similarity scores do not guarantee encoding task-relevant information in a manner consistent with neural data; and this is particularly acute for CKA and even some variations of cross-validated and regularized linear regression. We find no consistent threshold for a good similarity score - it depends on both the measure and the dataset. In addition, synthetic datasets optimized to maximize similarity scores initially learn the highest variance principal component of the target dataset, but some methods like angular Procrustes capture lower variance dimensions much earlier than methods like CKA. To shed light on this, we mathematically derive the sensitivity of CKA, angular Procrustes, and NBS to the variance of principal component dimensions, and explain the emphasis CKA places on high variance components. Finally, by jointly optimizing multiple similarity measures, we characterize their allowable ranges and reveal that some similarity measures are more constraining than others. While current measures offer a seemingly straightforward way to quantify the similarity between neural systems, our work underscores the need for careful interpretation. We hope the tools we developed will be used by practitioners to better understand current and future similarity measures.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 6 of its 24 references that are in the map. First posted on arXiv 9 Jul 2024.

Builds on

6 of 24 references.

References · 6

  1. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  2. 2023Getting aligned on representational alignmentcited by 142
  3. 2021Generalized Shape Metrics on Neural Representationscited by 109
  4. 2018Task-Driven Convolutional Recurrent Models of the Visual Systemcited by 27
  5. 2020Similarity of Neural Networks with Gradientscited by 16
  6. 2023Duality of Bures and Shape Distances with Implications for Comparing Neural Representationscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 6; 2026: 1.

10 papers.