arXiv:2610.26831cs.IROct 2026

Manuscript Offprint

arXiv:2610.26831

AGR: Agentic Generative Retrieval with Tool-Augmented Search

Ming Yang, Yaqi Yin, Zhibo Wang, Xiaoze Jiang, Jingwei Zhuo, Chao Zhang, Quanzhi Zhu, Weiguo Zheng, Liang Zeng, Yunfeng Zhao, Jiaqiang Liu, Kefeng Wang, Yupeng Huang, Kaiqiao Zhan, Xuanping Li

Ming Yang1,∗,†^{1,*,\dagger}, Yaqi Yin2,†^{2,\dagger}, Zhibo Wang2,†^{2,\dagger}, Xiaoze Jiang2,†,‡^{2,\dagger,\ddagger}, Jingwei Zhuo3,‡^{3,\ddagger}, Chao Zhang2^{2}, Quanzhi Zhu2^{2}, Weiguo Zheng1^{1}, Liang Zeng2^{2}, Yunfeng Zhao2^{2}, Jiaqiang Liu2^{2}, Kefeng Wang2^{2}, Yupeng Huang2^{2}, Kaiqiao Zhan2^{2}, Xuanping Li2^{2}

1^{1}Fudan University 2^{2}Kuaishou Technology 3^{3}Unaffiliated

ABSTRACT

Large-scale search and recommendation systems derive much of their retrieval quality from rich, heterogeneous features, yet existing generative retrieval (GR) methods struggle to exploit such feature ecosystems efficiently. Static feature injection either encodes all available signals or places them according to predetermined schemes, increasing serving cost and introducing irrelevant or conflicting evidence. More fundamentally, existing methods cannot adaptively determine when a feature is needed, which feature to select, or where it should influence hierarchical Semantic ID (SID) generation. We propose Agentic Generative Retrieval (AGR), a tool-augmented paradigm that interleaves SID generation with on-demand feature acquisition. Conditioned on the request and decoded SID prefix, AGR decides whether to invoke a tool, which feature to acquire, and where its observation should influence subsequent decoding, thereby steering generation toward feature-consistent SID branches. To supervise this behavior, we construct tool-augmented trajectories based on feature applicability and information gain along the SID hierarchy, and train the model through SID pretraining followed by tool-augmented fine-tuning. Experiments on an industrial dataset and three public benchmarks, together with an online A/B test, consistently demonstrate the effectiveness of AGR.

1 INTRODUCTION

Generative Retrieval (GR) casts retrieval as autoregressive identifier generation (Tay et al., 2022; Wang et al., 2022; Bevilacqua et al., 2022). Following TIGER (Rajput et al., 2023), items are commonly represented by hierarchical Semantic IDs (SIDs) learned through residual quantization. This paradigm has also been successfully adopted in large-scale industrial scenarios (Deng et al., 2025; Chen et al., 2025a;c; Team et al., 2026).

Deploying GR in industrial systems, however, exposes a fundamental mismatch between request-conditioned SID generation and the feature-intensive nature of such systems (Zhai et al., 2024). Large-scale retrieval depends heavily on heterogeneous signals, such as user profiles, behavioral histories, and freshness cues (Hou et al., 2026). Yet existing GR methods scale poorly with the number of features (Figure 1), typically appending all signals to the input or injecting them according to a predetermined scheme, making it difficult to jointly maintain retrieval quality and serving efficiency (Zhou et al., 2026). Specifically, encoding all features indiscriminately inflates serving cost and introduces irrelevant or conflicting evidence, as feature utility is inherently request-dependent: a feature indispensable for one request may be pure noise for another (Zhang et al., 2026a). This raises the question of when a feature should be incorporated. Meanwhile, injecting features at a fixed scheme cannot adapt to the decoding state, but residual quantization induces a hierarchical SID space where different depths resolve distinctions at different granularities. Therefore, a feature highly informative at one level may be irrelevant at others. This raises the question of where a feature should influence generation. Addressing both questions is crucial for efficient and scalable GR deployment in industrial search, yet effective feature injection remains largely overlooked.

∗^{*}Contribution during internship at Kuaishou Technology.

†^{\dagger}Equal contribution.

∗^{*}Corresponding authors.

✉ {yangming12, yinyaqi, wangzhibo07, jiangxiaoze}@kuaishou.com, zhuojw10@gmail.com.

To this end, we propose Agentic Generative Retrieval (AGR), which reformulates generative retrieval as an interleaved process of SID generation and feature acquisition. AGR encapsulates heterogeneous features as tools, each uniquely identified by a tool token. Conditioned on the current decoding state, the model decides whether to emit a tool token and, if so, which tool to invoke. The acquired feature values are then represented as observation tokens that reshape the probability distribution over subsequent SID tokens, steering generation toward feature-consistent paths. As features are introduced only when the decoding state warrants them, AGR reduces feature noise and naturally aligns feature granularity with the coarse-to-fine progression of SID generation. Through this adaptive tool use, AGR shifts generative retrieval from passive SID generation to agentic decision-making over both items and features.

Contributions. Our contributions are shown as follows:

• Driven by the industrial need to exploit rich, heterogeneous feature ecosystems in GR, we systematically reveal and quantify two fundamental limitations of static feature injection in GR: it is neither request-adaptive (when to inject) nor level-adaptive (where to inject). We further argue that features should be acquired on demand and injected at the right SID depth.

• We propose Agentic Generative Retrieval (AGR), which encapsulates feature injection as tool invocation and thereby unifies adaptive feature selection with dynamic placement into a single decoding process, paving the way for exploiting rich features in real-world retrieval systems.

• We derive principled criteria for choosing which tool to invoke and where it is most informative along the SID hierarchy, so that each tool call steers decoding toward feature-consistent branches, and instantiate them in a two-stage pipeline of SID pretraining and tool-augmented fine-tuning.

• We evaluate AGR on Kuaishou Search system and three widely used public benchmarks. AGR improves recall by up to +14.04% over baseline and yields consistent online A/B gains. Extensive experimental analyses further explain the gains achieved by AGR.

References (76)