Skip to main content
QUICK REVIEW

[논문 리뷰] Top-Down Partitioning for Efficient List-Wise Ranking

Andrew Parry, Sean MacAvaney|arXiv (Cornell University)|2024. 05. 23.
Optimization and Search ProblemsComputer Science인용 수 3
한 줄 요약

이 논문은 대규모 언어 모델(Large Language Models, LLMs)을 사용한 리스트와이즈 랭킹을 위한 효율적인 알고리즘인 Top-Down Partitioning(TDPart)을 제안한다. 슬라이딩 윈도우 방식이 문서를 하향식으로 처리하고 중복적으로 재평가하는 데 반해, 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.

연구 동기 및 목표

  • 기존 슬라이딩 윈도우 방식이 리스트와이즈 랭킹에 있어 비병렬적이고 중복적으로 문서를 재평가한다는 비효율성을 해결하기 위해.
  • 톱-k 검색을 위한 파artitioning 전략을 재고함으로써 LLM 기반 리스트와이즈 재랭커의 계산 비용과 지연 시간을 줄이기 위해.
  • 피벗 기반 상향식 파artitioning 전략이 높은 깊이 검색 환경에서 랭킹 품질을 훼손하지 않으면서도 효율성을 향상시킬 수 있는지 조사하기 위해.
  • 다양한 도메인에서 리스트와이즈 랭커의 강인성과 파artitioning 전략이 성능 및 추론 예산에 미치는 영향을 평가하기 위해.
  • 훈련 데이터 애너테이션 파이프라인에서 리스트와이즈 디스틸레이션의 더 넓은 스케일러블성과 경제성 향상을 위해.

제안 방법

  • 초기 랭킹에서 상위-k 순위의 문서들 중에서 피벗을 선택하는 상향식 파artitioning 전략을 도입한다.
  • 피벗은 임의의 깊이까지의 모든 문서들과 병렬로 비교되어, 피벗보다 더 관련성이 높은 후보 문서들을 식별한다.
  • 반복마다 제약된 후보자 수 예산을 사용하여 지연 시간과 계산 비용을 관리한다.
  • 하향식 슬라이딩 윈도우에서 존재하는 의존성 체인을 제거하기 위해 피벗 비교의 본질적 병렬성을 활용한다.
  • 오라클 설정 하에서 하향식 파artitioning 전략이 하향식 슬라이딩 윈도우 방식과 정적 동치성을 유지하도록 설계되어 성능 저하 없이 보장된다.
  • 고품질의 1단계 검색기와 통합되어, 높은 품질의 피벗을 통해 최소한의 추론 오버헤드로 효율적인 후보 선택이 가능하다.
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상향식 파artitioning 전략이 리스트와이즈 랭킹에서 LLM 추론 호출 수를 줄이면서도 성능을 유지하거나 향상시킬 수 있는가?
  • RQ2다양한 LLM과 도메인에서 피벗 기반 파artitioning 전략이 슬라이딩 윈도우 방식에 비해 효율성과 효과성 측면에서 어떻게 비교되는가?
  • RQ3깊이가 증가함에 따라 리스트와이즈 랭커의 성능이 얼마나 떨어지며, 상향식 파artitioning 전략이 이를 완화할 수 있는가?
  • RQ4피벗 선택과 후보자 수 예산의 선택이 추론 비용과 랭킹 품질 간의 트레이드오프에 어떤 영향을 미치는가?
  • RQ5문서의 관련성 구분이 어려운 경우가 많은 도메인 외부 검색 작업에서 제안된 방법이 강인한가?

주요 결과

  • TDPart는 깊이 100까지 랭킹할 경우 슬라이딩 윈도우 방식 대비 약 33%의 추론 호출 수를 감소시킨다.
  • TREC COVID 및 Touche 벤치마크에서 TDPart는 nDCG@10 및 P@10에서 슬라이딩 윈도우 방식과 동일하거나 뛰어난 성능을 보이며 더 적은 추론 호출을 사용한다.
  • RankZephyr 및 LiT5의 경우, Touche에서 TDPart는 nDCG@10 및 P@10에서 슬라이딩 윈도우를 능가하며, 각각 5.8 및 5.2회의 추론 호출을 기록했다(슬라이딩 윈도우 대비 9.0회).
  • TREC COVID에서 TDPart는 3개 모델 중 2개에서 단일 윈도우 방식을 초월하며, 성능을 유지하면서도 추론 호출 수를 33% 이상 감소시켰다.
  • 도메인 외부 설정에서의 성능 저하 현상은 리스트와이즈 랭커가 깊이가 깊어질수록 관련 문서와 비관련 문서를 구분하기 어려워지는 경향이 있음을 시사하며, 특히 약한 1단계 검색기의 경우 더욱 두드러진다.
  • GPT-3.5 및 RankZephyr와 같은 강력한 모델은 피벗 기반 접근 방식과 더 잘 일치함을 보여주며, 이는 모델 품질이 이 방법의 효과성을 향상시킨다는 것을 시사한다.
(a)
(a)

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.