A Sea of Words: An In-Depth Analysis of Anchors for Text Data
Not on the map. Why?
Abstract (arXiv)
Anchors (Ribeiro et al., 2018) is a post-hoc, rule-based interpretability method. For text data, it proposes to explain a decision by highlighting a small set of words (an anchor) such that the model to explain has similar outputs when they are present in a document. In this paper, we present the first theoretical analysis of Anchors, considering that the search for the best anchor is exhaustive. After formalizing the algorithm for text classification, we present explicit results on different classes of models when the vectorization step is TF-IDF, and words are replaced by a fixed out-of-dictionary token when removed. Our inquiry covers models such as elementary if-then rules and linear classifiers. We then leverage this analysis to gain insights on the behavior of Anchors for any differentiable classifiers. For neural networks, we empirically show that the words corresponding to the highest partial derivatives of the model with respect to the input, reweighted by the inverse document frequencies, are selected by Anchors.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 17 of its 40 references that are in the map. First posted on arXiv 27 May 2022.
Builds on
17 of 40 references.
References · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017Recent Trends in Deep Learning Based Natural Language Processingcited by 263
- 2020Explaining by Removing: A Unified Framework for Model Explanationcited by 218
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2018Local Rule-Based Explanations of Black Box Decision Systemscited by 166
- 2020Explaining the Explainer: A First Theoretical Analysis of LIMEcited by 89
- 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 87
- 2014Falling Rule Listscited by 59
5 more
- 2021Entropy-based Logic Explanations of Neural Networkscited by 51
- 2021Logic Explained Networkscited by 45
- 2021Probing GNN Explainers: A Rigorous Theoretical and Empirical Analysis of GNN Explanation Methodscited by 36
- 2020An Analysis of LIME for Text Datacited by 25
- 2021Consistent Sufficient Explanations and Minimal Local Rules for explaining regression and classification modelscited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 1; 2026: 1.
6 papers.
- 2024Attention Meets Post-hoc Interpretability: A Mathematical Perspectivecited by 11
- 2023Faithful and Robust Local Interpretability for Textual Predictionscited by 2
- 2025MAnchors: Memorization-Based Acceleration of Anchors via Rule Reuse and Transformationcited by 2
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
- 2022Comparing Feature Importance and Rule Extraction for Interpretability on Text Datacited by 1
- 2023Understanding Post-hoc Explainers: The Case of Anchorscited by 1
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2025MAnchors: Memorization-Based Acceleration of Anchors via Rule Reuse and Transformation16 Feb 2025
- 2024Attention Meets Post-hoc Interpretability: A Mathematical Perspective5 Feb 2024
- 2023Faithful and Robust Local Interpretability for Textual Predictions30 Oct 2023
- 2023Understanding Post-hoc Explainers: The Case of Anchors15 Mar 2023
- 2022Comparing Feature Importance and Rule Extraction for Interpretability on Text Data4 Jul 2022