Skip to main content
QUICK REVIEW

[논문 리뷰] Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexity

Soyeong Jeong, Jinheon Baek|arXiv (Cornell University)|2024. 03. 21.
Topic ModelingComputer Science인용 수 6
한 줄 요약

본 논문은 복잡도에 따라 가장 적합한 검색 전략을 선택하도록 학습하는 적응형 QA 프레임워크를 제시하며, 경량 분류기를 사용해 간단한(single-step), 적응형 검색, 다중 단계 접근 등을 전환하여 QA 효율성과 정확도를 향상시킨다.

ABSTRACT

Retrieval-Augmented Large Language Models (LLMs), which incorporate the non-parametric knowledge from external knowledge bases into LLMs, have emerged as a promising approach to enhancing response accuracy in several tasks, such as Question-Answering (QA). However, even though there are various approaches dealing with queries of different complexities, they either handle simple queries with unnecessary computational overhead or fail to adequately address complex multi-step queries; yet, not all user requests fall into only one of the simple or complex categories. In this work, we propose a novel adaptive QA framework, that can dynamically select the most suitable strategy for (retrieval-augmented) LLMs from the simplest to the most sophisticated ones based on the query complexity. Also, this selection process is operationalized with a classifier, which is a smaller LM trained to predict the complexity level of incoming queries with automatically collected labels, obtained from actual predicted outcomes of models and inherent inductive biases in datasets. This approach offers a balanced strategy, seamlessly adapting between the iterative and single-step retrieval-augmented LLMs, as well as the no-retrieval methods, in response to a range of query complexities. We validate our model on a set of open-domain QA datasets, covering multiple query complexities, and show that ours enhances the overall efficiency and accuracy of QA systems, compared to relevant baselines including the adaptive retrieval approaches. Code is available at: https://github.com/starsuzi/Adaptive-RAG.

연구 동기 및 목표

  • 다양한 질의 복잡성을 다루기 위해 QA에서 검색 전략 간의 동적 적응을 동기 부여하고 가능하게 한다.
  • 모델 예측 및 데이터세트 편향에서 파생된 라벨로 학습된 경량 복잡도 분류기를 개발한다.
  • 질의 복잡도에 따라 no retrieval, single-step retrieval, and multi-step adaptive retrieval 간의 매끄러운 전환을 가능하게 한다.
  • 기저대역 대비 효율성과 정확도 향상을 입증하기 위해 open-domain QA 벤치마크에서 접근법을 검증한다.

제안 방법

  • 질의 복잡도에 따라 가장 간단한 것에서 가장 정교한 것까지 검색 전략을 선택하는 적응형 QA 프레임워크를 제안한다.
  • 모델 예측 및 데이터셋 편향에서 자동으로 수집된 라벨을 사용해 질의 복잡도를 예측하는 경량 분류기를 훈련한다.
  • 검색 전략들(검색 없이, 단일 단계 검색, 적응형 검색, 다단계 검색)과 비교를 위한 기본 오라클을 통합한다.
  • 간단한 질의와 복잡한 질의에 걸쳐 open-domain QA 데이터셋(SQuAD, Natural Questions, TriviaQA, MuSiQue, HotpotQA, 2WikiMultiHopQA)에서 평가한다.
  • 비적응 검색, 단일 단계 접근, 오라클/적응형 기초 모형 등을 포함한 기준선과 비교하여 효율성과 정확도 향상을 입증한다.

실험 결과

연구 질문

  • RQ1경량 분류기가 QA 작업에 들어오는 질의의 복잡도 수준을 정확하게 예측할 수 있는가?
  • RQ2고정된 전략과 비교했을 때 적응형 검색 전략 선택이 간단한 질의와 복잡한 질의 모두에서 QA 정확도와 효율성을 향상시키는가?
  • RQ3다양한 open-domain QA 데이터셋에서 Adaptive-RAG의 성능이 정적 및 오라클 기반 기준선과 어떻게 비교되는가?

주요 결과

  • Adaptive-RAG는 여러 데이터셋과 질의 복잡도에 걸쳐 관련 기준선에 비해 엔드투엔드 QA 정확도와 효율성을 개선한다.
  • 이 프레임워크는 반복적 검색 방법과 단일 단계 검색 방법, 그리고 검색 없이 균형을 이루어 각 질의에 더 잘 맞춘다.
  • 비적응 및 단일 단계 기준선과 비교할 때, Adaptive-RAG는 단순 및 복잡한 질문 모두에서 전반적인 성능이 더 높게 나타난다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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