Agentic AutoRAG: 추론 기반 에이전트를 통한 RAG 파이프라인 최적화
Agentic AutoRAG: RAG Pipeline Optimization through Reasoning-Driven Agents
한국어 초록
검색-증강 생성(RAG)은 대규모 언어 모델(LLM)을 외부 지식에 그라운딩(grounding)하기 위해 널리 사용되는 접근 방식입니다. 그러나 파이프라인 구성은 청킹(chunking) 및 임베딩 모델부터 리랭킹(reranking)과 생성에 이르기까지 상호작용하는 수많은 선택지로 인해 비용이 많이 드는 하이퍼파라미터 최적화 문제입니다. 탐욕적 탐색(greedy search)부터 베이지안 최적화(Bayesian optimization)에 이르는 기존 옵티마이저는 각 시도를 종합 점수로 축약하며, 검색된 청크가 각 실패가 검색 중에 발생했는지 아니면 그 이후에 발생했는지에 대한 증거를 이미 제공함에도 불구하고 왜 특정 구성이 그런 성능을 냈는지 모델링하지 않고 탐색합니다. 본 논문에서는 검색 대 생성 실패 귀인(failure attribution)을 활용하는 다목적 RAG 하이퍼파라미터 최적화를 위한 LLM 에이전트 옵티마이저인 Agentic AutoRAG를 소개합니다. 이는 말뭉치 기반의 고정 시험셋에서 점수가 매겨지는 구성을 제안합니다. 각 시도 후 진단기(Diagnoser)는 실패한 각 질문의 원인을 검색 또는 생성으로 돌리고, 모델 순위와 가격에 대한 지식 베이스를 기반으로 하는 제안기(Proposer)는 정확도와 비용을 저울질하여 파레토 프론티어(Pareto frontier)를 추적하며 다음 구성을 선택합니다. 세 가지 다단계 질의응답(multi-hop QA) 벤치마크에서 비교 대상인 모든 기준선보다 더 높은 LLM 판정 정확도를 달성하며, 첫 10회 시도 이내에 통계적 기준선의 30회 시도 전체 판정 정확도와 일치하거나 이를 능가합니다. 실제 의료 말뭉치를 대상으로 한 비용 인식 모드에서는 가장 강력한 기준선의 71.5%를 웃도는 77%의 시험 정확도 중앙값에 도달하면서도 해당 기준선의 질의당 비용의 약 58%만 사용했으며, 해당 기준선 비용의 약 22% 수준에서도 71.5%의 정확도를 달성합니다.
원문 초록
Retrieval-augmented generation (RAG) is a widely used approach for grounding large language models (LLMs) in external knowledge. However, configuring a pipeline is an expensive hyperparameter optimization problem over many interacting choices, from chunking and embedding model to reranking and generation. Existing optimizers, from greedy search to Bayesian optimization, reduce each trial to an aggregate score and search without modeling why a configuration performed as it did, even though the retrieved chunks already provide evidence about whether each failure occurred during retrieval or after it. We introduce Agentic AutoRAG, an LLM-agent optimizer for multi-objective RAG hyperparameter optimization with retrieval-versus-generation failure attribution. It proposes configurations scored on a frozen exam from the corpus: after each trial a Diagnoser attributes each failed question to retrieval or generation, and a Proposer, grounded in a knowledge base of model rankings and pricing, selects the next configuration, weighing accuracy against cost to trace a Pareto frontier. On three multi-hop QA benchmarks it reaches higher LLM-judge accuracy than every baseline we compare, and within its first 10 trials it matches or beats the statistical baselines' full 30-trial judge accuracy. In its cost-aware mode on a real-world healthcare corpus it reaches a median exam accuracy of 77%, above the strongest baseline's 71.5%, at about 58% of that baseline's cost per query, and it matches that 71.5% at about 22% of the cost.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
Accepted at the Second Workshop for REsearch on Agent Language Models (REALM) at EMNLP 2026 and at the Machine Learning for Systems Workshop at NeurIPS 2026. 9 pages plus references and appendix (16 pages total), 4 figures, 6 tables. Code: https://github.com/Agentic-Systems-Lab/Agentic-AutoRAG