[Paper Review] Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexity
The paper proposes an adaptive QA framework that learns to select the most suitable retrieval strategy for a query based on its complexity, using a lightweight classifier to switch among simple, single-step, adaptive retrieval, and multi-step approaches to improve QA efficiency and accuracy.
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.
Motivation & Objective
- Motivate and enable dynamic adaptation among retrieval strategies for QA to handle diverse query complexities.
- Develop a lightweight complexity classifier trained on labels derived from model predictions and dataset biases.
- Enable seamless switching between no retrieval, single-step retrieval, and multi-step adaptive retrieval based on query complexity.
- Validate the approach on open-domain QA benchmarks to demonstrate efficiency and accuracy gains over baselines.
Proposed method
- Propose an adaptive QA framework that selects retrieval strategy from simplest to most sophisticated based on query complexity.
- Train a lightweight classifier to predict query complexity using automatically collected labels from model predictions and dataset biases.
- Integrate multiple retrieval strategies (no retrieval, single-step retrieval, adaptive retrieval, multi-step retrieval) and a baseline oracle for comparison.
- Evaluate on open-domain QA datasets (e.g., SQuAD, Natural Questions, TriviaQA, MuSiQue, HotpotQA, 2WikiMultiHopQA) across simple and complex queries.
- Compare against baselines including non-adaptive retrieval, single-step approaches, and oracle/adaptive baselines to demonstrate efficiency and accuracy gains.
Experimental results
Research questions
- RQ1Can a lightweight classifier accurately predict the complexity level of incoming queries for QA tasks?
- RQ2Does adaptive selection of retrieval strategies improve QA accuracy and efficiency across simple and complex queries compared to fixed strategies?
- RQ3How does Adaptive-RAG perform relative to static and oracle-based baselines on diverse open-domain QA datasets?
Key findings
- Adaptive-RAG improves end-to-end QA accuracy and efficiency over relevant baselines across multiple datasets and query complexities.
- The framework balances between iterative and single-step retrieval methods, plus no-retrieval, to better fit each query.
- Compared to non-adaptive and single-step baselines, Adaptive-RAG demonstrates higher overall performance on both simple and complex questions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.