arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.05588cs.IRcs.AIcs.LG
收藏

自回归排序:在双编码器和交叉编码器之间架起桥梁

Autoregressive Ranking: Bridging the Gap Between Dual and Cross Encoders

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Google Research(谷歌研究院);The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Benjamin Rozonoyer, Chong You, Michael Boratko, Himanshu Jain, Nilesh Gupta, Srinadh Bhojanapalli, Andrew McCallum, Felix Yu

AI总结:

本文提出SToICaL损失,通过项级再加权和前缀树边际化,提升LLM在排序任务中的表现,证明ARR在表达能力上优于双编码器。

摘要:

大型语言模型(LLMs)的成功促使检索和排序领域向生成式方法转变,旨在取代传统的双编码器(DEs)和交叉编码器(CEs)。一种显著的范式是点wise自回归排序(ARR),其中LLM逐个生成文档标识符(docIDs)以通过束搜索实现排序。ARR相比DEs具有更强的表达能力,同时避免了CEs的计算成本。然而,这一表达能力的理论基础仍然缺失。此外,标准的下一个token预测损失是无序的,不适合对LLM进行排序任务的微调。在本文中,我们首先证明ARR的表达能力严格优于DEs。虽然DE需要随着语料库大小线性增长的嵌入维度才能实现任意排序,ARR却能用固定隐藏维度解决这一问题。我们随后提出SToICaL(简单token-项校准损失),一种通用的排序感知训练损失用于LLM微调。通过使用项级再加权和前缀树边际化,我们根据真实相关性将概率质量分布到有效的docID tokens上。在WordNet和ESCI数据集上的实验验证了我们的损失能够抑制无效的docID生成,并显著提高排序指标,超越top-1检索。

英文摘要:

The success of Large Language Models (LLMs) has motivated a shift toward generative approaches to retrieval and ranking, aiming to supersede classical Dual Encoders (DEs) and Cross Encoders (CEs). A prominent paradigm is pointwise Autoregressive Ranking (ARR), where an LLM generates document identifiers (docIDs) token-by-token to enable ranking via beam search. ARR offers the promise of superior expressivity compared to DEs while avoiding the prohibitive computational cost of CEs. However, a formal theoretical foundation for this expressive power has been missing. Moreover, the standard next-token prediction loss is rank-agnostic and inappropriate for finetuning an LLM for ranking tasks. In this paper, we first prove that the expressive capacity of ARR is strictly superior to DEs. While a DE requires an embedding dimension that grows linearly with corpus size to achieve arbitrary rankings, ARR can solve it with a constant hidden dimension. We then propose SToICaL (Simple Token-Item Calibrated Loss), a generalized rank-aware training loss for LLM finetuning. By using item-level reweighting and prefix-tree marginalization, we distribute probability mass over valid docID tokens based on their ground-truth relevance. Experiments on WordNet and ESCI datasets verify that our loss suppresses invalid docID generations and significantly improves ranking metrics beyond top-1 retrieval.

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

↑