arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.14117cs.IRcs.CL
收藏

基于零样本 LLM 的排序器提示词变体研究

An Investigation of Prompt Variations for Zero-shot LLM-based Rankers

RMIT University(皇家墨尔本理工大学);CSIRO(澳大利亚联邦科学与工业研究组织);The University of Queensland(昆士兰大学)

Shuoqi Sun, Shengyao Zhuang, Shuai Wang, Guido Zuccon

AI总结:

本文通过大规模实验考察零样本 LLM 排序器,发现提示词组件与措辞对效果的影响有时超过排序算法本身。

摘要:

我们系统地理解了提示词中使用的特定组件和措辞对基于零样本大型语言模型(LLM)的排序器有效性的影响。近来已有若干基于 LLM 的零样本排序方法被提出。在诸多方面中,这些方法的差异体现在:(1)它们实现的排序算法,例如 pointwise 与 listwise;(2)所使用的骨干 LLM,例如 GPT3.5 与 FLAN-T5;(3)提示词中使用的组件和措辞,例如是否使用角色定义(角色扮演)以及用于表达这一点的实际词语。目前尚不清楚性能差异究竟源于底层排序算法,还是源于提示词中更优用词选择等混杂因素。这种混淆有可能损害未来研究。通过大规模实验与分析,我们发现排序算法确实会导致零样本 LLM 排序方法之间的差异。然而,LLM 骨干模型同样如此;但更重要的是,提示词组件和措辞的选择会影响排序。事实上,在我们的实验中发现,后一类因素有时对排序器有效性的影响甚至超过实际排序算法本身;而且当考虑提示词变体时,不同排序方法之间的差异会变得更加模糊。

英文摘要:

We provide a systematic understanding of the impact of specific components and wordings used in prompts on the effectiveness of rankers based on zero-shot Large Language Models (LLMs). Several zero-shot ranking methods based on LLMs have recently been proposed. Among many aspects, methods differ across (1) the ranking algorithm they implement, e.g., pointwise vs. listwise, (2) the backbone LLMs used, e.g., GPT3.5 vs. FLAN-T5, (3) the components and wording used in prompts, e.g., the use or not of role-definition (role-playing) and the actual words used to express this. It is currently unclear whether performance differences are due to the underlying ranking algorithm, or because of spurious factors such as better choice of words used in prompts. This confusion risks to undermine future research. Through our large-scale experimentation and analysis, we find that ranking algorithms do contribute to differences between methods for zero-shot LLM ranking. However, so do the LLM backbones -- but even more importantly, the choice of prompt components and wordings affect the ranking. In fact, in our experiments, we find that, at times, these latter elements have more impact on the ranker's effectiveness than the actual ranking algorithms, and that differences among ranking methods become more blurred when prompt variations are considered.

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

↑