AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Recent advancements in Large Language Models have transformed ML/AI development, necessitating a reevaluation of AutoML principles for the Retrieval-Augmented Generation (RAG) systems. To address the challenges of hyper-parameter optimization and online adaptation in RAG, we propose the AutoRAG-HP framework, which formulates the hyper-parameter tuning as an online multi-armed bandit (MAB) problem and introduces a novel two-level Hierarchical MAB (Hier-MAB) method for efficient exploration of large search spaces. We conduct extensive experiments on tuning hyper-parameters, such as top-k retrieved documents, prompt compression ratio, and embedding methods, using the ALCE-ASQA and Natural Questions datasets. Our evaluation from jointly optimization all three hyper-parameters demonstrate that MAB-based online learning methods can achieve Recall@5 ≈ 0.8 for scenarios with prominent gradients in search space, using only ~20% of the LLM API calls required by the Grid Search approach. Additionally, the proposed Hier-MAB approach outperforms other baselines in more challenging optimization scenarios. The code will be made available at https://aka.ms/autorag.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 14 of its 37 references that are in the map. First posted on arXiv 27 Jun 2024.
Builds on
14 of 37 references.
References · 14
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023Enabling Large Language Models to Generate Text with Citationscited by 584
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
- 2019FLAML: A Fast and Lightweight AutoML Librarycited by 104
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2016Evaluation of a Tree-based Pipeline Optimization Tool for Automating Data Sciencecited by 73
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 6.
13 papers.
Sort:
By area:
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoningcited by 17
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptationcited by 16
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systemscited by 11
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
- 2025Demystifying and Enhancing the Efficiency of Large Language Model Based Search Agentscited by 5
- 2025Research on the Online Update Method for Retrieval-Augmented Generation (RAG) Model with Incremental Learningcited by 4
- 2026AutoRAGTuner: A Declarative Framework for Automatic Optimization of RAG Pipelinescited by 1
- 2025A Data-Centric Approach for Safe and Secure Large Language Models against Threatening and Toxic Contentcited by 0
- 2025Multi-Armed Bandits-Based Optimization of Decision Treescited by 0
- 2026CDS4RAG: Cyclic Dual-Sequential Hyperparameter Optimization for RAGcited by 0
- 2026Learning to Grade Efficiently: A Bandit-Driven Prompt-Selection Framework for Low-Cost LLM Essay Scoringcited by 0
- 2026Bandits in Prod: Hyperparameter Optimization at Inference Timecited by 0
1 more
- 2026UniK: Universal Knowledge Perception for Digital and Physical AI21 Sep 2026
- 2026Bandits in Prod: Hyperparameter Optimization at Inference Time1 Sep 2026
- 2026Learning to Grade Efficiently: A Bandit-Driven Prompt-Selection Framework for Low-Cost LLM Essay Scoring24 Aug 2026
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026CDS4RAG: Cyclic Dual-Sequential Hyperparameter Optimization for RAG8 May 2026
- 2026AutoRAGTuner: A Declarative Framework for Automatic Optimization of RAG Pipelines3 May 2026
- 2025Multi-Armed Bandits-Based Optimization of Decision Trees8 Aug 2025
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning30 May 2025
- 2025Demystifying and Enhancing the Efficiency of Large Language Model Based Search Agents17 May 2025
- 2025A Data-Centric Approach for Safe and Secure Large Language Models against Threatening and Toxic Content19 Apr 2025
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systems25 Feb 2025
- 2025Research on the Online Update Method for Retrieval-Augmented Generation (RAG) Model with Incremental Learning13 Jan 2025
1 more
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptationcited by 16
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systemscited by 11
- 2025Research on the Online Update Method for Retrieval-Augmented Generation (RAG) Model with Incremental Learningcited by 4
- 2026AutoRAGTuner: A Declarative Framework for Automatic Optimization of RAG Pipelinescited by 1
- 2026CDS4RAG: Cyclic Dual-Sequential Hyperparameter Optimization for RAGcited by 0
- 2026CDS4RAG: Cyclic Dual-Sequential Hyperparameter Optimization for RAG8 May 2026
- 2026AutoRAGTuner: A Declarative Framework for Automatic Optimization of RAG Pipelines3 May 2026
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systems25 Feb 2025
- 2025Research on the Online Update Method for Retrieval-Augmented Generation (RAG) Model with Incremental Learning13 Jan 2025
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation13 Dec 2024
- 2025Multi-Armed Bandits-Based Optimization of Decision Treescited by 0
- 2026Learning to Grade Efficiently: A Bandit-Driven Prompt-Selection Framework for Low-Cost LLM Essay Scoringcited by 0
- 2026Bandits in Prod: Hyperparameter Optimization at Inference Timecited by 0
- 2026UniK: Universal Knowledge Perception for Digital and Physical AIcited by 0
- 2026UniK: Universal Knowledge Perception for Digital and Physical AI21 Sep 2026
- 2026Bandits in Prod: Hyperparameter Optimization at Inference Time1 Sep 2026
- 2026Learning to Grade Efficiently: A Bandit-Driven Prompt-Selection Framework for Low-Cost LLM Essay Scoring24 Aug 2026
- 2025Multi-Armed Bandits-Based Optimization of Decision Trees8 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2024MBA-RAG: a Bandit Approach for Adaptive Retrieval-Augmented Generation through Question Complexity
- 2025An Analysis of Hyper-Parameter Optimization Methods for Retrieval Augmented Generation
- 2024Adapting to Non-Stationary Environments: Multi-Armed Bandit Enhanced Retrieval-Augmented Generation on Knowledge Graphs
- 2024Learning to Rank for Multiple Retrieval-Augmented Models through Iterative Utility Maximization
- 2026Agentic AutoRAG: RAG Pipeline Optimization through Reasoning-Driven Agents
- 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Models
- 2024RAG-DDR: Optimizing Retrieval-Augmented Generation Using Differentiable Data Rewards
- 2026Can LLMs Beat Classical Hyperparameter Optimization Algorithms? A Study on autoresearch