[论文解读] Learning to Rank in Generative Retrieval
本文提出 LTRGR,一种用于增强生成式检索的排序学习框架,通过在训练过程中引入排名损失,使自回归模型与最终的文档排序目标对齐。通过采用两阶段训练流程——首先生成标识符,然后优化排序——LTRGR 在不增加推理成本的前提下提升了检索性能,在三个基准测试上取得了最先进结果。
Generative retrieval stands out as a promising new paradigm in text retrieval that aims to generate identifier strings of relevant passages as the retrieval target. This generative paradigm taps into powerful generative language models, distinct from traditional sparse or dense retrieval methods. However, only learning to generate is insufficient for generative retrieval. Generative retrieval learns to generate identifiers of relevant passages as an intermediate goal and then converts predicted identifiers into the final passage rank list. The disconnect between the learning objective of autoregressive models and the desired passage ranking target leads to a learning gap. To bridge this gap, we propose a learning-to-rank framework for generative retrieval, dubbed LTRGR. LTRGR enables generative retrieval to learn to rank passages directly, optimizing the autoregressive model toward the final passage ranking target via a rank loss. This framework only requires an additional learning-to-rank training phase to enhance current generative retrieval systems and does not add any burden to the inference stage. We conducted experiments on three public benchmarks, and the results demonstrate that LTRGR achieves state-of-the-art performance among generative retrieval methods. The code and checkpoints are released at https://github.com/liyongqi67/LTRGR.
研究动机与目标
- 解决生成式检索中的学习差距问题,即准确生成标识符并不保证获得最优的文档排序结果。
- 弥合生成式检索系统中自回归生成目标与最终排序目标之间的脱节。
- 使生成式检索模型能够通过引入排序学习目标,直接学习对文档进行排序。
- 在不增加推理成本的前提下,通过额外的训练阶段提升排序性能。
- 证明通过排名损失进行端到端优化可显著提升检索效果。
提出的方法
- 该框架采用两阶段训练流程:首先使用标准生成损失,训练自回归模型以预测文档标识符。
- 其次,应用排名损失,利用启发式函数基于预测的标识符生成文档排名列表,对模型进行微调。
- 排名损失优化模型,使其更接近正确的文档排序顺序,直接与最终评估指标对齐。
- 该方法仅增加一个训练阶段,不改变推理流程,从而保持高效性。
- 损失函数结合生成损失与排名损失,并使用可学习权重 λ 平衡两项目标。
- 该框架可应用于现有生成式检索模型,通过引入排序感知微调实现性能增强。
实验结果
研究问题
- RQ1排序学习目标能否提升生成式检索模型的文档排序性能?
- RQ2在训练过程中增加排名损失,能否弥合标识符生成与最终检索排序之间的差距?
- RQ3能否在不增加推理成本的前提下实现性能提升?
- RQ4不同的边界值和损失权重 λ 如何影响模型的排序效果?
- RQ5排名损失在多大程度上改善了 top-k 检索结果,如 hits@5 和 hits@20?
主要发现
- LTRGR 在三个公开基准测试上达到最先进性能,优于现有生成式检索方法。
- 模型主要通过将正样本文档推至更高排名位置来提升检索效果,尤其在 hits@5 和 hits@20 指标上表现显著。
- 学习排序阶段后,正确预测的标识符数量增加,表明标识符生成质量与排序目标更加一致。
- 微调后,正确标识符的得分提升,表明对相关预测的置信度增强。
- 边界值为 100 时表现较差,而 200 至 500 的边界值能保持稳定性能,表明需要最小边界值。
- 将生成损失权重 λ 设为 0 会导致性能显著下降,证实其重要性;而过高的 λ 值会轻微降低 top-k 性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。