D-Separation for Causal Self-Explanation

Wei Liu, Jun Wang, Haozhao Wang, Ruixuan Li, Zhiying Deng, Yuankai Zhang, Yang Qiu · DOI

Abstract

Self-explaining models in Natural Language Processing (NLP) typically employ a two-stage architecture: an "Explainer" to select rationales and a "Predictor" to generate labels based on those rationales. Traditional training objectives based on Maximum Mutual Information (MMI) often fail due to spurious correlations, such as feature correlation and model degeneration (mask correlation). This paper introduces Minimum Conditional Dependence (MCD), a novel training criterion grounded in the causal principle of d-separation. By ensuring the label is conditionally independent of unselected text given the rationale, MCD identifies true causal features. Experimental results on benchmarks like BeerAdvocate demonstrate a significant improvement in explanation quality, with F1 scores increasing by up to 13.7% over previous state-of-the-art methods.

Introduction: The Rationalization Framework

In the quest for interpretable AI, "rationalization" has emerged as a popular framework for creating self-explaining models. This system consists of an Explainer that selects a small subset of input text (the rationale) and a Predictor that makes a decision based solely on that subset. The goal is to provide a human-readable justification for the model's output.

Traditionally, these models are trained using Maximum Mutual Information (MMI), which seeks the text snippet most indicative of the label. However, MMI is susceptible to spurious correlations, where the model relies on non-causal features that happen to co-occur with the target label.

The Problem: Spurious Correlations and Degeneration

MMI-based models are often misled by two primary types of spurious correlations:

  1. Feature Correlation: In multi-aspect datasets like beer reviews, descriptions of "taste" often correlate with "aroma." A model might incorrectly select "delicious taste" as a rationale for an "aroma" label simply because they frequently appear together.
  2. Degeneration (Mask Correlation): The Explainer may "cheat" by using specific punctuation or stop words as hidden signals to the Predictor, bypassing the actual semantic content of the text.

Methodology: Minimum Conditional Dependence (MCD)

The authors propose shifting the objective from finding "indicative" text to finding text that makes the remainder of the input redundant. This is achieved through the causal concept of d-separation.

Causal Modeling of Spurious Correlations

By representing the data generation process as a causal graph, the researchers identify how spurious correlations enter the model.

The MCD Criterion

The core idea of MCD is that if a rationale ($X_Z$) contains all direct causes of a label ($Y$), then the unselected text ($X_{-Z}$) should provide no additional information about $Y$. Mathematically, the label and the unselected text become conditionally independent given the rationale: $Y \perp X_{-Z} | X_Z$.

To implement this, the authors minimize the KL-divergence between the prediction based on the full text and the prediction based only on the selected rationale. This forces the Explainer to include all causal features; if a cause is omitted, the residual text would still contain information about the label, violating the independence condition.

Experimental Evaluation

The method was evaluated on several benchmarks, including BeerAdvocate (multi-aspect sentiment) and HotelReviews. These datasets are particularly challenging because ratings for different aspects (e.g., appearance vs. palate) are highly correlated.

Key Results

  • State-of-the-Art Performance: MCD significantly outperformed MMI-based methods. On the BeerAdvocate "Appearance" aspect, it achieved a 13.7% improvement in F1 score.
  • Robustness: In synthetic tests designed to induce degeneration, MCD remained stable while traditional models (like RNP) collapsed.
  • LLM Compatibility: MCD showed strong results when paired with large pretrained models, achieving an F1 score of 87.1% with BERT on BeerAdvocate.
  • Efficiency: The method avoids many local optima created by spurious correlations, leading to faster training convergence compared to previous techniques like FR.

Conclusion and Future Work

MCD represents a significant step forward in faithful rationalization by framing model "cheating" and spurious correlations as causal problems solvable via d-separation. While the current work focuses on text classification, future research may extend this framework to more complex tasks like translation or summarization, where causal structures are more intricate.

Summary updated

BibTeX
@inproceedings{liu2023d,
  author = {Wei Liu and Jun Wang and Haozhao Wang and Ruixuan Li and Zhiying Deng and Yuankai Zhang and Yang Qiu},
  title = {{D-Separation for Causal Self-Explanation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=sUFGPYS25Q},
}
Figure