Can Circuit Alignment Predict OOD Generalization?
Ayan Banerjee, Abhra Chaudhuri, Josep Llados, Umapada Pal, Anjan Dutta
Abstract
Can out-of-distribution (OOD) generalization be predicted from a trained model's weights alone, without any target-domain data? Existing representational similarity metrics (CKA, SVCCA, RSA) compare activations rather than forecast generalization. We show they are provably insensitive to structural rerouting in the computational graph, the very change distribution shift induces. We close this gap with the Circuit Alignment Score (CAS), which compares class-specific circuits across domains via graph kernels, decomposed into same-class coherence and cross-class confusion. Casting CAS as a Lebesgue integral over the domain distribution, we prove its Monte Carlo estimate recovers the ground-truth ranking of learners by OOD accuracy, with pairwise inversion error vanishing at rate , where is the number of sampled domains. Across learners on PACS, CAS attains rank correlation with OOD accuracy, versus (CKA), (SVCCA), and (RSA), with similar trends on other benchmarks and even against data-dependent methods, making it the first provably consistent predictor of distributional robustness requiring neither target-domain data nor labels. The code is available at: https://github.com/ayanban011/ACE
Create a lesson
Metadata
- Comments
- Accepted at NeurIPS 2026
Related papers
A General Framework for Post-Hoc Predictive Distributions on Fixed Regression Models via Local Error Distributions
Shared title terminologycs.LGBreno Freitas, Youcef Msaid, Tiago A. Almeida
Lattice: From Tabular Foundation Models to General-Purpose Predictive Systems
Shared title terminologycs.LGSi-Yang Liu, Hao-Run Cai, Yi-Chen Zhu et al.
STAMP: Predicting Out-of-Distribution Generalization without Target Data
Shared title terminologycs.LGMd Kawsher Mahbub, Milon Biswas
Predicting falls and near falls with wearable IMU and ECG in parkinson
Shared title terminologycs.LGMuqing Jian, Wenbo Ding, Xusheng Zhu et al.
Local Affine Quantization for KV Caches: From Shared Ranges to Prediction Error
Shared title terminologycs.LGShrey Shah, Rohith Kukkala
Conformal Prediction with Nested Modality Masks
Shared title terminologycs.LGAlireza Moayedikia