Faithfulness Measurable Masked Language Models
Abstract
A common approach to explaining NLP models is to use importance measures that express which tokens are important for a prediction. Unfortunately, such explanations are often wrong despite being persuasive. Therefore, it is essential to measure their faithfulness. One such metric is if tokens are truly important, then masking them should result in worse model performance. However, token masking introduces out-of-distribution issues, and existing solutions that address this are computationally expensive and employ proxy models. Furthermore, other metrics are very limited in scope. This work proposes an inherently faithfulness measurable model that addresses these challenges. This is achieved using a novel fine-tuning method that incorporates masking, such that masking tokens become in-distribution by design. This differs from existing approaches, which are completely model-agnostic but are inapplicable in practice. We demonstrate the generality of our approach by applying it to 16 different datasets and validate it using statistical in-distribution tests. The faithfulness is then measured with 9 different importance measures. Because masking is in-distribution, importance measures that themselves use masking become consistently more faithful. Additionally, because the model makes faithfulness cheap to measure, we can optimize explanations towards maximal faithfulness; thus, our model becomes indirectly inherently explainable.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Explaining NLP Models via Minimal Contrastive Editing (MiCE) cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
- Explaining NLP Models via Minimal Contrastive Editing (MiCE) cites ERASER: A Benchmark to Evaluate Rationalized NLP Models
- F-Fidelity: A Robust Framework for Faithfulness Evaluation of Explainable AI cites ERASER: A Benchmark to Evaluate Rationalized NLP Models
- F-Fidelity: A Robust Framework for Faithfulness Evaluation of Explainable AI cites The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanations
- The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanations cites ERASER: A Benchmark to Evaluate Rationalized NLP Models
Cited by top-tier papers1
Builds on12
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 citations
- The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance ExplanationsPeter Hase, Harry Xie, Mohit BansalNeurIPS 2021 · 121 citations
- Explaining NLP Models via Minimal Contrastive Editing (MiCE)Alexis Ross, Ana Marasovic, Matthew E. PetersACL Findings 2021 · 86 citations
- A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural NetworksMatan Haroush, Tzviel Frostig, Ruth Heller, Daniel SoudryICLR 2022 · 40 citations
- ERASER: A Benchmark to Evaluate Rationalized NLP ModelsJay DeYoung, Sarthak Jain, Nazneen Fatema Rajani, Eric P. Lehman et al.ACL 2020 · 36 citations
Related papers
- Evaluating the Faithfulness of Importance Measures in NLP by Recursively Masking Allegedly Important Tokens and RetrainingAndreas Madsen, Nicholas Meade, Vaibhav Adlakha, Siva ReddyEMNLP Findings 2022 · 19 citations
- Incorporating Attribution Importance for Improving Faithfulness MetricsZhixue Zhao, Nikolaos AletrasACL 2023 · 4 citations
- NormXLogit: The Head-on-Top Never LiesSina Abbasi, Mohammad Reza Modarres, Mohammad Taher PilehvarEMNLP 2025
- LLM Explainability via Attributive Masking LearningOren Barkan, Yonatan Toib, Yehonatan Elisha, Jonathan Weill et al.EMNLP Findings 2024 · 7 citations
- An Empirical Study on Explanations in Out-of-Domain SettingsGeorge Chrysostomou, Nikolaos AletrasACL 2022
