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

EcoRank:使用大语言模型的预算受限文本重排序

EcoRank: Budget-Constrained Text Re-ranking Using Large Language Models

University of California, Riverside(加利福尼亚大学河滨分校)

Muhammad Shihab Rashid, Jannat Ara Meem, Yue Dong, Vagelis Hristidis

AI总结:

针对LLM重排序成本高的问题,提出EcoRank两层流水线,在预算约束下联合优化提示策略与API选择,实验证明其在四个数据集上优于基线。

摘要:

大语言模型(LLMs)在文本重排序任务中已取得最先进的性能。该过程在提示中引入查询和候选段落,并利用点式、列表式和成对式提示策略。这些基于LLM的排序策略的一个局限在于其成本:由于API收费基于输入和输出令牌数量,该过程可能变得昂贵。我们研究如何在给定预算下最大化重排序性能,通过探索提示选择、LLM API和预算分配的广阔搜索空间。我们提出了一套预算受限的方法,使用一组LLM API执行文本重排序。我们最高效的方法名为EcoRank,是一个两层流水线,联合优化跨提示策略和LLM API的预算分配决策。我们在四个流行的问答和段落重排序数据集上的实验结果表明,EcoRank优于其他预算感知的监督和无监督基线。

英文摘要:

Large Language Models (LLMs) have achieved state-of-the-art performance in text re-ranking. This process includes queries and candidate passages in the prompts, utilizing pointwise, listwise, and pairwise prompting strategies. A limitation of these ranking strategies with LLMs is their cost: the process can become expensive due to API charges, which are based on the number of input and output tokens. We study how to maximize the re-ranking performance given a budget, by navigating the vast search spaces of prompt choices, LLM APIs, and budget splits. We propose a suite of budget-constrained methods to perform text re-ranking using a set of LLM APIs. Our most efficient method, called EcoRank, is a two-layered pipeline that jointly optimizes decisions regarding budget allocation across prompt strategies and LLM APIs. Our experimental results on four popular QA and passage reranking datasets show that EcoRank outperforms other budget-aware supervised and unsupervised baselines.

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

↑