Interactive Rationale Extraction for Text Classification

Jiayi Dai, Mi-Young Kim, Randy GoebelTSRML @ NeurIPS 2022

TL;DR

This paper introduces an "Interactive Rationale Extraction" method that combines two independent text classification models to improve accuracy and interpretability. By having these models "discuss" their reasoning (rationales), the system can resolve disagreements and achieve better predictions than either model alone, especially in challenging cases.

What Problem Does This Paper Address?

Deep learning models excel at text classification, but their "black box" nature makes it hard to understand why they make certain predictions. This lack of interpretability is a major hurdle for trust and adoption, especially in critical applications. One approach to address this is "rationale extraction," where the model identifies the specific parts of the text that were most influential in its decision. However, existing "selective models" that jointly train a rationale generator and a classifier can be unstable and prone to high variance in their extracted rationales. This paper tackles the challenge of improving the reliability and performance of these rationale extraction models by leveraging the idea of interaction, inspired by how humans resolve disagreements through discussion.

Methods

The core innovation is the "Interactive Rationale Extraction for Text Classification" architecture. It takes two independently trained "selective rationale extraction" models (Model 1 and Model 2), each consisting of a rationale generator and a classifier.

  1. Rationale Generation: Each model generates its own rationale ($r_1$ and $r_2$) for a given text.
  2. Prediction: Each model makes a prediction ($y_1$ and $y_2$) based on its own rationale.
  3. Interaction/Exchange: Crucially, each model also makes a prediction using the other model's rationale. This results in four potential predictions: $f_1(r_1)$, $f_1(r_2)$, $f_2(r_1)$, and $f_2(r_2)$.
  4. Disagreement Resolution: When the initial predictions ($y_1$ and $y_2$) disagree, the system employs a two-step process:
  5. Consistency Check: It first checks if one rationale, when used by the other model, leads to a more consistent prediction. For example, if $f_2(r_1)$ matches $f_1(r_1)$ (i.e., $r_1$ convinces Model 2), and $f_1(r_2)$ does not match $f_2(r_2)$ (i.e., $r_2$ doesn't convince Model 1), then the pair $(r_1, y_1)$ is chosen.
  6. Confidence Level: If the consistency check doesn't resolve the disagreement, the system relies on the confidence level (CL) of each model's prediction. The prediction from the model with a higher confidence level is chosen. Confidence Level is defined as the exponentiated maximum logit divided by the sum of exponentiated logits, indicating how "sure" the model is about its prediction.

This interactive process aims to select a more robust rationale and prediction by simulating a discussion between two experts.

Datasets

The paper evaluates its method on two standard text classification datasets:

  • IMDB movie reviews: A dataset of 50,000 movie reviews with binary labels (positive/negative).
  • 20 Newsgroups: A dataset of 18,846 texts from 20 distinct news categories.

The authors split the training data for development purposes and report results on standard train/test splits. No new benchmarks were introduced.

Key Insights and Ideas

  • Human-like Interaction for AI: The core idea of mimicking human interaction (exchanging reasons to resolve disagreements) is applied to improve AI model performance. This suggests that collaborative or interactive learning paradigms can be powerful.
  • Disagreement as an Opportunity: Instead of simply averaging predictions or using majority voting when models disagree, the paper shows that analyzing why they disagree (via rationales) can lead to better outcomes.
  • Rationale Quality Matters: The method highlights that the "quality" of a rationale can be assessed by its ability to convince another model or by the confidence it instills. This provides a novel way to evaluate rationales beyond just their conciseness.
  • Overcoming Model Variance: By combining two models, the interactive approach helps to reduce the variance inherent in individual selective rationale extraction models, leading to more stable performance.

Key Results

  • Improved Predictive Performance: The interactive model consistently outperforms both base models on both datasets. For example, on IMDB, the interactive model achieved an accuracy of 0.83-0.84, compared to 0.81-0.82 for the base models. On 20 Newsgroups, it achieved 0.58-0.60, compared to 0.55-0.58 for the base models. This represents a 2-3% improvement.
  • Reduced Variance: The interactive model showed smaller variance in performance across different hyperparameter settings.
  • Effectiveness in Binary Classification: For binary classification tasks where base models have similar (around 50%) accuracy, the interactive method significantly improved accuracy (8-16% higher than random guessing on IMDB), demonstrating its strength in handling difficult cases.
  • Rationale Constraints Impact: The paper notes that when rationale constraints are relaxed (allowing longer or less contiguous rationales), the improvement from interaction decreases, suggesting that well-constrained rationales are key for the interaction to be effective.

Limitations and Future Work

  • Extreme Hyperparameter Settings: The interactive method showed no improvement when rationales were forced to be the entire text or empty, as this made the rationales identical and the exchange meaningless.
  • Unbalanced Model Performance: When one base model is significantly better than the other (e.g., 80% vs. 60% accuracy), the interactive model can sometimes perform slightly worse than the better base model. This is attributed to the poorer model potentially being overconfident or the better model's rationale not convincing the weaker one.
  • Future Work: The paper suggests that further exploration of how to handle disagreements when base models have vastly different performance levels is a promising direction. Additionally, investigating the impact of different rationale constraint settings could be valuable.

Summary updated

BibTeX
@inproceedings{dai2022interactive,
  author = {Jiayi Dai and Mi-Young Kim and Randy Goebel},
  title = {{Interactive Rationale Extraction for Text Classification}},
  booktitle = {TSRML @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=zaJsDuwwdlJ},
}
Figure