ReSi Benchmark Models (Vision - Part 3)

Max Klabunde, Tassilo Wald, Tobias Schumacher, Klaus Maier‐Hein, Markus Strohmaier, Florian Lemmerich · DOI

Abstract

Measuring the similarity of different representations of neural architectures is a fundamental task and an open research challenge for the machine learning community. This paper presents the first comprehensive benchmark for evaluating representational similarity measures based on well-defined groundings of similarity. The representational similarity (ReSi) benchmark consists of (i) six carefully designed tests for similarity measures, (ii) 24 similarity measures, (iii) 14 neural network architectures, and (iv) seven datasets, spanning over the graph, language, and vision domains. The benchmark opens up several important avenues of research on representational similarity that enable novel explorations and applications of neural architectures. We demonstrate the utility of the ReSi benchmark by conducting experiments on various neural network architectures, real world datasets and similarity measures. All components of the benchmark are publicly available and thereby facilitate systematic reproduction and production of research results. The benchmark is extensible, future research can build on and further expand it. We believe that the ReSi benchmark can serve as a sound platform catalyzing future research that aims to systematically evaluate existing and explore novel ways of comparing representations of neural architectures.

Introduction: The Challenge of Latent Space Comparison

Deep learning models are often characterized as "black boxes," where high-dimensional vectors produced by hidden layers—known as representations—hold the key to understanding model behavior. Comparing these representations is essential for tasks ranging from analyzing learning dynamics to assessing model robustness and transferability. However, the field currently lacks a consensus on what constitutes "similarity" in latent space. While numerous measures like Centered Kernel Alignment (CKA), RSA, and SVCCA have been proposed, they are frequently introduced without a systematic framework for evaluation.

The Representational Similarity (ReSi) benchmark addresses this gap. It is the first comprehensive framework designed to evaluate how effectively different measures capture the underlying similarity between neural network representations across diverse domains.

The ReSi Benchmark Methodology

The ReSi benchmark evaluates 24 different similarity measures—categorized into CCA-based, Alignment-based, RSM-based, and Topology-based types—across vision, language, and graph domains. The core of the benchmark lies in its structured approach to ranking these measures based on their ability to capture "ground truth" similarity.

Overview of the ReSi Benchmark workflow, from model design to measure ranking.

The evaluation relies on two primary grounding strategies:

  1. Grounding by Prediction: This strategy posits that a reliable measure should reflect model behavior. If two models exhibit significant differences in accuracy or produce divergent individual predictions, the similarity measure should report low similarity between their representations.
  2. Grounding by Design: Here, the authors create model groups with known similarity properties. For instance, models trained on identical true labels should be more similar than those trained on random noise. Other tests include "Shortcut Affinity" (detecting reliance on specific features) and "Layer Monotonicity" (expecting adjacent layers to be more similar than distant ones).

Domain-Specific Performance and Key Insights

One of the most significant findings of the ReSi benchmark is the "No Free Lunch" theorem for similarity measures. No single measure dominates across all data modalities. For example, while CKA is a top performer for language models, it ranks significantly lower in the graph domain.

Domain Highlights:

  • Graphs: Neighborhood-based measures, such as 2nd-Order Cosine Similarity, proved most effective.
  • Language: Linear CKA and Distance Correlation emerged as the most reliable metrics.
  • Vision: Surprisingly, Jaccard similarity—a neighborhood-based measure—outperformed more complex alternatives, challenging the status quo in vision research.
Ranking of similarity measures for the Language domain, showing CKA and DistCorr as top performers.

The benchmark also highlighted the critical role of preprocessing. Minor adjustments, such as column centering or unit norm normalization, can drastically alter a measure's performance. This suggests that the absolute magnitude of activations may carry more semantic weight than previously assumed.

Conclusion and Future Directions

The ReSi benchmark provides a much-needed standardized "leaderboard" for representational similarity. While measures like Orthogonal Procrustes showed consistent mid-to-high performance, others like RSA and SVCCA were highly inconsistent. Furthermore, the computational cost varies wildly; topology-based measures are often orders of magnitude slower than alignment-based ones.

Future work will likely expand this benchmark to include multimodal alignment (e.g., comparing vision vs. text representations in models like CLIP) and deeper investigations into intermediate layers. By making the code, architectures, and measures publicly available, the ReSi benchmark serves as a foundational platform for the systematic evaluation of how we compare neural network representations.

Summary updated

BibTeX
@inproceedings{klabunde2025resi,
  author = {Max Klabunde and Tassilo Wald and Tobias Schumacher and Klaus Maier‐Hein and Markus Strohmaier and Florian Lemmerich},
  title = {{ReSi Benchmark Models (Vision - Part 3)}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=PRvdO3nfFi},
}
Figure