Interpreting BERT-based Text Similarity via Activation and Saliency Maps
Not on the map. Why?
Abstract (arXiv)
Recently, there has been growing interest in the ability of Transformer-based models to produce meaningful embeddings of text with several applications, such as text similarity. Despite significant progress in the field, the explanations for similarity predictions remain challenging, especially in unsupervised settings. In this work, we present an unsupervised technique for explaining paragraph similarities inferred by pre-trained BERT models. By looking at a pair of paragraphs, our technique identifies important words that dictate each paragraph's semantics, matches between the words in both paragraphs, and retrieves the most important pairs that explain the similarity between the two. The method, which has been assessed by extensive human evaluations and demonstrated on datasets comprising long and complex paragraphs, has shown great promise, providing accurate interpretations that correlate better with human perceptions.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 35 of its 56 references that are in the map. First posted on arXiv 13 Aug 2022.
Builds on
35 of 56 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2014Striving for Simplicity: The All Convolutional Netcited by 990
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
23 more
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2018Explaining Explanations: An Overview of Interpretability of Machine Learningcited by 508
- 2015Understanding Neural Networks Through Deep Visualizationcited by 334
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2016Rationalizing Neural Predictionscited by 281
- 2017Generating Natural Adversarial Examplescited by 183
- 2019BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysiscited by 176
- 2019One Explanation Does Not Fit All: A Toolkit and Taxonomy of AI Explainability Techniquescited by 164
- 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
- 2019AllenNLP Interpret: A Framework for Explaining Predictions of NLP Modelscited by 74
- 2016Item2Vec: Neural Item Embedding for Collaborative Filteringcited by 72
- 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
- 2019exBERT: A Visual Analysis Tool to Explore Learned Representations in Transformers Modelscited by 33
- 2020Explainable Recommendations via Attentive Multi-Persona Collaborative Filteringcited by 16
- 2021Self-Supervised Document Similarity Ranking via Contextualized Language Models and Hierarchical Inferencecited by 13
- 2019Scalable Attentive Sentence-Pair Modeling via Distilled Sentence Embeddingcited by 12
- 2016Bayesian Neural Word Embeddingcited by 11
- 2020Neural Attentive Multiview Machinescited by 11
- 2020Bayesian Hierarchical Words Representation Learningcited by 10
- 2020Attentive Item2Vec: Neural Attentive User Representationscited by 9
- 2021GAM: Explainable Visual Similarity and Classification via Gradient Activation Mapscited by 9
- 2020RecoBERT: A Catalog Language Model for Text-Based Recommendationscited by 8
- 2021Cold Item Integration in Deep Hybrid Recommenders via Tunable Stochastic Gatescited by 8
Built on by
Citing papers per year: 2023: 4; 2024: 1; 2025: 1; 2026: 3.
9 papers.
- 2023Visual Explanations via Iterated Integrated Attributionscited by 19
- 2023Deep Integrated Explanationscited by 10
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2023Learning to Explain: A Model-Agnostic Framework for Explaining Black Box Modelscited by 4
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformationscited by 1
- 2026Explainable Semantic Textual Similarity via Dissimilar Span Detectioncited by 1
- 2024Automated Answer Validation using Text Similaritycited by 0
- 2025Decoding the Multimodal Maze: A Systematic Review on the Adoption of Explainability in Multimodal Attention-based Modelscited by 0
- 2026ConEx: Human-Interpretable Saliency Maps via Concept-Aware Attributioncited by 0
- 2026ConEx: Human-Interpretable Saliency Maps via Concept-Aware Attribution3 Oct 2026
- 2026Explainable Semantic Textual Similarity via Dissimilar Span Detection22 Mar 2026
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations13 Feb 2026
- 2025Decoding the Multimodal Maze: A Systematic Review on the Adoption of Explainability in Multimodal Attention-based Models6 Aug 2025
- 2024Automated Answer Validation using Text Similarity13 Jan 2024
- 2023Visual Explanations via Iterated Integrated Attributions28 Oct 2023
- 2023Learning to Explain: A Model-Agnostic Framework for Explaining Black Box Models25 Oct 2023
- 2023Deep Integrated Explanations23 Oct 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023