Hyperparameter Analysis in Retrieval-Augmented Generation Systems Applied to the Public Prosecutor’s Office of the State of Espírito Santo Corpus
Abstract
Abstract This research paper proposes a methodology based on Design of Experiments to analyze and opti-mize hyperparameters of a Retrieval-Augmented Generation system applied to the normative corpusof the Public Prosecutor’s Office of the State of Espírito Santo. The central objective is to identifywhich critical factors—such as document segmentation strategy (chunking), retrieved context volume(k), and Large Language Model choice—significantly impact generated response quality. Evaluationemploys the LLM-as-a-Judge paradigm supported by the Retrieval Augmented Generation Assess-ment framework. Due to the non-parametric nature of the data, statistical analysis is conducted viaAligned Rank Transform. Results reveal that hyperparameters significantly impact response quality.
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.