mlsanityData to 7 Oct 2026

AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generation

arXiv 2406.19251 ↗First posted 27 Jun 2024cs.CL cs.AIcited by 13

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  5. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
  6. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  7. 2023Enabling Large Language Models to Generate Text with Citationscited by 584
  8. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
  9. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  10. 2019FLAML: A Fast and Lightweight AutoML Librarycited by 104
  11. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  12. 2016Evaluation of a Tree-based Pipeline Optimization Tool for Automating Data Sciencecited by 73
2 more
  1. 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
  2. 2021An Empirical Study on Hyperparameter Optimization for Fine-Tuning Pre-trained Language Modelscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 6.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024MBA-RAG: a Bandit Approach for Adaptive Retrieval-Augmented Generation through Question Complexity
  2. 2025An Analysis of Hyper-Parameter Optimization Methods for Retrieval Augmented Generation
  3. 2024Adapting to Non-Stationary Environments: Multi-Armed Bandit Enhanced Retrieval-Augmented Generation on Knowledge Graphs
  4. 2024Learning to Rank for Multiple Retrieval-Augmented Models through Iterative Utility Maximization
  5. 2026Agentic AutoRAG: RAG Pipeline Optimization through Reasoning-Driven Agents
  6. 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Models
  7. 2024RAG-DDR: Optimizing Retrieval-Augmented Generation Using Differentiable Data Rewards
  8. 2026Can LLMs Beat Classical Hyperparameter Optimization Algorithms? A Study on autoresearch