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

As Natural Language Processing (NLP) models grow in size and complexity, they become increasingly opaque. While numerous techniques exist to explain why a model made a certain prediction, the community lacks a "gold standard" to verify if those explanations are actually correct. Researchers have introduced CEBaB (Causal Estimation-Based Benchmark), the first large-scale dataset of human-generated counterfactuals designed to evaluate how well NLP explanation methods capture the causal effects of real-world concepts.

The surprising result? Most state-of-the-art explanation methods struggle to outperform a simple baseline that just samples similar reviews from the training set.

The Evaluation Gap in NLP Explanations

Most existing evaluations for model explanations rely on synthetic data or simple token-level importance. However, humans think in terms of abstract concepts (e.g., "the food was good" or "the service was slow"), not just individual words.

To truly evaluate an explanation method, we need to know the causal effect: if we changed only the "food" concept in a review while keeping everything else the same, how much should the model's output change? Without interventional data (counterfactuals), evaluating these explanation methods is largely guesswork.

CEBaB: A Causal Benchmark Dataset

To bridge this gap, the authors introduce CEBaB, a dataset grounded in 2,299 original restaurant reviews from OpenTable.

Examples of CEBaB counterfactual edits

Crowdworkers were tasked with editing original reviews to change a specific aspect (Food, Service, Ambiance, or Noise) to a different sentiment (Positive, Negative, or Unknown) while keeping all other information constant.

  • Scale: The generation process resulted in 15,089 total texts.
  • Validation: Every review and counterfactual was multiply-validated by five different workers for both aspect-level sentiment and overall star rating (1–5).
  • Availability: The dataset is released publicly via the Hugging Face datasets library.

Framing Explanations as Causal Inference

The authors cast model explanation as a causal inference problem. They define the Individual Causal Concept Effect (ICaCE): the difference in a model’s output when a specific concept $C$ is changed from value $c$ to $c'$ for a specific input.

To evaluate an "explainer" (a method that predicts these effects), they compare the explainer's predicted effect against the actual change in the model's behavior when fed a human-written counterfactual from CEBaB. Their core metric, ICaCE-Error, measures the distance between these two values.

Comparison of explanation methods evaluated

The paper evaluates several prominent concept-based explanation methods across different paradigms:

  • Post-hoc methods: TCAV, ConceptSHAP, and INLP (which use internal model weights/activations).
  • Causal/Learning methods: CausaLM and S-Learner (which treat the problem as a treatment-effect estimation).
  • Baselines: CONEXP (conditional expectation) and a naive "Approximate Counterfactual" baseline.

Key Findings: The Power of Simplicity

The evaluation focused on a fine-tuned BERT model performing 5-way sentiment classification. The results revealed a stark reality check for current explanation methods:

  • The Winner is a Simple Baseline: A naive "Approximate Counterfactual" baseline—which simply finds a different review in the dataset that matches the target concept labels and measures the model's output on it—achieved the lowest ICaCE-Error across most metrics (Cosine distance, L2, and Norm-diff). It outperformed almost all complex, state-of-the-art explanation methods.
  • The Struggle of High-Profile Methods: Prominent methods like ConceptSHAP and TCAV performed significantly worse, sometimes barely beating a random-guess baseline in terms of predicting the magnitude of the effect.
  • Direction vs. Magnitude: While some methods are decent at predicting the direction of an effect (e.g., "changing food to negative will lower the score"), they are generally poor at predicting the magnitude of that change.
  • Internal vs. External: Methods that require access to the model's internal weights didn't necessarily perform better than "black-box" methods that only look at inputs and outputs.

Limitations and Future Directions

While CEBaB provides a crucial step forward, the authors note several limitations. The dataset is currently restricted to the restaurant review domain, and causal effects might look very different in legal, medical, or technical text. Furthermore, the concepts are currently categorical (Positive/Negative/Unknown), whereas real-world concepts are often more nuanced and overlapping.

Ultimately, the failure of current methods to beat a simple sampling baseline is a starkly negative result. CEBaB serves as a call to action for the NLP community to develop more robust, causally-aware explanation tools that can accurately reflect how models process complex, real-world concepts.

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