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

语言模型的策略梯度训练用于排序

Policy-Gradient Training of Language Models for Ranking

Cornell University(康奈尔大学)

Ge Gao, Jonathan D. Chang, Claire Cardie, Kianté Brantley, Thorsten Joachim

AI总结:

针对基于LLM的检索器依赖复杂启发式对比损失训练的问题,提出Neural PG-RANK算法,将LLM实例化为Plackett-Luce排序策略,通过策略梯度端到端训练,统一训练目标与下游决策质量,在域内性能和部分域外泛化上取得显著提升。

摘要:

文本检索在将决策所需的事实知识整合到语言处理流程中起着至关重要的作用,涵盖从基于聊天的网络搜索到问答系统等场景。当前最先进的文本检索模型利用预训练大型语言模型(LLMs)来获得有竞争力的性能,但通过典型的对比损失训练基于LLM的检索器需要复杂的启发式方法,包括选择难负样本和使用额外监督作为学习信号。这种对启发式方法的依赖源于对比损失本身是启发式的,并未直接优化处理流程末端决策质量的下游指标。为解决这一问题,我们提出Neural PG-RANK,这是一种新颖的训练算法,通过将LLM实例化为Plackett-Luce排序策略来学习排序。Neural PG-RANK提供了一种原则性方法,通过策略梯度对作为更大决策系统一部分的检索模型进行端到端训练,几乎不依赖复杂的启发式方法,并有效将训练目标与下游决策质量统一起来。我们在各种文本检索基准上进行了广泛实验。结果表明,当训练目标与评估设置一致时,Neural PG-RANK在域内性能上取得显著提升,并且对下游问答任务中使用的一些关键数据集具有实质性的域外泛化能力。

英文摘要:

Text retrieval plays a crucial role in incorporating factual knowledge for decision making into language processing pipelines, ranging from chat-based web search to question answering systems. Current state-of-the-art text retrieval models leverage pre-trained large language models (LLMs) to achieve competitive performance, but training LLM-based retrievers via typical contrastive losses requires intricate heuristics, including selecting hard negatives and using additional supervision as learning signals. This reliance on heuristics stems from the fact that the contrastive loss itself is heuristic and does not directly optimize the downstream metrics of decision quality at the end of the processing pipeline. To address this issue, we introduce Neural PG-RANK, a novel training algorithm that learns to rank by instantiating a LLM as a Plackett-Luce ranking policy. Neural PG-RANK provides a principled method for end-to-end training of retrieval models as part of larger decision systems via policy gradient, with little reliance on complex heuristics, and it effectively unifies the training objective with downstream decision-making quality. We conduct extensive experiments on various text retrieval benchmarks. The results demonstrate that when the training objective aligns with the evaluation setup, Neural PG-RANK yields remarkable in-domain performance improvement, with substantial out-of-domain generalization to some critical datasets employed in downstream question answering tasks.

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

↑