Introduction
Explainable AI (XAI) in Natural Language Processing aims to provide "rationales"—short snippets of input text that justify a model's prediction. However, modern architectures like BERT use deep contextualized representations where a single word's embedding at higher layers can encode information from the entire document. This leads to a "faithfulness" problem: a model might highlight certain words as important while actually relying on information "leaked" from the rest of the text through context.
Previous attempts to ensure faithfulness often relied on joint training with Reinforcement Learning (REINFORCE) to select discrete snippets. These methods are notoriously unstable, highly sensitive to hyperparameters, and difficult to converge. To address these issues, we introduce FRESH (Faithful Rationale Extraction from Saliency tHresholding), a framework that guarantees faithfulness by construction through a decoupled pipeline.
The FRESH Framework
FRESH ensures faithfulness by physically restricting the final classifier's access to only the selected text snippets. The framework consists of a three-stage pipeline:
- The Support Model (
supp): A standard black-box model (e.g., BERT) is trained on the full input text. Its role is to provide feature importance scores, such as attention weights or gradients. Crucially, this model itself does not need to be faithful. - The Extractor (
ext): This module converts continuous importance scores into discrete binary masks. It selects either the "Top-$k$" tokens or a "Contiguous" span of length $k$. This can be implemented as a simple heuristic or a separate model trained to predict these snippets. - The Predictor (
pred): The final classifier is trained and evaluated only on the snippets provided by the extractor.
By design, the pred model never sees the excluded portions of the document. Therefore, the extracted snippet is a faithful explanation of its behavior by construction. This approach eliminates the need for complex, high-variance RL training. To ensure the extracted rationales are useful for humans, the extraction process can incorporate regularization for conciseness and contiguity.
Experimental Evaluation
The authors evaluated FRESH across five diverse English text classification tasks:
- Sentiment Analysis: SST and Movies datasets.
- Topic Classification: AgNews.
- Medical Evidence Inference: Determining relationships in medical abstracts.
- Reading Comprehension: MultiRC, where models must justify why an answer is true or false.
The Movies and MultiRC datasets are particularly valuable as they contain human-annotated rationales for comparison.
Key Results and Insights
FRESH consistently outperformed previous state-of-the-art RL-based models and differentiable approaches across nearly all datasets. Notably, FRESH models often achieved 90-95% of the performance of a "Full Text" black-box model while only processing 10-30% of the input text.
Faithfulness vs. Plausibility
The paper distinguishes between "plausible" explanations (those that look good to humans) and "faithful" ones (those the model actually uses). While FRESH prioritizes faithfulness, human evaluations showed it also achieves high plausibility. In a user study, humans predicted the model's label with up to 92% accuracy on the Movies dataset using only FRESH-extracted rationales. Interestingly, humans significantly preferred "contiguous" snippets over "top-k" selections for readability, even when predictive accuracy was comparable.
Stability and Simplicity
A major advantage of FRESH is its training stability. Unlike RL methods that often "degenerate" by selecting either the entire document or nothing at all, FRESH exhibited much lower variance across random seeds. By treating rationale extraction as a preprocessing step based on saliency, the framework provides a much more stable training signal.
Limitations and Future Work
While the pred model is faithful to the provided snippet, the FRESH framework does not currently explain why the supp model or ext module chose that specific snippet. Additionally, the current pipeline is static; there is no mechanism to iteratively refine a rationale if the predictor finds it insufficient. Future work could explore more sophisticated ways to induce discrete targets from saliency scores beyond simple heuristics like top-k thresholding.
Summary updated