Learning to Compare Neural Representations from Parameterized Computation Graphs
Ya-Wei Eileen Lin, Daniel Herbst, Stefanie Jegelka
Abstract
Comparing internal representations across trained models is important for identifying corresponding layers and selecting components for model reuse. Yet, direct comparisons at inference require evaluating candidate models on known reference inputs and collecting their internal activations. In this paper, we study whether internal representation similarity measured across independently trained models can instead be learned to predict in unseen models from their parameterized computations. We introduce a framework that applies a graph metanetwork for mapping each internal site to an embedding derived from its upstream computations while accounting for hidden-coordinate permutation and internal attention-basis transformations. We analyze the structural properties of our estimators and derive conditional guarantees for layer retrieval and stitching candidate selection. Empirically, we find that the learned predictors support relation estimation and low-regret layer retrieval. They also select useful stitching connections while not being trained on stitching outcomes. This opens up a new way to study representation similarity directly from trained neural networks: representational relations learned across a collection of trained models can generalize to new computations, and that the predicted relations can guide candidate selection before direct measurement or adapter fitting for functional evaluations.
Create a lesson
Related papers
FEA solver integration of a composite World Model with a Spiking Neural Network memory Block for computationally efficient modelling of defects and variabilities
Shared title terminology · Bassam El Said, Adam Sobey
Scone: Symmetry-aware Neural Combinatorial Optimization for Graph Coloring
Shared title terminology · Paolo Pellizzoni, Melanie Weber
Quantum-Informed Regularized Poisson Learning for Graph-Based Semi-Supervised Classification
Shared title terminology · Hamed Gholipour, Farid Bozorgnia, Hamzeh Mohammadigheymasi et al.
Verifying and Strengthening Neural Tangent Kernel Theory
Shared title terminology · Hao Zhu
Improved Accuracy Scaling with Problem Complexity in LLM Arithmetic Reasoning Using Executable Symbolic Representations
Shared title terminology · Yu-Bin Liu, Shi-Ju Ran
BusemannFormer: Horospherical Self-Attention for Hyperbolic Graph Transformers
Shared title terminology · Youheng Yao, Ziyao Zeng, Wenbo Liao et al.