arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04645cs.IRcs.AI
收藏

相关性路径:交叉编码器如何实现语义变体的BM25

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

Brown University(布朗大学);University of Tübingen(图宾根大学)

Meng Lu, Catherine Chen, Carsten Eickhoff

AI总结:

本文通过分析交叉编码器的机制,揭示其如何通过结合传统相关性信号实现语义变体的BM25排序功能。

摘要:

机制性解释在生成语言模型的理解中起到了重要作用,使我们能够通过内部组件之间的相互作用来识别实现关键行为的结构。相比之下,信息检索(IR)的可解释性仍然较为粗粒度,尚不清楚IR模型如何确定文档是否与查询相关。在本工作中,我们通过机制性分析来填补这一空白,研究了常用模型——交叉编码器——如何估计相关性。我们发现,该模型在早期到中期层中提取了传统的相关性信号,如词频和反文档频率。这些概念随后在后期层中结合,类似于著名的概率排序函数BM25。总体而言,我们的分析提供了对IR模型如何计算相关性的更细致理解。隔离这些组件为未来可能增强透明度、缓解安全风险并提高可扩展性的干预奠定了基础。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑