Skip to main content
QUICK REVIEW

[论文解读] Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents

Weiwei Sun, Lingyong Yan|arXiv (Cornell University)|Apr 19, 2023
Topic ModelingComputer Science被引用 23
一句话总结

论文表明,经过正确指令的 ChatGPT 和 GPT-4 能在段落重新排序任务上达到与现有最先进有监督方法竞争甚至超越的水平,并引入置换蒸馏将这一能力转移到更小的模型。

ABSTRACT

Large Language Models (LLMs) have demonstrated remarkable zero-shot generalization across various language-related tasks, including search engines. However, existing work utilizes the generative ability of LLMs for Information Retrieval (IR) rather than direct passage ranking. The discrepancy between the pre-training objectives of LLMs and the ranking objective poses another challenge. In this paper, we first investigate generative LLMs such as ChatGPT and GPT-4 for relevance ranking in IR. Surprisingly, our experiments reveal that properly instructed LLMs can deliver competitive, even superior results to state-of-the-art supervised methods on popular IR benchmarks. Furthermore, to address concerns about data contamination of LLMs, we collect a new test set called NovelEval, based on the latest knowledge and aiming to verify the model's ability to rank unknown knowledge. Finally, to improve efficiency in real-world applications, we delve into the potential for distilling the ranking capabilities of ChatGPT into small specialized models using a permutation distillation scheme. Our evaluation results turn out that a distilled 440M model outperforms a 3B supervised model on the BEIR benchmark. The code to reproduce our results is available at www.github.com/sunnweiwei/RankGPT.

研究动机与目标

  • 研究零-shot 的 ChatGPT 与 GPT-4 是否能在标准信息检索基准上有效执行段落重新排序。
  • 提出一种带滑动窗口的有指令性的置换生成方法,以应对上下文限制。
  • 通过引入 NovelEval 这一包含未知知识的新评估集,评估数据污染问题。
  • 开发置换蒸馏方法,将大型语言模型的排序能力转移到小型专用模型。
  • 评估所得到的专用模型在性能上与现有有监督方法相比,以及分析可扩展性。

提出的方法

  • 使用两种提示策略(查询生成与相关性生成),并引入置换生成提示以输出经过排序的段落列表。
  • 应用滑动窗口策略以在超出令牌限制时对更多段落进行排序。
  • 在 TREC、BEIR、Mr.TyDi 基准测试上评估,并对 NovelEval(包含未见知识)进行评估。
  • 使用 RankNet 损失以及交叉编码器或类似 GPT 的架构,将 ChatGPT 的置换输出蒸馏到更小的模型。
  • 比较指令和模型族(GPT-3.5、GPT-4、ChatGPT,以及开源等价物)以评估可靠性与稳定性。

实验结果

研究问题

  • RQ1RQ1:在标准信息检索基准上,ChatGPT(以及 GPT-4)在段落重新排序任务中的表现如何?
  • RQ2RQ2:ChatGPT 的排序能力能否有效地蒸馏到更小的、专用的模型中?
  • RQ3RQ3:指令设计(置换生成 vs. 相关性/查询生成)如何影响重新排序质量?
  • RQ4RQ4:基于大语言模型的再排序器如何通过 NovelEval 处理未知知识?

主要发现

  • 具备指令化置换生成的 GPT-4 在多个基准上超越现有最先进的有监督方法,平均 nDCG@10 提升为 2.7(TREC)、2.3(BEIR)、2.7(My.TyDi)。
  • GPT-4 在 NovelEval 上达到最先进的结果,该测试集包含培训阶段未见的新知识。
  • ChatGPT 在 BEIR 上可超越许多有监督基线,且混合使用 GPT-4/ChatGPT 的设置可以在成本与性能之间取得平衡。
  • 置换蒸馏产生的较小模型(435M 参数的 DeBERTa / LLaMA-7B 变体)在 BEIR 上超过 monoT5(3B),在某些情况下甚至超越教师模型。
  • 使用 ChatGPT 生成的置换训练的蒸馏 DeBERTa 模型在 BEIR 和总体基准表现上优于用有监督 MS MARCO 训练的对比模型,且稳定性提高。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。