[Paper Review] Causal Proxy Models for Concept-Based Model Explanations
This paper introduces Causal Proxy Models (CPMs), a novel framework for concept-based model explanations in NLP that uses approximate counterfactuals—either human-annotated or heuristically generated—to train surrogate models that mimic both the factual and counterfactual behavior of a black-box model. The CPMs achieve state-of-the-art performance on the CEBaB benchmark and can replace the original model, offering high factual accuracy and interpretable, causally motivated explanations via localized concept representations in hidden states.
Explainability methods for NLP systems encounter a version of the fundamental problem of causal inference: for a given ground-truth input text, we never truly observe the counterfactual texts necessary for isolating the causal effects of model representations on outputs. In response, many explainability methods make no use of counterfactual texts, assuming they will be unavailable. In this paper, we show that robust causal explainability methods can be created using approximate counterfactuals, which can be written by humans to approximate a specific counterfactual or simply sampled using metadata-guided heuristics. The core of our proposal is the Causal Proxy Model (CPM). A CPM explains a black-box model $\mathcal{N}$ because it is trained to have the same actual input/output behavior as $\mathcal{N}$ while creating neural representations that can be intervened upon to simulate the counterfactual input/output behavior of $\mathcal{N}$. Furthermore, we show that the best CPM for $\mathcal{N}$ performs comparably to $\mathcal{N}$ in making factual predictions, which means that the CPM can simply replace $\mathcal{N}$, leading to more explainable deployed models. Our code is available at https://github.com/frankaging/Causal-Proxy-Model.
Motivation & Objective
- To address the fundamental problem of causal inference in NLP explainability, where true counterfactual inputs are unobservable for black-box models.
- To develop a robust, causally motivated explanation method that works despite the unavailability of perfect counterfactuals in practice.
- To create a surrogate model that replicates both factual and counterfactual behavior of a black-box model, enabling explainable deployment.
- To localize concept-level information in model representations for more interpretable and actionable insights.
Proposed method
- Train Causal Proxy Models (CPMs) using a distillation-style objective to match the factual predictions of a black-box model 𝒩.
- Use two distinct training strategies: input-based intervention (CPM_IN), which appends a token indicating a counterfactual concept value to the input, and hidden-state intervention (CPM_HI), which uses Interchange Intervention Training (IIT) to localize concept information in specific hidden states.
- Leverage human-annotated or metadata-guided heuristic-generated approximate counterfactuals as training data for counterfactual behavior.
- Adapt Path Integrated Gradients to enable input-level attributions mediated by intermediate, concept-localized hidden states in CPM_HI.
- Ensure CPMs maintain factual performance comparable to the original model 𝒩, enabling model replacement for explainable deployment.
- Use concept-level and text-level sentiment annotations from the CEBaB benchmark to supervise and evaluate counterfactual behavior.
Experimental results
Research questions
- RQ1Can approximate counterfactuals—generated by humans or heuristics—enable robust causal explanation of NLP models?
- RQ2Do Causal Proxy Models (CPMs) achieve state-of-the-art performance on causal explanation benchmarks like CEBaB when trained on approximate counterfactuals?
- RQ3Can CPMs be used to replace the original black-box model while preserving factual accuracy and enabling deeper interpretability?
- RQ4How well do CPMs localize concept-level information in hidden representations, and does this improve the quality of explanations?
- RQ5Can gradient-based attribution methods like Integrated Gradients be adapted to highlight causally relevant input words through concept-localized hidden states?
Key findings
- CPM_IN and CPM_HI achieve state-of-the-art performance on the CEBaB benchmark using both human-annotated and heuristically generated approximate counterfactuals.
- The best CPM for a black-box model 𝒩 performs as well as 𝒩 on factual predictions, enabling the CPM to directly replace 𝒩 in deployment for improved explainability.
- CPM_HI models successfully localize concept-level information in specific hidden states, enabling more interpretable and causally grounded explanations.
- Gradient attributions in CPM_HI show stable, concept-driven word importance patterns over training, with clear emphasis on semantically relevant words (e.g., 'decorations' for 'ambiance') as training progresses.
- The training process induces causally motivated gradients over input words, demonstrating that CPMs learn to highlight features that causally influence predictions.
- Path Integrated Gradients adapted to CPM_HI enable input-level attributions that are mediated by concept-localized intermediate states, enhancing explanation fidelity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.