arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.02503cs.IR
收藏

公理化因果干预用于逆向工程神经检索模型中的相关性计算

Axiomatic Causal Interventions for Reverse Engineering Relevance Computation in Neural Retrieval Models

Catherine Chen, Jack Merullo, Carsten Eickhoff

AI总结:

针对神经检索模型相关性计算机制不明的问题,提出使用因果干预与机制可解释性方法逆向工程神经排序器,成功隔离出满足词频公理的注意力头组件,为细粒度分析模型决策过程及安全部署开辟了新途径。

摘要:

神经模型在各种排序任务中展现了卓越的性能。然而,它们确定相关性的过程和内部机制在很大程度上仍然未知。现有的分析神经排序器行为(关于IR属性)的方法,要么依赖于评估整体模型行为,要么依赖于可能对因果机制提供不完整理解的探测方法。为了对模型内部决策过程提供更细粒度的理解,我们提出使用因果干预来逆向工程神经排序器,并展示了如何使用机制可解释性方法来隔离排序模型中满足词频公理的组件。我们识别出一组注意力头,它们在模型的较早层中检测重复标记,然后与下游注意力头通信以计算整体文档相关性。更一般地,我们提出这种机制分析风格为逆向工程神经检索模型用于计算相关性的过程开辟了途径。这项工作旨在开启细粒度的可解释性研究,这不仅将有利于检索模型的开发和训练,而且最终将确保这些模型更安全地部署。

英文摘要:

Neural models have demonstrated remarkable performance across diverse ranking tasks. However, the processes and internal mechanisms along which they determine relevance are still largely unknown. Existing approaches for analyzing neural ranker behavior with respect to IR properties rely either on assessing overall model behavior or employing probing methods that may offer an incomplete understanding of causal mechanisms. To provide a more granular understanding of internal model decision-making processes, we propose the use of causal interventions to reverse engineer neural rankers, and demonstrate how mechanistic interpretability methods can be used to isolate components satisfying term-frequency axioms within a ranking model. We identify a group of attention heads that detect duplicate tokens in earlier layers of the model, then communicate with downstream heads to compute overall document relevance. More generally, we propose that this style of mechanistic analysis opens up avenues for reverse engineering the processes neural retrieval models use to compute relevance. This work aims to initiate granular interpretability efforts that will not only benefit retrieval model development and training, but ultimately ensure safer deployment of these models.

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

↑