CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behavior

Eldar David Abraham, Karel D'Oosterlinck, Amir Feder, Yair Ori Gat, Atticus Geiger, Christopher Potts, Roi Reichart, Zhengxuan Wu

Introduction

As Natural Language Processing (NLP) models grow in complexity, they increasingly function as "black boxes." While many techniques have been developed to explain model behavior, the field lacks a rigorous standard for evaluating these explanations. This paper addresses this gap by framing model explanation as a causal inference problem: if we change a specific concept in the input, does the explanation method accurately predict the resulting change in the model's output?

The CEBaB Dataset

The authors introduce CEBaB (Causal Estimation-Based Benchmark), a dataset designed to provide a "ground truth" for concept-based explanations in natural language. CEBaB is built upon 2,299 original restaurant reviews, which were expanded into 15,089 validated texts through human-generated counterfactuals.

In the creation process, crowdworkers edited existing reviews to modify a single aspect—Food, Service, Ambiance, or Noise—while keeping all other elements of the review constant. This controlled intervention allows researchers to isolate the causal effect of specific concepts on the model's sentiment predictions.

Examples of original reviews and their human-generated counterfactuals. By changing one aspect (e.g., food) while holding others constant, CEBaB creates a gold standard for causal analysis.

Methodology and Evaluation

The study evaluates several prominent explanation methods using the Individual Causal Concept Effect (ICaCE) metric. This metric quantifies the change in a model's output when a specific concept is intervened upon. The methods tested represent various approaches to interpretability, including Concept Activation Vectors and latent space interventions.

Overview of the explanation methods evaluated, categorized by their requirements for model access and concept labels.

The evaluation also includes an Approximate Counterfactual baseline and an S-Learner meta-learner. Surprisingly, these relatively simple approaches often outperformed more complex, state-of-the-art methods like TCAV and ConceptSHAP.

Key Insights

The benchmarking process yielded several critical insights into the current state of NLP explanations:

  • The Baseline Superiority: The Approximate Counterfactual baseline, which does not require access to the model's internal weights, frequently proved more accurate than advanced methods in predicting causal effects.
  • Magnitude Estimation Failure: While many methods could identify the direction of a concept's influence (e.g., "better food leads to a higher rating"), they struggled significantly to estimate the magnitude of the effect accurately.
  • Internal Logic vs. Explanation: The results suggest that while models like BERT internalize causal concepts, current explanation methods are not yet capable of faithfully reporting this internal logic.

Conclusion

The findings from CEBaB serve as a "causal reality check" for the NLP community. The fact that sophisticated explanation methods struggle to beat simple baselines highlights a significant need for new techniques that are more deeply integrated with the model's actual decision-making logic. By providing a rigorous, human-validated benchmark, CEBaB offers a foundation for developing the next generation of causally-grounded NLP explanations.

Summary updated

BibTeX
@inproceedings{abraham2022cebab,
  author = {Eldar David Abraham and Karel D'Oosterlinck and Amir Feder and Yair Ori Gat and Atticus Geiger and Christopher Potts and Roi Reichart and Zhengxuan Wu},
  title = {{CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behavior}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=xMW_6dR7z2U},
}
Figure