Similarity of Neural Network Models: A Survey of Functional and Representational Measures
Max Klabunde, Tobias Schumacher, Markus Strohmaier, Florian Lemmerich
TL;DR
The paper provides a comprehensive taxonomy and formal framework for two complementary notions of neural network similarity: representations of intermediate activations and models' outputs. It surveys and categorizes dozens of measures across six representational families (CCA-based, alignment-based, RSM-based, neighborhood-based, topology-based, descriptive statistics) and five functional categories (performance-based, hard/soft predictions, gradient/adversarial, and stitching). The work analyzes properties, invariances, robustness, and applicability while highlighting open questions and the need for systematic evaluation via benchmarks like ReSi. It aims to guide researchers and practitioners in selecting appropriate similarity measures for tasks such as distillation, pruning, continual learning, and model merging, and to spur more rigorous, context-aware analyses of model similarity.
Abstract
Measuring similarity of neural networks to understand and improve their behavior has become an issue of great importance and research interest. In this survey, we provide a comprehensive overview of two complementary perspectives of measuring neural network similarity: (i) representational similarity, which considers how activations of intermediate layers differ, and (ii) functional similarity, which considers how models differ in their outputs. In addition to providing detailed descriptions of existing measures, we summarize and discuss results on the properties of and relationships between these measures, and point to open research problems. We hope our work lays a foundation for more systematic research on the properties and applicability of similarity measures for neural network models.
