TempPerturb-Eval: On the Joint Effects of Internal Temperature and External Perturbations in RAG Robustness
Yongxin Zhou, Philippe Mulhem, Didier Schwab
TL;DR
The paper studies how perturbations in retrieved content interact with LLM temperature in RAG systems, introducing a dedicated RAG Perturbation-Temperature Analysis Framework and a diagnostic benchmark tested on HotpotQA. It finds that higher temperatures consistently amplify vulnerability to perturbations and that perturbation effects can exhibit non-linear sensitivity across the temperature range. The work provides a taxonomy of perturbations, a 440-condition evaluation setup across diverse models, and practical guidelines for model selection and temperature tuning under noisy retrieval conditions. It also suggests future work to incorporate actual retrieval noise in end-to-end RAG pipelines.
Abstract
The evaluation of Retrieval-Augmented Generation (RAG) systems typically examines retrieval quality and generation parameters like temperature in isolation, overlooking their interaction. This work presents a systematic investigation of how text perturbations (simulating noisy retrieval) interact with temperature settings across multiple LLM runs. We propose a comprehensive RAG Perturbation-Temperature Analysis Framework that subjects retrieved documents to three distinct perturbation types across varying temperature settings. Through extensive experiments on HotpotQA with both open-source and proprietary LLMs, we demonstrate that performance degradation follows distinct patterns: high-temperature settings consistently amplify vulnerability to perturbations, while certain perturbation types exhibit non-linear sensitivity across the temperature range. Our work yields three key contributions: (1) a diagnostic benchmark for assessing RAG robustness, (2) an analytical framework for quantifying perturbation-temperature interactions, and (3) practical guidelines for model selection and parameter tuning under noisy retrieval conditions.
