Pathway to Relevance: How Cross-Encoders Implement a Semantic Variant of BM25
Not on the map. Why?
Abstract (arXiv)
Mechanistic interpretation has greatly contributed to a more detailed understanding of generative language models, enabling significant progress in identifying structures that implement key behaviors through interactions between internal components. In contrast, interpretability in information retrieval (IR) remains relatively coarse-grained, and much is still unknown as to how IR models determine whether a document is relevant to a query. In this work, we address this gap by mechanistically analyzing how one commonly used model, a cross-encoder, estimates relevance. We find that the model extracts traditional relevance signals, such as term frequency and inverse document frequency, in early-to-middle layers. These concepts are then combined in later layers, similar to the well-known probabilistic ranking function, BM25. Overall, our analysis offers a more nuanced understanding of how IR models compute relevance. Isolating these components lays the groundwork for future interventions that could enhance transparency, mitigate safety risks, and improve scalability.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 18 of its 31 references that are in the map. First posted on arXiv 7 Feb 2025.
Builds on
18 of 31 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2020Overview of the TREC 2019 deep learning trackcited by 286
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
- 2023Localizing Model Behavior with Path Patchingcited by 195
- 2017A Deep Relevance Matching Model for Ad-hoc Retrievalcited by 126
- 2016Text Matching as Image Recognitioncited by 59
- 2019Understanding the Behaviors of BERT in Rankingcited by 49
6 more
- 2020ABNIRML: Analyzing the Behavior of Neural IR Modelscited by 23
- 2020A White Box Analysis of ColBERTcited by 14
- 2021Match Your Words! A Study of Lexical Matching in Neural Information Retrievalcited by 10
- 2024Axiomatic Causal Interventions for Reverse Engineering Relevance Computation in Neural Retrieval Modelscited by 8
- 2022Diagnosing BERT with Retrieval Heuristicscited by 5
- 2022Finding Inverse Document Frequency Information in BERTcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Taxonomy of the Retrieval System Framework: Pitfalls and Paradigmscited by 4
- 2025When Fine-Tuning Fails: Lessons from MS MARCO Passage Rankingcited by 1
- 2025Automating AI Failure Tracking: Semantic Association of Reports in AI Incident Databasecited by 1
- 2026Retrieval-Augmented Detection of Potentially Abusive Clauses in Chilean Terms of Servicecited by 0
- 2026The Emergence of Relevance Through Axiomatic Attention Patterns During LoRA Fine-Tuningcited by 0
- 2026A Mechanistic Study of AI-Text Detection Neurons in Frozen BERT: Sparse Probing and Activation Patching on RAIDcited by 0
- 2026A Mechanistic Study of AI-Text Detection Neurons in Frozen BERT: Sparse Probing and Activation Patching on RAID8 Sep 2026
- 2026The Emergence of Relevance Through Axiomatic Attention Patterns During LoRA Fine-Tuning24 Aug 2026
- 2026Retrieval-Augmented Detection of Potentially Abusive Clauses in Chilean Terms of Service25 May 2026
- 2026Taxonomy of the Retrieval System Framework: Pitfalls and Paradigms27 Jan 2026
- 2025Automating AI Failure Tracking: Semantic Association of Reports in AI Incident Database31 Jul 2025
- 2025When Fine-Tuning Fails: Lessons from MS MARCO Passage Ranking23 Jun 2025