Constructive Causal Abstraction and a Case Study in Mechanistic Interpretability
Organizations: Department of Computer Science University College London · Max Planck Institute for Intelligent Systems · Amazon
Abstract
Existing frameworks in causal abstraction first propose a high-level causal model, and then verify whether its interventional effects agree with those of a given micro-level model - the two models are declared causally consistent when the discrepancy is zero. However, proposing a consistent macro causal model is difficult, because macro causal relations are almost never well-defined, since distinct micro-level interventions associated with the same apparent macro intervention can produce different effects. Our central insight is that causally consistent macro-level models can be obtained constructively: ill-defined macro interventions can be interpreted as missing variables on the macro level, and can be accounted for by introducing a complementary variable q that retains omitted causally relevant state. In the linear case, q has a unique form and we provide sufficient conditions for valid implementations to exist; in the nonlinear case, we provide an ODE-based algorithm for constructing implementations. We call this framework Constructive Causal Abstraction (CCA), and use CCA to formulate the difference between machine-learning model auditing and editing. With the Bias-in-Bios biographies dataset, we demonstrate that CCA allows practitioners to articulate assumptions when detecting the model's gender bias. Finally, CCA resolves a well-known paradox known as "interpretability illusion" which points to a mismatch between the subspace for editing and the one where the model implements a signal-to-output pathway.
Figures & tables
| Profession | Nurse | Surgeon | Dietitian | Yoga teacher | Paralegal | Architect | Interior designer | Chiropractor | Software engineer | Psychologist |
|---|---|---|---|---|---|---|---|---|---|---|
| Coefficient |
| Split | Mean absolute per logit | Text profession flips | Fixed- macro-predicted flips |
|---|---|---|---|
| Macro fit | 0.15801 | 60/1213 | 13/1213 |
| Calibration | 0.16599 | 67/1223 | 13/1223 |
| Held-out | 0.16016 | 65/1220 | 13/1220 |
| Predicted profession before after | Largest-change class | Class probability before after | (pp) | |
|---|---|---|---|---|
| journalist journalist | journalist | |||
| professor professor | professor | |||
| professor professor | professor | |||
| journalist journalist | journalist | |||
| nurse teacher | nurse | |||
| physician physician | physician |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Causal Abstraction
Causal abstraction relates detailed causal models to simpler models while preserving the interventions and effects that matter.
See all 30 papers