NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasets

Wei Liu, Zhongyu Niu, Lang Gao, Zhiying Deng, Jun Wang, Haozhao Wang, Ruixuan Li

Introduction

In the quest for interpretable AI, researchers often utilize the Rationalizing Neural Predictions (RNP) framework. This approach functions as a two-player cooperative game: a Generator selects a small, informative snippet of the input (the "rationale"), and a Predictor makes a decision based solely on that snippet. The goal is transparency—ensuring that if a model predicts a positive sentiment for a review, it highlights the specific words (e.g., "service was excellent") that drove that decision.

The Problem: Model-Added Spurious Correlations

Despite its promise, RNP often suffers from degeneration. Because the Generator and Predictor are trained to maximize accuracy together, they may "collude" by inventing internal shortcuts. For instance, the Generator might notice that including a specific punctuation mark for positive reviews allows the Predictor to achieve high accuracy without ever "reading" the actual text.

A model selecting a period as a rationale, illustrating the 'secret code' problem.

As illustrated in Figure 1, a model might select a simple period as the rationale for beer appearance. This creates a spurious correlation that does not exist in the real world, rendering the explanation useless to humans. Crucially, this research demonstrates that even in perfectly clean datasets, the training process itself can create these new, artificial biases.

The A2I Framework: Attack to Inspection and Instruction

To address this, the authors introduce Attack to Inspection and Instruction (A2I). This framework adds a third player to the standard RNP architecture: the Attacker.

The standard RNP framework architecture which A2I builds upon.

As shown in the base architecture in Figure 2, the system traditionally relies on a Generator and Predictor. A2I enhances this with two key steps:

  1. Inspection (The Attack): The Attacker tries to find "trivial patterns" that the Predictor has learned to associate with a label. If the Predictor is using a shortcut, the Attacker uses it to "flip" the prediction, serving as a diagnostic tool for cheating.
  2. Instruction: Once shortcuts are identified, the Predictor is "instructed" to treat those snippets as random noise. This forces the Generator to find actual semantic rationales—real words with meaning—to maintain accuracy.

This approach is model-agnostic and effective across various architectures, including GRUs, BERT, and Graph Convolutional Networks (GCNs).

Key Insights and Results

The paper provides theoretical proof that the act of selecting a rationale introduces a sampling bias. Even if a label and a trivial pattern are independent in the original data, they become dependent once the Generator begins selecting them.

Empirical results show that A2I consistently outperforms standard RNP and advanced baselines in F1 scores. On the Beer-Appearance dataset, it improved rationale quality by up to 9.0%. Furthermore, A2I-enhanced small models achieved comparable or superior rationale quality to Llama-3.1-8b-instruct on several tasks, proving that specialized interpretability frameworks can outperform much larger general-purpose models.

Conclusion

A2I successfully mitigates the risk of models inventing "secret codes" by using an adversarial attacker to identify and suppress spurious shortcuts. By improving the Predictor's robustness, the framework ensures that AI explanations remain faithful to human-understandable semantics rather than internal model biases.

Summary updated

BibTeX
@inproceedings{liu2025adversarial,
  author = {Wei Liu and Zhongyu Niu and Lang Gao and Zhiying Deng and Jun Wang and Haozhao Wang and Ruixuan Li},
  title = {{Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasets}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=XkEp70qckE},
}
Figure