Geometry-Adaptive Explainer for Faithful Dictionary-Based Interpretability under Distribution Shift
Sungjun Lim, Heedong Kim, Andrew Lee, Kyungwoo Song
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Catastrophic Forgetting in Continual Learning · Type: new method · Keywords: dictionary-based explainers, distribution shift, faithfulness gap, mechanistic interpretability, out-of-distribution
Areas: Interpretability › Mechanistic Interpretability › Concept Geometry and Interpretability
Summary
The Geometry-Adaptive Explainer (GAE) realigns dictionary-based explainers with the OOD-active subspace using only unlabeled OOD activations, improving causal faithfulness under distribution shift.
Explained to a 5-year-old
When a computer learns to recognize things, it builds a set of rules to explain its decisions. If we show it new kinds of things it has never seen, those rules might not work anymore. Scientists noticed that the explanations become wrong when the new things are different. They found a way to fix the explanations by looking at the new things without having to retrain the whole computer. This helps us trust the computer's decisions even when it meets unfamiliar situations.
Explained to a 5-year-old, longer
A computer program can be thought of as a brain that tries to understand pictures or words. It learns a set of simple ideas that help it decide what something is. These ideas are like a dictionary that maps parts of the picture to meanings. When the program sees something completely new, like a toy it has never looked at, its dictionary may not match the new thing. This mismatch makes the program's explanations less trustworthy. Researchers wanted to know how badly the explanations break when the program meets new data. They discovered that the new data rotates the way the program uses its ideas, moving them away from the old dictionary. They called this distance the "faithfulness gap" because it measures how far the explanations have drifted. To fix this, they created a method that aligns the dictionary with the new way the program works. The method only needs the new data without labels, and it does not need to change the program's training. By adjusting the dictionary, the explanations become accurate again for the new situations. This makes the computer more reliable when it encounters unfamiliar objects or language.
For a technical reader
The paper addresses the problem that interpretability tools based on dictionary models lose accuracy when the underlying model is applied to data that differs from its training distribution. It shows that this loss can be measured as a geometric distance between the original dictionary and the subspace the model actually uses on new data. The proposed solution automatically aligns the dictionary with the new subspace using only unlabeled out-of-distribution activations, requiring no additional training. Theoretical analysis proves that the alignment reduces the excess loss quadratically with respect to the shift in the data’s second-moment. Empirically, the approach matches or exceeds existing baselines in causal faithfulness across several models and distribution shifts.
Problem
Dictionary-based interpretability methods, such as sparse autoencoders, lose faithfulness when the model is applied to data from a different distribution because the features they capture become misaligned with the model's actual behavior. This misalignment leads to degraded explanations for out-of-distribution inputs.
Method
The approach detects the shift in the subspace of model activations caused by distribution change and aligns the explainer's dictionary with this new subspace using only unlabeled OOD data, without any gradient updates. It preserves the original feature structure while reducing the geometric distance between the in-distribution dictionary and the out-of-distribution active subspace.
Results
The approach improves causal faithfulness under OOD shift and matches or exceeds the performance of training-based baselines across several models and distribution shifts.
Contributions
It formalizes the faithfulness gap as a geometric distance, provides a bound on excess loss related to second-moment shift, and introduces a method to adapt dictionary explainers using only unlabeled OOD activations.
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