Abstract
George Chrysostomou, Nikolaos Aletras. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.
2021. Large language models like BERT are powerful but opaque. This paper introduces SALOSS, an auxiliary loss function that aligns Transformer attention with unsupervised word salience to improve explanation faithfulness without compromising task performance.
Introduction
Transformer-based models have become the standard for natural language processing, yet their internal decision-making processes remain difficult to interpret. While "rationales"—subsets of input text highlighted as important—are often used to explain model outputs, they frequently suffer from a lack of faithfulness. An explanation is faithful if it accurately reflects the features the model actually used to make its prediction. In Transformers, "information mixing" across layers often dilutes attention, leading to explanations that may look plausible to humans but do not truly represent the model's logic.
Methods: The SALOSS Objective
The authors propose SALOSS (Salient Loss), a training-time regularization technique designed to anchor model attention to informative tokens.
- Unsupervised Salience: Before training, the graph-based TextRank algorithm is used to identify "salient" words in the input text. TextRank is task-agnostic, identifying words based on their structural connectivity within the document.
- Auxiliary Loss: During fine-tuning, a secondary objective is added to the standard classification loss. This term minimizes the Kullback-Leibler (KL) divergence between the model's attention distribution and the TextRank-derived salience distribution.
- Regularization: By penalizing deviations from salient words, SALOSS encourages the model to reduce information mixing and maintain a clearer link between specific input tokens and the final classification.
Experimental Setup
The method was evaluated on five diverse datasets: SST (sentiment), AGNews (topic classification), Evidence Inference (biomedical), MultiRC (reading comprehension), and SemEval 2017 (tweet sentiment).
Results and Analysis
Faithfulness via Input Erasure
Faithfulness was primarily measured using the "Decision Flip" metric: the fraction of tokens (identified as important by an attribution method) that must be erased to change the model's prediction. A lower fraction indicates that the model is more heavily reliant on those specific tokens, signifying higher faithfulness.
As shown in the table above, SALOSS-trained models consistently required a significantly lower fraction of tokens to be removed to cause a decision flip compared to the baseline across nearly all settings.
Rationale Quality (FRESH Evaluation)
To further validate the utility of these explanations, the authors employed the FRESH framework. Rationales extracted from the models were used to train a separate, inherently faithful classifier.
Rationales generated by SALOSS models led to higher predictive performance in the FRESH framework (e.g., a 5% F1 increase on SemEval), suggesting that the tokens highlighted by SALOSS are more informative for the underlying task.
Performance Stability
Importantly, the addition of the SALOSS auxiliary objective did not degrade the models' primary task performance. Macro F1 scores remained stable across all datasets, demonstrating that faithfulness can be improved without a "performance tax."
Conclusion
SALOSS provides a simple yet effective way to improve the faithfulness of Transformer explanations. By leveraging unsupervised linguistic priors like TextRank, the model learns to focus on truly salient information. Future work may explore encouraging contiguous rationales or utilizing alternative salience distributions to further enhance human interpretability.
Summary updated