Can Circuit Alignment Predict OOD Generalization?
Ayan Banerjee, ABHRA CHAUDHURI, Josep Llados, Umapada Pal, Anjan Dutta
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Out-Distribution Detection Methods · Type: new method · Keywords: out-of-distribution generalization, circuit alignment, graph kernels, Monte Carlo estimation, distributional robustness
Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Out-of-Distribution Detection; Continual Learning & Adaptation › Domain Shift Adaptation › Out-of-Distribution Detection
Summary
The paper introduces the Circuit Alignment Score (CAS) to predict OOD generalization from model weights alone, showing it consistently ranks learners by OOD accuracy.
Explained to a 5-year-old
We want to know if a computer brain will work in a new place without seeing that place. Old ways to compare brains are not good at catching changes that happen when the place changes. The new method looks at how the brain's parts line up across different places and makes a score. This score can guess how well the brain will do without needing any extra data from the new place. It is proven to be accurate and works well on many tests.
Explained to a 5-year-old, longer
Imagine a computer program that learns to recognize cats and dogs. When we use it on a new picture, we want it to know if it will still work. Sometimes the pictures are different, like a cat drawn in a cartoon style. We want a way to tell if the program will still work on those new pictures without showing it any new pictures. Existing ways to compare programs only look at the numbers inside, not at how the program is organized. Those old ways miss important changes that happen when the pictures change. The new idea looks at how the program's parts line up across different kinds of pictures. It checks if the same parts are used for the same objects and if different parts get mixed up. This gives a score that tells us how well the program will do in new places. The score works without needing any extra pictures from the new place. It is based on a math idea that says the score will get more accurate the more places we look at. In tests, this score matches how well the program actually works much better than the old methods.
For a technical reader
The paper addresses the problem of predicting out-of-distribution generalization from a model’s weights alone. It shows that existing similarity metrics miss structural changes caused by distribution shift and are provably inconsistent. The proposed method aligns class-specific circuits across domains using graph kernels and provides a Monte Carlo estimator with a guaranteed O(1/M) error decay. Empirical results on 48 learners demonstrate a 0.88 rank correlation with true OOD accuracy, far surpassing prior metrics.
Problem
Can out-of-distribution generalization be predicted from a trained model's weights without any target-domain data? Existing representational similarity metrics are shown to be insensitive to the structural rerouting that distribution shift induces.
Method
The approach compares class-specific circuits across domains using graph kernels, decomposing alignment into same-class coherence and cross-class confusion. It formulates the score as a Lebesgue integral over the domain distribution and provides a Monte Carlo estimator whose error decays as O(1/M). This yields a provably consistent predictor of OOD accuracy without requiring target data.
Results
Across 48 learners on PACS, the approach achieves a rank correlation of 0.88 with OOD accuracy, compared to 0.58 for CKA, 0.23 for SVCCA, and 0.14 for RSA. The Monte Carlo estimator's pairwise inversion error decays as O(1/M), providing consistent rankings.
Contributions
The paper demonstrates that existing similarity metrics are provably insensitive to structural rerouting and introduces a provably consistent predictor of OOD generalization that requires no target-domain data or labels. It provides theoretical analysis showing the estimator's error vanishes at rate O(1/M) and empirical validation across many learners.
Practical relevance
Provides a data-free tool for assessing model robustness before deployment, enabling safer use of AI systems in new environments.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction