Does Self-Rationalization Improve Robustness to Spurious Correlations?

Alexis Ross, Matthew E. Peters, Ana Marasovic

Introduction

Large Language Models (LLMs) often achieve high accuracy by exploiting spurious correlations—statistical shortcuts in training data that do not reflect true logical reasoning. For instance, in Natural Language Inference (NLI), a model might learn that high lexical overlap between a premise and hypothesis always indicates entailment, regardless of the actual meaning. To combat this, researchers have explored self-rationalization, where models are trained to generate free-text explanations (rationales) alongside their predictions. The goal is to nudge models toward human-aligned reasoning. This paper investigates whether this practice truly improves robustness or merely produces "hallucinated" justifications for biased predictions.

Spurious features identified in CQA and NLI datasets. High z-scores indicate features strongly associated with specific labels, representing potential shortcuts.

Methodology

The study evaluated six model architectures, including encoder-decoder (BART, T5) and decoder-only (GPT-2) models, with parameter counts ranging from 140M to 774M. Models were trained in two settings: a Task-only baseline and a Self-rationalization setup where the model outputs both a label and a human-annotated rationale.

The researchers utilized two primary datasets with human-annotated rationales: e-SNLI (for NLI) and ECQA (for Commonsense Question Answering). Robustness was measured using challenge sets like HANS (syntactic biases) and CAD (counterfactually augmented data), as well as "Hard" subsets where spurious features typically lead to incorrect labels.

The Dual Impact of Data Scale

A key finding is that the benefit of self-rationalization is highly dependent on the amount of training data. In low-resource settings (e.g., 1,000 examples), rationales act as a powerful regularizer, providing a richer learning signal that helps the model grasp underlying logic more quickly than labels alone. For example, BART-Large trained on 1k samples saw robustness improvements of approximately 2 points on CAD and Hard subsets.

However, as training data increases to high-resource regimes (50k+ examples), this advantage often diminishes or becomes a penalty. Models may begin to overfit on the rationale generation task itself, or the added complexity of text generation may interfere with classification accuracy.

Performance deltas for NLI models across varying training data sizes. Green bars indicate where self-rationalization improved robustness over the task-only baseline; red bars indicate a performance drop.

Model Capacity and Rationale Quality

Model size plays a significant role in the effectiveness of rationalization. Larger models, such as BART-Large, generally showed greater robustness gains than smaller versions, suggesting that a certain level of capacity is required to effectively "learn to reason." Conversely, T5 models showed mixed results, often performing worse when rationalizing, possibly due to conflicts between their pre-training objectives and the rationale task.

Furthermore, the content of the rationales is critical. In the ECQA task, "Positive" rationales (explaining why the correct answer is right) improved hard-subset accuracy by 2.2 points. In contrast, "Negative" rationales (explaining why distractors were wrong) led to a 3.7-point performance drop. This indicates that the nature of the explanation is just as important as its presence.

Conclusion

While self-rationalization can bolster robustness in data-scarce environments, it is not a universal solution. The "high-resource penalty" and the sensitivity to rationale quality suggest that explainability does not inherently guarantee logical integrity. Developers must remain cautious: a model's ability to provide a plausible explanation does not preclude its continued reliance on hidden shortcuts.

Summary updated

BibTeX
@inproceedings{ross2022does,
  author = {Alexis Ross and Matthew E. Peters and Ana Marasovic},
  title = {{Does Self-Rationalization Improve Robustness to Spurious Correlations?}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.501},
}
Figure