arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.13095cs.IR
收藏

Retrieval-in-the-Chain:引导大语言模型用于生成式检索

Retrieval-in-the-Chain: Bootstrapping Large Language Models for Generative Retrieval

State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)

Yingchen Zhang, Ruqing Zhang, Jiafeng Guo, Wenjun Peng, Sen Li, Fuyu Lv

AI总结:

本文提出R4R框架,将自由思维链转化为结构化推理并在检索中迭代精炼,使单个LLM同时承担推理与生成式检索,在三个基准上验证有效。

摘要:

生成式检索(GR)是一种新兴范式,它利用大语言模型(LLM)以自回归方式生成与给定查询相关的文档标识符(docids)。以往工作侧重于利用LLM的生成能力来改进GR,却忽视了它们的推理能力同样可能有所帮助。这引出了一个关键问题:显式推理能否使GR受益?为研究这一点,我们首先开展了一项初步研究:在执行受约束的docid解码之前,提示LLM生成自由形式的思维链(CoT)推理。尽管该方法优于标准GR,但生成的推理往往较为冗长,并且与docid空间对齐不佳。这些局限促使我们开发一种更适合GR的推理机制。因此,我们提出Reason-for-Retrieval(R4R),这是一个面向GR的推理增强框架,将自由形式的CoT推理转换为紧凑、结构化的格式,并在检索过程中迭代地精炼推理。R4R通过利用一个已针对GR进行指令微调、具备推理能力的LLM来增强现有GR方法。在推理时,R4R首先使用LLM生成初始结构化推理;随后,同一个LLM在以下两个步骤之间交替:(i)使用所选GR方法进行受约束解码,以生成候选docids;(ii)根据检索结果更新推理,以改进下一轮。R4R不需要额外模型或训练,而是由单个LLM同时充当推理生成器和检索器。在Natural Questions、MS MARCO以及一个真实商品搜索基准上进行的大量实验验证了R4R的有效性。

英文摘要:

Generative retrieval (GR) is an emerging paradigm that leverages large language models (LLMs) to autoregressively generate document identifiers (docids) relevant to a given query. Prior works have focused on leveraging the generative capabilities of LLMs to improve GR, while overlooking that their reasoning capabilities could likewise help. This raises a key question: Can explicit reasoning benefit GR? To investigate, we first conduct a preliminary study where an LLM is prompted to generate free-form chain-of-thought (CoT) reasoning before performing constrained docid decoding. Although this method outperforms standard GR, the generated reasoning tends to be verbose and poorly aligned with the docid space. These limitations motivate the development of a reasoning mechanism better tailored to GR. Therefore, we propose Reason-for-Retrieval (R4R), a reasoning-augmented framework for GR that converts free-form CoT reasoning into a compact, structured format, and iteratively refines the reasoning during the retrieval process. R4R augments an existing GR method by leveraging a reasoning-capable LLM that has been instruction-tuned for GR. At inference time, R4R first uses the LLM to generate an initial structured reasoning; then the same LLM alternates between (i) constrained decoding with the chosen GR method to produce candidate docids and (ii) updating the reasoning based on retrieval results to improve the next round. R4R does not require additional models or training, and instead a single LLM serves as both the reasoning generator and the retriever. Extensive experiments on Natural Questions, MS MARCO, and a real-world item-search benchmark validate the effectiveness of R4R.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑