Skip to main content
QUICK REVIEW

[论文解读] Top-Down Partitioning for Efficient List-Wise Ranking

Andrew Parry, Sean MacAvaney|arXiv (Cornell University)|May 23, 2024
Optimization and Search ProblemsComputer Science被引用 3
一句话总结

本文提出了一种名为自顶向下划分(Top-Down Partitioning, TDPart)的新算法,用于利用大语言模型(LLMs)实现高效的列表级排序。与自底向上、冗余处理文档的滑动窗口方法不同,TDPart选择一个高排名的枢轴点,并将其并行比较至深度k以内的所有文档,从而将推理调用减少约33%,同时在多个重排序器上保持或超越先前性能。

ABSTRACT

Large Language Models (LLMs) have significantly impacted many facets of natural language processing and information retrieval. Unlike previous encoder-based approaches, the enlarged context window of these generative models allows for ranking multiple documents at once, commonly called list-wise ranking. However, there are still limits to the number of documents that can be ranked in a single inference of the model, leading to the broad adoption of a sliding window approach to identify the k most relevant items in a ranked list. We argue that the sliding window approach is not well-suited for list-wise re-ranking because it (1) cannot be parallelized in its current form, (2) leads to redundant computational steps repeatedly re-scoring the best set of documents as it works its way up the initial ranking, and (3) prioritizes the lowest-ranked documents for scoring rather than the highest-ranked documents by taking a bottom-up approach. Motivated by these shortcomings and an initial study that shows list-wise rankers are biased towards relevant documents at the start of their context window, we propose a novel algorithm that partitions a ranking to depth k and processes documents top-down. Unlike sliding window approaches, our algorithm is inherently parallelizable due to the use of a pivot element, which can be compared to documents down to an arbitrary depth concurrently. In doing so, we reduce the number of expected inference calls by around 33% when ranking at depth 100 while matching the performance of prior approaches across multiple strong re-rankers.

研究动机与目标

  • 解决现有滑动窗口方法在列表级排序中的低效问题,这些方法无法并行化且冗余地重新评分文档。
  • 通过重新思考用于top-k检索的划分策略,降低基于LLM的列表级重排序器的计算成本和延迟。
  • 探究基于枢轴点的自顶向下划分是否能在不牺牲排序质量的前提下提升效率,特别是在高深度检索设置下。
  • 评估列表级排序器在不同领域的鲁棒性,并分析划分策略对性能和推理预算的影响。
  • 使列表级蒸馏在训练数据标注流水线中的可扩展性和成本效益更高。

提出的方法

  • 该方法引入了一种自顶向下的划分策略,从初始排序的top-k文档中选择一个枢轴点。
  • 该枢轴点被并行比较至任意深度的所有文档,以识别出比枢轴点更相关的候选文档,从而纳入top-k结果。
  • 该算法在每次迭代中使用受约束的候选文档预算,以控制延迟和计算成本。
  • 它利用了枢轴点比较的固有并行性,消除了自底向上滑动窗口中存在的依赖链。
  • 该方法在理想情况(oracle设置)下与滑动窗口方法在静态上等价,确保无性能下降。
  • 它可与强大的第一阶段检索器集成,其中高质量的枢轴点可实现高效的候选选择,且推理开销极低。
Figure 1 : Bottom-up sliding window vs our top-down partitioning approach. Relevant documents are colored blue. In the case of our approach, the pivot document marked red is identified in the first pass and can be compared to other partitions concurrently (Shown with red arrows).
Figure 1 : Bottom-up sliding window vs our top-down partitioning approach. Relevant documents are colored blue. In the case of our approach, the pivot document marked red is identified in the first pass and can be compared to other partitions concurrently (Shown with red arrows).

实验结果

研究问题

  • RQ1自顶向下的划分策略是否能在保持或提升性能的同时,减少列表级排序中的LLM推理调用次数?
  • RQ2在不同LLM和领域下,基于枢轴点的划分与滑动窗口方法在效率和有效性方面有何比较?
  • RQ3随着检索深度的增加,列表级排序器的性能退化程度如何?自顶向下划分能否缓解此问题?
  • RQ4枢轴点选择和候选预算的选择如何影响推理成本与排序质量之间的权衡?
  • RQ5在领域外检索任务中,当大规模下相关性难以区分时,该方法是否具有鲁棒性?

主要发现

  • 与滑动窗口方法相比,TDPart在排序至深度100时,将预期推理调用次数减少了约33%。
  • 在TREC COVID和Touche基准测试中,TDPart在nDCG@10和P@10指标上与滑动窗口方法持平或更优,同时使用更少的推理调用。
  • 在Touche数据集上,对于RankZephyr和LiT5模型,TDPart在nDCG@10和P@10上均优于滑动窗口方法,分别仅需5.8次和5.2次推理(而滑动窗口需9.0次)。
  • 在TREC COVID数据集上,TDPart在3个模型中的2个上优于单窗口方法,同时将推理次数减少33%以上,且性能保持不变。
  • 在领域外设置下性能下降表明,列表级排序器在更深层次上难以区分相关与不相关文档,尤其在第一阶段检索器较弱时更为明显。
  • 更强的模型(如GPT-3.5和RankZephyr)与基于枢轴点的方法表现出更好的对齐性,表明模型质量能增强该方法的有效性。
(a)
(a)

阅读本论文

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

在 Nubint 中阅读本论文

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