Reproduce “Stable-RAG: Mitigating Retrieval-Permutation-Induced Hallucinations in Retrieval-Augmented Generation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, Zhiming Zheng
This research introduces Stable-RAG, a framework designed to counteract "Permutation-Induced Hallucinations" in Retrieval-Augmented Generation systems. It achieves improved factual consistency and accuracy by using hidden state clustering to identify divergent reasoning paths and then aligning Large Language Model (LLM) outputs across different retrieved document orderings via Direct Preference Optimization (DPO).
Key insights
- LLMs exhibit inherent structural instability in their reasoning, leading to divergent outputs based solely on the permutation of identical retrieved documents, a phenomenon termed 'Permutation-Induced Hallucinations'.
- Layer-wise analysis of hidden states reveals that distinct reasoning trajectories, induced by document order variations, become discernible and form separable clusters in deeper LLM layers.
- Explicitly leveraging permutation sensitivity via hidden state clustering and targeted DPO training can effectively align LLM reasoning, enhancing factual consistency and reducing hallucinations across varied document orderings.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.