Inner Product-based Neural Network Similarity
Wei Chen, Zichen Miao, Qiang Qiu
Abstract
Analyzing representational similarity among neural networks (NNs) is essential for interpreting or transferring deep models. In application scenarios where numerous NN models are learned, it becomes crucial to assess model similarities in computationally efficient ways. In this paper, we propose a new paradigm for reducing NN representational similarity to filter subspace distance. Specifically, when convolutional filters are decomposed as a linear combination of a set of filter subspace elements, denoted as filter atoms , and have those decomposed atom coefficients shared across networks, NN representational similarity can be significantly simplified as calculating the cosine distance among respective filter atoms, to achieve millions of times computation reduction over popular probing-based methods. We provide both theoretical and empirical evidence that such simplified filter subspace-based similarity preserves a strong linear correlation with other popular probing-based metrics, while being significantly more efficient to obtain and robust to probing data. We further validate the effectiveness of the proposed method in various application scenarios where numerous models exist, such as federated and continual learning as well as analyzing training dynamics. We hope our findings can help further explorations of real-time large-scale representational similarity analysis in neural networks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers8
- Generative Quanta Color ImagingVishal Purohit, Junjie Luo, Yiheng Chi, Qi Guo et al.CVPR 2024 · 1 citation
- Tuning Timestep-Distilled Diffusion Model Using Pairwise Sample OptimizationZichen Miao, Zhengyuan Yang, Kevin Lin, Ze Wang et al.ICLR 2025
- Unlocking Efficient, Scalable, and Continual Knowledge Editing with Basis-Level Representation Fine-TuningTianci Liu, Ruirui Li, Yunzhe Qi, Hui Liu et al.ICLR 2025
- Continuous Viewpoint Adaptation for Single View 3D Object ReconstructionSeunghyun Hwang, Qiang QiuICML 2026
- KoopSTD: Reliable Similarity Analysis between Dynamical Systems via Approximating Koopman Spectrum with Timescale DecouplingShimin Zhang, Ziyuan Ye, Yinsong Yan, Zeyang Song et al.ICML 2025
Builds on8
- Ditto: Fair and Robust Federated Learning Through PersonalizationTian Li, Shengyuan Hu, Ahmad Beirami, Virginia SmithICML 2021 · 1,313 citations
- Exploiting Shared Representations for Personalized Federated LearningLiam Collins, Hamed Hassani, Aryan Mokhtari, Sanjay ShakkottaiICML 2021 · 1,081 citations
- Personalized Cross-Silo Federated Learning on Non-IID DataYutao Huang, Lingyang Chu, Zirui Zhou, Lanjun Wang et al.AAAI 2021 · 816 citations
- On Feature Decorrelation in Self-Supervised LearningTianyu Hua, Wenxiao Wang, Zihui Xue, Sucheng Ren et al.ICCV 2021 · 237 citations
- A Broad Study on the Transferability of Visual Representations with Contrastive LearningAshraful Islam, Chun-Fu Chen, Rameswar Panda, Leonid Karlinsky et al.ICCV 2021 · 131 citations
Related papers
- Continual Learning with Filter Atom SwappingZichen Miao, Ze Wang, Wei Chen, Qiang QiuICLR 2022 · 35 citations
- Generalized Shape Metrics on Neural RepresentationsAlex H. Williams, Erin Kunz, Simon Kornblith, Scott W. LindermanNeurIPS 2021 · 182 citations
- Experimental Observations of the Topology of Convolutional Neural Network ActivationsEmilie Purvine, Davis Brown, Brett A. Jefferson, Cliff A. Joslyn et al.AAAI 2023 · 21 citations
- Large Convolutional Model Tuning via Filter SubspaceWei Chen, Zichen Miao, Qiang QiuICLR 2025
- Normalized Space Alignment: A Versatile Metric for Representation AnalysisDanish Ebadulla, Aditya Gulati, Ambuj K. SinghKDD 2025
