Research map / Large language models / Language, safety and interpretability
Explaining Text Similarity in Transformer Models
Alexandros Vasileiou, Oliver Eberle
Technische Universität Berlin · BIFOLD – Berlin Institute for the Foundations of Learning and Data
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use BiLRP instead of Hessian x Product or token embeddings to explain interactions | BERT-base similarity model · Synthetic noun-matching task | average cosine similarity to ground truth: 0.62 (HxP), 0.67 (embedding) -> 0.81 (BiLRP) | Improved |
| use BiLRP instead of HxP/embedding explanations in perturbation test | BERT, mBERT, SBERT · STSb and BIOSSES | AUPC: BERT STSb 10.97 (HxP) -> 7.80 | Improved |
| use BiLRP instead of baselines in perturbation test | SGPT · STSb | AUPC: 23.22 (HxP) -> 22.70 | No clear effect |
| use mean pooling instead of CLS pooling (ablation) | BERT · STSb | Spearman x100: 20.3 -> 47.3 | Improved |
| use mean pooling instead of CLS pooling (ablation) | BERT · BIOSSES | Spearman x100: 63.7 -> 54.6 | Hurt |
| finetune on semantic similarity (SBERT vs BERT mean pooling) | BERT + Mean Pooling · STSb | Spearman x100: 47.3 -> 84.7 | Improved |
| use mixed English-German input instead of monolingual input | mBERT mean pooling · mSTSb | Spearman x100: 47.3-58.5 -> 24.8-35.5 | Hurt |
| add relevance-conserving propagation rules (BiLRP vs HxP) | SBERT · STSb test (300 samples) | relevance conservation | Improved |
Open problems in faithfulness of LLM explanations
Do explanation and dialogue evaluations hold beyond English, one dataset and a few models?
- Data and tests are in English or a few languages only. · 37 papers state it
- Labels and scores come from an LLM judge that may carry bias. · 21 papers state it
- Results come from a few models, mostly around 10B or smaller. · 18 papers state it
Closest papers by meaning
- Interpretable Text Embeddings and Text Similarity Explanation: A Survey (EMNLP 2025 · similarity 0.88)
- Beyond Fooling: Model Manipulation Under Explanation-aware Training (EMNLP 2026 · similarity 0.87)
- Incorporating Contextual and Syntactic Structures Improves Semantic Similarity Modeling (EMNLP 2019 · similarity 0.87)
- Pathway to Relevance: How Cross-Encoders Implement a Semantic Variant of BM25 (EMNLP 2025 · similarity 0.86)
- How Do Transformers Learn to Associate Tokens: Gradient Leading Terms Bring Mechanistic Interpretability (ICLR 2026 · similarity 0.86)
- Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactuals (ICLR 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.