mlsanityData to 14 Oct 2026

An Attribution Method for Siamese Encoders

arXiv 2310.05703 ↗First posted 9 Oct 2023cs.CL cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Despite the success of Siamese encoder models such as sentence transformers (ST), little is known about the aspects of inputs they pay attention to. A barrier is that their predictions cannot be attributed to individual features, as they compare two inputs rather than processing a single one. This paper derives a local attribution method for Siamese encoders by generalizing the principle of integrated gradients to models with multiple inputs. The solution takes the form of feature-pair attributions, and can be reduced to a token-token matrix for STs. Our method involves the introduction of integrated Jacobians and inherits the advantageous formal properties of integrated gradients: it accounts for the model's full computation graph and is guaranteed to converge to the actual prediction. A pilot study shows that in an ST few token-pairs can often explain large fractions of predictions, and it focuses on nouns and verbs. For accurate predictions, it however needs to attend to the majority of tokens and parts of speech.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 23 of its 36 references that are in the map. First posted on arXiv 9 Oct 2023.

Builds on

23 of 36 references.

References · 23

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  3. 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  5. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  6. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  7. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  8. 2019Attention is not Explanationcited by 929
  9. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  10. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  11. 2020Quantifying Attention Flow in Transformerscited by 775
  12. 2019Attention is not not Explanationcited by 636
11 more
  1. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  2. 2017Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Modelscited by 206
  3. 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
  4. 2015Visualizing and Understanding Neural Models in NLPcited by 200
  5. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 159
  6. 2020The elephant in the interpretability room: Why use attention as explanation when we have saliency methods?cited by 122
  7. 2021Discretized Integrated Gradients for Explaining Language Modelscited by 46
  8. 2020Gradient-based Analysis of NLP Models is Manipulablecited by 41
  9. 2022SBERT studies Meaning Representations: Decomposing Sentence Embeddings into Explainable Semantic Featurescited by 33
  10. 2020ABNIRML: Analyzing the Behavior of Neural IR Modelscited by 23
  11. 2023Representation biases in sentence transformerscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 2.

8 papers.