NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UncertaintyRAG: Span Uncertainty Enhanced Long-Context Modeling for Retrieval-Augmented Generation

Zixuan Li, Jing Xiong, Fanghua Ye, Chuanyang Zheng, Xun Wu, Jianqiao Lu, Zhongwei Wan, Xiaodan Liang, Chengming Li, Zhenan Sun, Lingpeng Kong, Ngai WongOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

We introduce $UncertaintyRAG$, a novel method for long-context Retrieval-Augmented Generation (RAG) that leverages Signal-to-Noise Ratio (SNR)-based span uncertainty to estimate similarity between text chunks. This span uncertainty improves the calibration of model predictions, enhancing robustness and addressing semantic inconsistencies caused by random chunking. Utilizing this, we develop an efficient unsupervised learning technique for training the retrieval model and design an effective data sampling and scaling strategy. $UncertaintyRAG$ achieves a 2.03\% improvement over baselines on LLaMA-2-7B, reaching state-of-the-art performance while using only 4\% of the training data compared to other powerful open-source retrieval models under distribution shift settings. Our method demonstrates strong calibration through span uncertainty, resulting in better generalization and robustness in long-context RAG tasks. Moreover, $UncertaintyRAG$ offers a lightweight retrieval model that can be seamlessly integrated into any large language model with varying context window lengths without the need for fine-tuning, highlighting the versatility of our approach.
BibTeX
@misc{li2025uncertaintyrag,
  author = {Zixuan Li and Jing Xiong and Fanghua Ye and Chuanyang Zheng and Xun Wu and Jianqiao Lu and Zhongwei Wan and Xiaodan Liang and Chengming Li and Zhenan Sun and Lingpeng Kong and Ngai Wong},
  title = {{UncertaintyRAG: Span Uncertainty Enhanced Long-Context Modeling for Retrieval-Augmented Generation}},
  year = {2025},
  url = {https://openreview.net/forum?id=SR8LFpmVun},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure