Decide Then Retrieve: A Training-Free Framework with Uncertainty-Guided Triggering and Dual-Path Retrieval

Wang Chen, Guanqiang Qi, Weikang Li, Yang Li, Deguo Xia, Jizhou HuangarXiv 2026

TL;DR

Decide Then Retrieve (DTR) is a training-free, model-agnostic framework that makes Retrieval-Augmented Generation (RAG) adaptive. By leveraging an LLM's internal generation uncertainty, DTR determines exactly when retrieval is necessary and uses a novel dual-path geometric selection mechanism to fetch high-quality context for sparse or ambiguous queries.

What Problem Does This Paper Address?

While Retrieval-Augmented Generation (RAG) has vastly improved the factual accuracy of Large Language Models (LLMs), conventional RAG systems suffer from two major flaws:

  1. Indiscriminate Triggering: They retrieve external documents for every query, even straightforward ones the LLM already knows. This introduces unnecessary noise and wastes computational resources.
  2. Vulnerability to Sparse Queries: Short or ambiguous user queries often lack enough semantic cues to fetch relevant documents, leading to low-quality retrievals that degrade the final answer.

Existing "adaptive RAG" solutions typically train auxiliary classifier models to decide when to retrieve. However, these classifiers are expensive to train and don't generalize well when switching to different generator LLMs. DTR solves this by providing a completely training-free, plug-and-play approach.

Methods

DTR splits the RAG pipeline into a conditional, two-step process: Decide (when to retrieve) and Retrieve (how to select information).

Overview of the DTR framework showing uncertainty-guided triggering and the dual-path retrieval module.

1. Uncertainty-Guided Triggering (UGT)

Instead of training a separate classifier, DTR lets the generator LLM evaluate its own confidence. When a query arrives, the LLM drafts a preliminary answer. DTR calculates the normalized negative log-likelihood (generation uncertainty) of this answer based on next-token probabilities. If the uncertainty falls below a threshold ($\bar{u}$), the model is confident, bypasses retrieval entirely, and outputs the answer. If uncertainty is high, it triggers the retrieval phase.

2. Dual-Path Retrieval with Adaptive Information Selection (DPR-AIS)

To handle sparse queries, DTR sets up two parallel retrieval paths:

  • Path 1: Uses the original user query.
  • Path 2: Uses an LLM-generated "pseudo-context" (a brief passage or rationale drafted by the model).

This dual-path approach ensures a diverse candidate pool of documents. To filter out noise or potential LLM hallucinations from the pseudo-context, DTR uses a geometric scoring mechanism. It treats the query, pseudo-context, and candidate documents as normalized vectors and prioritizes documents that minimize the combined angle ($\theta = \theta_1 + \theta_2$) between both paths:

$$s(d) = \cos(\theta_1 + \theta_2) = s_1s_2 - \sqrt{1 - s_1^2}\sqrt{1 - s_2^2}$$

This rewards documents that are jointly aligned with both the user's intent and the model's internal knowledge context.

Datasets

The authors evaluated DTR across five diverse open-domain question-answering (QA) benchmarks:

  • NaturalQA
  • WebQuestions
  • SQuAD
  • TriviaQA
  • HotpotQA (a complex, multi-hop QA dataset)

For the first four datasets, the retrieval corpus was a 21-million English Wikipedia dump; HotpotQA used its own specific 5-million document corpus.

Key Insights and Ideas

  • Uncertainty is a Reliable Boundary: The paper demonstrates a strict monotonic relationship—as an LLM's internal generation uncertainty increases, its parametric accuracy sharply decreases. This makes token-level uncertainty an excellent, training-free proxy for triggering retrieval.
  • Geometric Synergy Beats Naive Fusion: Simply concatenating queries and pseudo-documents (like in HyDE or Q2D) often dilutes retrieval relevance. By keeping the retrieval paths separate and combining them using a joint cosine angle formula, DTR successfully filters out the "hallucination noise" often present in LLM-generated pseudo-contexts.
  • Stronger Models Benefit More from Selective Triggering: Larger models (like Qwen2.5-72B) possess vast parametric knowledge. Selectively bypassing retrieval prevents external noise from corrupting answers they already know natively.

Key Results

The authors tested DTR using Qwen2.5-7B-Instruct and Qwen2.5-72B-Instruct as generators, alongside popular retrievers like bge and e5.

  • Performance Boost: DTR consistently achieved the best or second-best Exact Match (EM) and F1 scores across all datasets. For the 7B model, DTR improved the average EM/F1 from 35.81/45.81 (Standard RAG) to 37.87/48.08.
  • Outperforming Strong Baselines: DTR comfortably beat popular query-expansion methods like HyDE, Q2D, and Chain-of-Thought (CoT) prompting.
  • Efficiency Gains: By setting the uncertainty threshold dynamically, DTR successfully bypassed retrieval for a significant portion of confident queries without sacrificing overall accuracy.

Limitations and Future Work

  • Dependence on Token Probabilities: DTR relies heavily on accessing white-box token probabilities to calculate uncertainty. This makes it difficult to deploy out-of-the-box with closed-source, API-only models (like GPT-4) that do not expose log probabilities.
  • Inference Latency: Generating a pseudo-context and calculating uncertainty scores adds extra sequential LLM generation steps, which increases overall system latency compared to standard single-pass RAG.
  • Retrieval Quality Bottleneck: While DTR optimizes document selection, its performance remains fundamentally bounded by the quality of the underlying embedding model and document corpus.

Summary updated

BibTeX
@misc{chen2026decide,
  author = {Wang Chen and Guanqiang Qi and Weikang Li and Yang Li and Deguo Xia and Jizhou Huang},
  title = {{Decide Then Retrieve: A Training-Free Framework with Uncertainty-Guided Triggering and Dual-Path Retrieval}},
  year = {2026},
  eprint = {2601.03908},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.03908},
}
Figure