SGIC: A Self-Guided Iterative Calibration Framework for RAG

Guanhua Chen, Yutong Yao, Lidia S. Chao, Xuebo Liu, Derek F. Wong

Introduction

Retrieval-Augmented Generation (RAG) has become a cornerstone for grounding Large Language Models (LLMs) in external knowledge. However, current RAG systems often struggle with multi-hop reasoning and the presence of "distractor" documents. A significant limitation is that these systems treat LLMs as black boxes, failing to leverage the model's intrinsic ability to assess its own confidence. Research indicates a measurable "uncertainty gap" between correct and incorrect outputs, yet standard pipelines lack the mechanisms to utilize these signals for error correction.

To address this, we present Self-Guided Iterative Calibration (SGIC), a framework that enables LLMs to perform self-directed "fact-checking" by iteratively refining answers based on internal uncertainty metrics.

The SGIC Framework

The SGIC framework is built upon three core components designed to bridge the uncertainty gap:

  1. Uncertainty Estimation: The system quantifies confidence at two levels. Answer-level uncertainty is derived from token-level logit probabilities. Document-level uncertainty is estimated by measuring the degree to which a specific document reduces the model's overall uncertainty regarding a query.
  2. Iterative Self-Calibration: Unlike traditional single-pass generation, SGIC employs a multi-round refinement process. In each iteration, the model is prompted with the original question, the retrieved documents (annotated with document-level uncertainty), and the previous candidate answer (annotated with its own uncertainty score). These scores serve as diagnostic "hints," guiding the model to reconsider its reasoning when confidence is low.
  3. Uncertainty-aware Fine-tuning: For open-weight models, the framework includes a specialized training regime. Training data is reconstructed to include uncertainty metadata, teaching the model to prioritize high-confidence paths and effectively ignore irrelevant distractors.
Overview of the SGIC framework, illustrating the iterative loop between uncertainty estimation, calibration, and data filtering.

Experimental Evaluation

The framework was evaluated across three diverse benchmarks: HotpotQA (multi-hop reasoning), Natural Questions (NQ) (single-hop with distractors), and GSM8K (mathematical reasoning).

Key Results and Efficiency

SGIC demonstrated consistent performance improvements across various model architectures:

  • Llama2-7B-Chat: On HotpotQA, Exact Match (EM) scores improved from 69.1% to 77.2%.
  • GPT-4o: Even state-of-the-art closed-source models benefited, with GPT-4o's EM rising from 73.7% to 76.5%.
  • Comparison to Baselines: SGIC significantly outperformed the Self-RAG framework (77.2 EM vs. 48.7 EM on HotpotQA).

A critical advantage of SGIC is its efficiency compared to standard sampling methods like "Self-Consistency." While sampling requires multiple independent generations to find a consensus, SGIC's guided iterations converge more rapidly on correct answers by following the signal of decreasing uncertainty.

Comparison of Exact Match (EM) scores between iterative calibration and standard sampling across multiple rounds, showing the superior performance of the SGIC approach.

Insights and Discussion

The success of SGIC stems from the observation that LLMs are statistically "noisier" when generating incorrect information. By explicitly surfacing these uncertainty scores, the model can treat them as signals to explore alternative reasoning paths. Furthermore, the ability to calibrate appears to be a transferable skill; models fine-tuned on one dataset (e.g., NQ) showed improved reasoning on others (e.g., HotpotQA), suggesting that "learning to be certain" is a generalizable cognitive capability rather than a dataset-specific artifact.

Conclusion and Future Work

While SGIC offers a robust path toward more reliable RAG, its performance remains contingent on the precision of the initial uncertainty estimation. Future research will focus on developing more sophisticated metrics beyond token probabilities and applying iterative calibration to long-form document challenges and real-time web-search applications to further mitigate hallucinations.

Summary updated

BibTeX
@inproceedings{chen2025sgic,
  author = {Guanhua Chen and Yutong Yao and Lidia S. Chao and Xuebo Liu and Derek F. Wong},
  title = {{SGIC: A Self-Guided Iterative Calibration Framework for RAG}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure