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

探究排序大语言模型:面向信息检索的机制分析

Probing Ranking LLMs: A Mechanistic Analysis for Information Retrieval

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Tanya Chowdhury, Atharva Nijasure, James Allan

AI总结:

本文通过探针分析四个排序大语言模型的神经元激活,揭示其编码的统计信息检索特征、缺失特征及分布外泛化行为,为提升检索模型可解释性与可靠性提供见解并公开代码。

摘要:

Transformer网络,尤其是那些性能可与GPT模型相媲美的网络,以其强大的特征提取能力而闻名。然而,这些提取特征的性质及其与人工设计特征的一致性仍未得到探索。在本工作中,我们研究了用于段落重排序的最先进微调大语言模型的内部机制。我们采用基于探针的分析方法来检查排序大语言模型中的神经元激活,识别已知人工设计特征和语义特征的存在。我们的研究涵盖了广泛的特征类别,包括词法信号、文档结构、查询-文档交互以及复杂语义表示,以揭示影响排序决策的潜在模式。通过在四个不同的排序大语言模型上的实验,我们识别出在大语言模型激活中被显著编码的统计信息检索特征,以及明显缺失的其他特征。此外,我们分析了这些模型对分布外查询和文档的响应,揭示了不同的泛化行为。通过剖析大语言模型激活中的潜在表示,我们旨在提高排序模型的可解释性和有效性。我们的发现为开发更透明、更可靠的检索系统提供了关键见解,并且我们发布了所有必要的脚本和代码以支持进一步探索。

英文摘要:

Transformer networks, particularly those achieving performance comparable to GPT models, are well known for their robust feature extraction abilities. However, the nature of these extracted features and their alignment with human-engineered ones remain unexplored. In this work, we investigate the internal mechanisms of state-of-the-art, fine-tuned LLMs for passage reranking. We employ a probing-based analysis to examine neuron activations in ranking LLMs, identifying the presence of known human-engineered and semantic features. Our study spans a broad range of feature categories, including lexical signals, document structure, query-document interactions, and complex semantic representations, to uncover underlying patterns influencing ranking decisions. Through experiments on four different ranking LLMs, we identify statistical IR features that are prominently encoded in LLM activations, as well as others that are notably missing. Furthermore, we analyze how these models respond to out-of-distribution queries and documents, revealing distinct generalization behaviors. By dissecting the latent representations within LLM activations, we aim to improve both the interpretability and effectiveness of ranking models. Our findings offer crucial insights for developing more transparent and reliable retrieval systems, and we release all necessary scripts and code to support further exploration.

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

↑