Retrieval as Generation: A Unified Framework with Self-Triggered Information Planning

Bo Li, Mingda Wang, Gexiang Fang, Shikun Zhang, Wei Ye
4/13/2026
cs.CLcs.AI

No official code found. Best implementation: WisdomShell/GRIP (38 stars, last commit 2026-04-14).

Abstract

We revisit retrieval-augmented generation (RAG) by embedding retrieval control directly into generation. Instead of treating retrieval as an external intervention, we express retrieval decisions within token-level decoding, enabling end-to-end coordination without additional controllers or classifiers. Under the paradigm of Retrieval as Generation, we propose \textbf{GRIP} (\textbf{G}eneration-guided \textbf{R}etrieval with \textbf{I}nformation \textbf{P}lanning), a unified framework in which the model regulates retrieval behavior through control-token emission. Central to GRIP is \textit{Self-Triggered Information Planning}, which allows the model to decide when to retrieve, how to reformulate queries, and when to terminate, all within a single autoregressive trajectory. This design tightly couples retrieval and reasoning and supports dynamic multi-step inference with on-the-fly evidence integration. To supervise these behaviors, we construct a structured training set covering answerable, partially answerable, and multi-hop queries, each aligned with specific token patterns. Experiments on five QA benchmarks show that GRIP surpasses strong RAG baselines and is competitive with GPT-4o while using substantially fewer parameters.

View on arXivView PDF

Code Implementations(1)

WisdomShell/GRIPCommunity73%

[ACL'26 Main Conference] Retrieval as Generation: A Unified Framework with Self-Triggered Information Planning

383Shell, PythonApr 13, 20266 months ago
agentic-llmsagentic-ragcontrollable-generationdynamic-ragrag

Similar Papers

Cite this paper

@article{li2026retrieval,
  title  = {Retrieval as Generation: A Unified Framework with Self-Triggered Information Planning},
  author = {Bo Li and Mingda Wang and Gexiang Fang and Shikun Zhang and Wei Ye},
  year   = {2026},
  eprint = {2604.11407},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.11407v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.11407.svg)](https://codeofpaper.com/paper/2604.11407)

Discussion