[논문 리뷰] Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents
본 논문은 정확한 지시를 받은 ChatGPT와 GPT-4가 패시지 재정렬에서 최첨단 감독 방법과 경쟁하거나 이를 능가할 수 있음을 보이고, 이 능력을 더 작은 모델로 이전하기 위한 permutation distillation를 도입한다.
Large Language Models (LLMs) have demonstrated remarkable zero-shot generalization across various language-related tasks, including search engines. However, existing work utilizes the generative ability of LLMs for Information Retrieval (IR) rather than direct passage ranking. The discrepancy between the pre-training objectives of LLMs and the ranking objective poses another challenge. In this paper, we first investigate generative LLMs such as ChatGPT and GPT-4 for relevance ranking in IR. Surprisingly, our experiments reveal that properly instructed LLMs can deliver competitive, even superior results to state-of-the-art supervised methods on popular IR benchmarks. Furthermore, to address concerns about data contamination of LLMs, we collect a new test set called NovelEval, based on the latest knowledge and aiming to verify the model's ability to rank unknown knowledge. Finally, to improve efficiency in real-world applications, we delve into the potential for distilling the ranking capabilities of ChatGPT into small specialized models using a permutation distillation scheme. Our evaluation results turn out that a distilled 440M model outperforms a 3B supervised model on the BEIR benchmark. The code to reproduce our results is available at www.github.com/sunnweiwei/RankGPT.
연구 동기 및 목표
- 제로샷 ChatGPT와 GPT-4가 표준 IR 벤치마크에서 패시지 재정렬을 효과적으로 수행할 수 있는지 조사한다.
- 컨텍스트 한계를 다루기 위한 슬라이딩 윈도우를 갖춘 지시적 순열 생성 접근법을 제안한다.
- NovelEval을 도입하여 알려지지 않은 지식을 가진 새로운 평가 세트로 데이터 오염 우려를 평가한다.
- 소형 특화 모델로 LLM의 랭킹 능력을 전달하기 위한 순열 증류 방법을 개발한다.
- 결과적으로 생성된 특화 모델의 성능을 기존의 감독 방법과 비교하고 확장성을 분석한다.
제안 방법
- 두 가지 프롬프트 전략(쿼리 생성 및 관련성 생성)을 사용하고, 순위가 매겨진 패시지 목록을 출력하는 순열 생성 프롬프트를 도입한다.
- 토큰 한계를 넘어 더 많은 패시지를 순위 매기기 위해 슬라이딩 윈도우 전략을 적용한다.
- TREC, BEIR, Mr.TyDi 벤치마크와 unseen 지식을 포함하는 NovelEval에서 평가한다.
- RankNet 손실과 크로스-인코더 또는 GPT-유사 아키텍처를 사용하여 ChatGPT의 순열 출력을 더 작은 모델로 증류한다.
- Reliability 및 안정성을 평가하기 위해 지시 및 모델 계열(GPT-3.5, GPT-4, ChatGPT, 및 오픈 소스 등가)을 비교한다.
실험 결과
연구 질문
- RQ1RQ1: ChatGPT(및 GPT-4)가 표준 IR 벤치마크에서 패시지 재정렬 작업을 어떻게 수행하는가?
- RQ2RQ2: ChatGPT의 랭킹 능력을 더 작고 특화된 모델로 효과적으로 증류할 수 있는가?
- RQ3RQ3: 지시 디자인(순열 생성 대 관련성/쿼리 생성)이 재랭킹 품질에 어떤 영향을 미치는가?
- RQ4RQ4: NovelEval를 통해 LLM 기반 재랭커가 알 수 없는 지식을 어떻게 다루는가?
주요 결과
- GPT-4 with instructional permutation generation surpasses state-of-the-art supervised methods on multiple benchmarks, averaging nDCG@10 gains (2.7 on TREC, 2.3 on BEIR, 2.7 on My.TyDi).
- GPT-4 achieves state-of-the-art results on NovelEval, a test set with novel knowledge not seen during training.
- ChatGPT can outperform many supervised baselines on BEIR, and a mixed GPT-4/ChatGPT setup can balance cost and performance.
- Permutation distillation yields smaller models (435M-parameter DeBERTa/LLaMA-7B variants) that outperform monoT5 (3B) on BEIR and can even surpass the teacher in some cases.
- Distilled DeBERTa models trained with ChatGPT-generated permutations show stronger BEIR and overall benchmark performance than supervised MS MARCO-trained counterparts, with improved stability.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.