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)|Mar 21, 2024
Topic ModelingComputer Science被引用 6
一句话总结

论文提出一个自适应问答框架,基于查询的复杂度学习选择最合适的检索策略,使用一个轻量级分类器在简单、单步、自适应检索和多步方法之间切换,以提升问答的效率和准确性。

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 中检索策略的动态自适应,以应对多样化的查询复杂度。
  • 开发一个轻量级的复杂度分类器,用从模型预测和数据集偏差中派生的标签进行训练。
  • 实现基于查询复杂度,在无检索、单步检索、以及多步自适应检索之间的无缝切换。
  • 在开放域问答基准上验证该方法,以展示相较基线的效率和准确性提升。

提出的方法

  • 提出一个自适应 QA 框架,根据查询复杂度从最简单到最复杂选择检索策略。
  • 训练一个轻量级分类器,使用从模型预测和数据集偏差自动收集的标签来预测查询复杂度。
  • 整合多种检索策略(无检索、单步检索、自适应检索、多步检索)以及用于比较的基线 oracle。
  • 在开放域 QA 数据集(例如 SQuAD、Natural Questions、TriviaQA、MuSiQue、HotpotQA、2WikiMultiHopQA)上对简单和复杂查询进行评估。
  • 与非自适应检索、单步方法以及 oracle/自适应基线等基线进行比较,以展示效率和准确性的提升。

实验结果

研究问题

  • RQ1一个轻量级分类器是否能够准确预测输入查询在 QA 任务中的复杂度等级?
  • RQ2与固定策略相比,针对简单和复杂查询的自适应检索策略选择是否提升了 QA 的准确性和效率?
  • RQ3在多样的开放域 QA 数据集上,Adaptive-RAG 相对于静态基线和 oracle 基线的表现如何?

主要发现

  • Adaptive-RAG 在多个数据集和不同查询复杂度下,相对于相关基线提升端到端问答的准确性和效率。
  • 该框架在迭代检索、单步检索以及无检索之间取得平衡,以更好地适配每个查询。
  • 与非自适应和单步基线相比,Adaptive-RAG 在简单与复杂问题上的总体表现更高。

阅读本论文

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

在 Nubint 中阅读本论文

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