Abstract
Selective rationalization aims to provide interpretable justifications for neural network decisions by highlighting relevant input snippets. However, models often rely on spurious correlations (shortcuts) rather than causal features. We present Interventional Rationalization (Inter-RAT), a framework that employs causal intervention via backdoor adjustment on both rationale selection and prediction. By decorrelating inputs from confounding context priors, Inter-RAT improves rationale quality and model robustness across diverse domains, including sentiment analysis and legal judgment.
Introduction
Deep learning models are frequently "right for the wrong reasons." In tasks like legal judgment prediction, a model might associate the word "violence" with "Intentional Homicide" simply due to its high frequency in training data, potentially ignoring legal nuances like negligence that would lead to a "Manslaughter" charge. This reliance on spurious correlations—or shortcuts—undermines the reliability of selective rationalization, where a model highlights specific text snippets (rationales) to justify its output.
Methodology
Inter-RAT formalizes rationalization as a causal inference problem using a graph involving the input ($X$), the rationale ($R$), the prediction ($Y$), and a confounder ($C$) representing the "context prior" or label distribution. The framework introduces two critical interventions using backdoor adjustment:
- Intervention on the Selector: Standard models are prone to the backdoor path $X \leftarrow C \rightarrow R$. Inter-RAT calculates $P(R|do(X))$, effectively "cutting" the influence of the context prior to ensure the selector picks tokens based on the actual content of $X$, not just frequent label-associated words.
- Intervention on the Predictor: Even with a good rationale, predictors may still use shortcuts, often due to sparsity constraints that force the inclusion of non-causal tokens. Inter-RAT applies a second intervention, $P(Y|do(R))$, to ensure the final prediction is derived from the causal essence of the rationale.
Experimental Evaluation
The framework was evaluated on three real-world datasets: BeerAdvocate (multi-aspect sentiment), MovieReview (ERASER benchmark), and CAIL (Chinese AI and Law).
Key Results
Inter-RAT consistently outperformed state-of-the-art baselines such as RNP, INVRAT, and DARE:
- Rationale Quality: On the BeerAdvocate "Palate" aspect, Inter-RAT achieved an average F1-score of 40.2%, significantly higher than the original RNP (24.0%).
- Legal Accuracy: On the CAIL dataset, it achieved an 85.9% F1-score for charge prediction, nearing the performance of "black-box" models while maintaining interpretability.
- Human Evaluation: In blind tests on legal cases, Inter-RAT's rationales were rated higher in usefulness, completeness, and fluency compared to ChatGPT and other specialized legal AI models.
Discussion: The Sparsity Trap
A significant finding is that common sparsity constraints—forcing models to select a fixed percentage of text—can actually encourage shortcut-taking. If the true rationale is shorter than the required length, models fill the gap with "junk" tokens that correlate with the label. Inter-RAT's causal approach mitigates this by focusing on the true causal path ($R \to Y$).
Conclusion and Future Work
Inter-RAT demonstrates that causal intervention can effectively strip away spurious shortcuts in AI explanations. While currently limited by the need for discrete labels to model confounders, future research will explore adapting these techniques for regression tasks and Large Language Models (LLMs) to enhance AI safety and transparency.
Summary updated