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

LLM-RankFusion:缓解基于LLM的排序中的内在不一致性

LLM-RankFusion: Mitigating Intrinsic Inconsistency in LLM-based Ranking

Oregon State University(俄勒冈州立大学);Pennsylvania State University(宾夕法尼亚州立大学)

Yifan Zeng, Ojas Tendolkar, Raymond Baartmans, Qingyun Wu, Lizhong Chen, Huazheng Wang

AI总结:

针对基于LLM的排序方法存在的顺序不一致和传递不一致问题,提出LLM-RankFusion框架,通过上下文学习校准偏好概率及聚合多排序器结果缓解不一致,提升排序质量。

摘要:

通过提示大型语言模型(LLM)对段落进行排序,在现代信息检索(IR)系统中可实现良好性能。基于LLM进行成对或集合比较并依赖排序算法是对结果排序的常用方法,但排序方法需一致比较才能正确排序,而LLM常违反此要求。我们发现基于LLM的成对比较存在两种内在不一致性:顺序不一致(切换段落顺序导致冲突结果)和传递不一致(所有偏好对中出现非传递三元组)。我们提出LLM-RankFusion框架,通过上下文学习(ICL)演示顺序无关比较并校准段落间偏好概率以缓解顺序不一致,通过聚合多排序器结果解决传递不一致。实验表明该框架显著减少不一致比较结果,提升排序质量,代码已开源。

英文摘要:

Ranking passages by prompting a large language model (LLM) can achieve promising performance in modern information retrieval (IR) systems. A common approach to sort the ranking list is by prompting LLMs for a pairwise or setwise comparison which often relies on sorting algorithms. However, sorting-based methods require consistent comparisons to correctly sort the passages, which we show that LLMs often violate. We identify two kinds of intrinsic inconsistency in LLM-based pairwise comparisons: order inconsistency which leads to conflicting results when switching the passage order, and transitive inconsistency which leads to non-transitive triads among all preference pairs. Our study of these inconsistencies is relevant for understanding and improving the stability of any ranking scheme based on relative preferences. In this paper, we propose LLM-RankFusion, an LLM-based ranking framework that mitigates these inconsistencies and produces a robust ranking list. LLM-RankFusion mitigates order inconsistency using in-context learning (ICL) to demonstrate order-agnostic comparisons and calibration to estimate the underlying preference probability between two passages. We then address transitive inconsistency by aggregating the ranking results from multiple rankers. In our experiments, we empirically show that LLM-RankFusion can significantly reduce inconsistent comparison results, improving the ranking quality by making the final ranking list more robust. Our code is available at \href{https://github.com/XHMY/LLM-RankFusion}{https://github.com/XHMY/LLM-RankFusion}

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

↑