arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.09542cs.CLcs.IR
收藏

ChatGPT 擅长搜索吗?探究大语言模型作为重排序智能体

Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents

Shandong University(山东大学);Baidu Inc.(百度公司);Leiden University(莱顿大学)

Weiwei Sun, Lingyong Yan, Xinyu Ma, Shuaiqiang Wang, Pengjie Ren, Zhumin Chen, Dawei Yin, Zhaochun Ren

AI总结:

本文研究ChatGPT和GPT-4等大语言模型在信息检索中的重排序能力,发现经适当指令的LLMs可媲美甚至超越监督方法,并提出新测试集NovelEval及排列蒸馏方案,将排序能力高效迁移至小型模型。

摘要:

大语言模型(LLMs)在包括搜索引擎在内的各种语言相关任务中展现了卓越的零样本泛化能力。然而,现有工作利用的是 LLMs 的生成能力来进行信息检索(IR),而非直接进行段落排序。LLMs 的预训练目标与排序目标之间的差异构成了另一个挑战。在本文中,我们首先研究了 ChatGPT 和 GPT-4 等生成式 LLMs 在 IR 中的相关性排序表现。令人惊讶的是,我们的实验表明,经过适当指令的 LLMs 在流行的 IR 基准上能够取得与最先进的监督方法相当甚至更优的结果。此外,为了解决对 LLMs 数据污染的担忧,我们收集了一个名为 NovelEval 的新测试集,该测试集基于最新知识,旨在验证模型对未知知识进行排序的能力。最后,为了提高实际应用中的效率,我们深入探讨了利用排列蒸馏方案将 ChatGPT 的排序能力蒸馏到小型专用模型中的潜力。我们的评估结果表明,在 BEIR 基准上,一个蒸馏得到的 440M 模型优于一个 3B 的监督模型。复现我们结果的代码可在 www.github.com/sunnweiwei/RankGPT 获取。

英文摘要:

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.

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

↑