mlsanityData to 14 Oct 2026

Pathway to Relevance: How Cross-Encoders Implement a Semantic Variant of BM25

arXiv 2502.04645 ↗First posted 7 Feb 2025cs.IR cs.AIcited by 6

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  3. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  5. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  6. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  7. 2020Overview of the TREC 2019 deep learning trackcited by 286
  8. 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
  9. 2023Localizing Model Behavior with Path Patchingcited by 195
  10. 2017A Deep Relevance Matching Model for Ad-hoc Retrievalcited by 126
  11. 2016Text Matching as Image Recognitioncited by 59
  12. 2019Understanding the Behaviors of BERT in Rankingcited by 49
6 more
  1. 2020ABNIRML: Analyzing the Behavior of Neural IR Modelscited by 23
  2. 2020A White Box Analysis of ColBERTcited by 14
  3. 2021Match Your Words! A Study of Lexical Matching in Neural Information Retrievalcited by 10
  4. 2024Axiomatic Causal Interventions for Reverse Engineering Relevance Computation in Neural Retrieval Modelscited by 8
  5. 2022Diagnosing BERT with Retrieval Heuristicscited by 5
  6. 2022Finding Inverse Document Frequency Information in BERTcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.