ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2505.03452
43
0

An Analysis of Hyper-Parameter Optimization Methods for Retrieval Augmented Generation

6 May 2025
Matan Orbach
Ohad Eytan
Benjamin Sznajder
Ariel Gera
O. Boni
Yoav Kantor
Gal Bloch
Omri Levy
Hadas Abraham
Nitzan Barzilay
Eyal Shnarch
Michael E. Factor
Shila Ofek-Koifman
Paula Ta-Shma
Assaf Toledo
ArXivPDFHTML
Abstract

Finding the optimal Retrieval-Augmented Generation (RAG) configuration for a given use case can be complex and expensive. Motivated by this challenge, frameworks for RAG hyper-parameter optimization (HPO) have recently emerged, yet their effectiveness has not been rigorously benchmarked. To address this gap, we present a comprehensive study involving 5 HPO algorithms over 5 datasets from diverse domains, including a new one collected for this work on real-world product documentation. Our study explores the largest HPO search space considered to date, with two optimized evaluation metrics. Analysis of the results shows that RAG HPO can be done efficiently, either greedily or with iterative random search, and that it significantly boosts RAG performance for all datasets. For greedy HPO approaches, we show that optimizing models first is preferable to the prevalent practice of optimizing sequentially according to the RAG pipeline order.

View on arXiv
@article{orbach2025_2505.03452,
  title={ An Analysis of Hyper-Parameter Optimization Methods for Retrieval Augmented Generation },
  author={ Matan Orbach and Ohad Eytan and Benjamin Sznajder and Ariel Gera and Odellia Boni and Yoav Kantor and Gal Bloch and Omri Levy and Hadas Abraham and Nitzan Barzilay and Eyal Shnarch and Michael E. Factor and Shila Ofek-Koifman and Paula Ta-Shma and Assaf Toledo },
  journal={arXiv preprint arXiv:2505.03452},
  year={ 2025 }
}
Comments on this paper