Abstract
Large Language Models (LLMs) frequently encounter hallucinations, categorized as internal (due to knowledge gaps) or external (due to noisy retrieved data in RAG systems). We present Rowen (Retrieve only when it needs), an adaptive framework that triggers retrieval-augmented generation only upon detecting potential hallucinations. Rowen utilizes semantic consistency checks across different languages and models to identify uncertainty. Our results demonstrate that Rowen significantly improves truthfulness and reasoning accuracy while maintaining high retrieval efficiency, achieving state-of-the-art performance on benchmarks like TruthfulQA and StrategyQA.
Introduction
The deployment of Large Language Models (LLMs) is often hindered by hallucinations. Internal hallucinations occur when a model generates factually incorrect information because the required knowledge was not present in its training data. While Retrieval-Augmented Generation (RAG) is a common solution, it introduces external hallucinations, where the model incorporates irrelevant or incorrect information from retrieved documents into its response.
Most existing RAG systems are "always-on," retrieving data for every query regardless of necessity. Rowen addresses this by acting as an adaptive "smart switch," activating retrieval only when the model's internal reasoning is detected to be unreliable.
Methodology
Rowen follows a three-stage pipeline designed to prioritize internal knowledge while selectively leveraging external tools.
Stage 1: Initial Generation
The process begins with the model generating a preliminary answer ($r_0$) using Chain-of-Thought (CoT) reasoning. This step relies entirely on the model's internal parametric knowledge.
Stage 2: Consistency-Based Detection
This stage identifies potential hallucinations by measuring semantic consistency across various perturbations. Rowen employs two primary strategies:
- Cross-Language (Rowen-CL): The query is translated into a target language (e.g., Chinese). If the model's responses in different languages are semantically inconsistent, it indicates high uncertainty. The authors found that English-Chinese pairs are particularly effective due to the significant linguistic and training data differences.
- Cross-Model (Rowen-CM): The query is processed by a separate "verifier" model. Discrepancies between the primary model and the verifier signal a likely hallucination.
Stage 3: Adaptive Retrieval & Repair
If the consistency score falls below a predefined threshold, the system triggers a web search. The retrieved evidence is then used to "repair" the initial reasoning chain, resulting in a corrected final answer ($r_c$). If consistency is high, the initial answer is accepted, avoiding unnecessary retrieval noise.
Experimental Results
Rowen was evaluated on four diverse benchmarks: TruthfulQA, StrategyQA, Natural Questions (NQ), and TriviaQA.
Performance and Truthfulness
Rowen-Hybrid achieved a 59.34% GPT-Judge score on TruthfulQA, representing a 16.74% improvement over previous state-of-the-art baselines. On StrategyQA, it reached 75.60% accuracy, outperforming both standard RAG and self-reflection methods.
Retrieval Efficiency
A key advantage of Rowen is its efficiency. On StrategyQA, Rowen-Hybrid required an average of only 0.5 retrieval calls per question. In contrast, existing methods like Factool and FLARE required 11.6 and 3.9 calls, respectively. This reduction in retrieval frequency significantly lowers computational costs and latency without sacrificing accuracy.
Conclusion
Rowen provides a robust framework for mitigating hallucinations by making RAG adaptive. By leveraging the "linguistic mirror" effect and cross-model consistency, it effectively identifies when an LLM needs external help. Future work will focus on reducing the latency introduced by multiple generations and resolving direct conflicts between internal knowledge and retrieved evidence.
Summary updated