Authors:
Gunji Geethika, B. Deepa, Vaishnavi Venkatesh, Chin-Shiuh Shieh, Ooi Junhao, Ramadas Kandath
Addresses:
Department of Computer Science and Engineering, SRM Institute of Science and Technology, Ramapuram, Chennai, Tamil Nadu, India. Department of Electronics and Communication Engineering, SRM Institute of Science and Technology, Ramapuram, Chennai, Tamil Nadu, India. Department of Electronic Engineering, National Kaohsiung University of Science and Technology, Kaohsiung City, Kaohsiung, Taiwan. Department of Information Technology and Engineering, Kota Bharu Systems Sdn Bhd, Kota Bharu, Kelantan, Malaysia. Department of FSM Adoption and Services, SAP, Dallas, Texas, United States of America.
Abstract:
Retrieval Augmented Generation (RAG) has significantly improved the factual grounding of Large Language Models (LLMs). Despite advances in RAG systems, they still suffer from hallucinations because retrieval errors propagate during generation. So far, research has focused on the quality of RAG generation. A major research gap remains in detecting failures actively at the retrieval decision point. In this paper, a Confidence-Aware Control Framework will be proposed to bridge the research gap. The framework includes: (i) confidence-driven selective prediction with retrieval similarity margins, (ii) interpretable failure type categorization over retrieval and ranking steps, (iii) iterative retrieval control for low-confidence queries, and (iv) a sandwich-weighted context reorganization strategy tailored to reduce the Lost-in-the-Middle (LIM) positional bias. Experiments on the SciQA dataset show that the framework improves selective answering performance from 0.24 to 0.50 (+108%) and middle-position context usage from 0.29 to 0.60 (+107%). The framework intends to create scalable, interpretable, and accountable RAG models. By emphasizing these characteristics before producing answers, it creates an environment for reliable, trustworthy RAG models to be deployed in high-risk areas.
Keywords: Retrieval Augmented Generation (RAG); Large Language Models (LLMs); Retrieval Errors; Failure Detection; Selective Prediction; Retrieval Similarity Margins; Failure Type Categorization.
Received on: 29/05/2025, Revised on: 24/09/2025, Accepted on: 31/10/2025, Published on: 07/09/2026
DOI: 10.64091/ATICS.2026.000351
AVE Trends in Intelligent Computing Systems, 2026 Vol. 3 No. 3 , Pages: 121-131