San Jose State University
SAFE-R2R: A Safety-Aware and Budget-Optimized Retrieval Controller for RAG Systems
Abstract
dc:description.abstractRetrieval-Augmented Generation (RAG) improves factual grounding in large language models by incorporating external evidence during inference. However, most RAG systems rely on fixed retrieval strategies that ignore query difficulty, computational cost, and prediction uncertainty. This project introduces SAFE-R2R (Safety-Aware and Budget-Optimized Reason-to-Retrieve), a retrieval controller that treats retrieval as a query-dependent decision problem. SAFE-R2R organizes retrieval into a multi-rung ladder ranging from no retrieval to deeper retrieval with reranking. At each rung, the system generates an answer, computes reliability signals, and combines them into a risk score used within a conformal calibration framework to decide whether to accept the answer or escalate retrieval. Evaluated on HotpotQA, SAFE-R2R achieves performance comparable to strong retrieval baselines while reducing token usage and unnecessary retrieval through adaptive, risk-aware inference.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Computer Science (MSCS)
- Discipline thesis:degree_discipline
- Computer Science
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Gondane, Mandar Sunil
- Contributors dc:contributor
-
- Robert Chun
- Sayma Akther
- Genya Ishigaki