RetroLLM: Empowering Large Language Models to Retrieve Fine-grained Evidence within Generation
Li, Xiaoxi, Jin, Jiajie, Zhou, Yujia, Wu, Yongkang, Li, Zhonghua, Ye, Qi, Dou, Zhicheng
–arXiv.org Artificial Intelligence
Large language models (LLMs) exhibit remarkable generative capabilities but often suffer from hallucinations. Retrieval-augmented generation (RAG) offers an effective solution by incorporating external knowledge, but existing methods still face several limitations: additional deployment costs of separate retrievers, redundant input tokens from retrieved text chunks, and the lack of joint optimization of retrieval and generation. To address these issues, we propose \textbf{RetroLLM}, a unified framework that integrates retrieval and generation into a single, cohesive process, enabling LLMs to directly generate fine-grained evidence from the corpus with constrained decoding. Moreover, to mitigate false pruning in the process of constrained evidence generation, we introduce (1) hierarchical FM-Index constraints, which generate corpus-constrained clues to identify a subset of relevant documents before evidence generation, reducing irrelevant decoding space; and (2) a forward-looking constrained decoding strategy, which considers the relevance of future sequences to improve evidence accuracy. Extensive experiments on five open-domain QA datasets demonstrate RetroLLM's superior performance across both in-domain and out-of-domain tasks. The code is available at \url{https://github.com/sunnynexus/RetroLLM}.
arXiv.org Artificial Intelligence
Dec-16-2024
- Country:
- Pacific Ocean > North Pacific Ocean
- San Francisco Bay (0.04)
- North America
- United States
- District of Columbia > Washington (0.14)
- New York > New York County
- New York City (0.04)
- Montana > Missoula County
- Missoula (0.04)
- Maine > Penobscot County
- Bangor (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- California
- San Francisco County > San Francisco (0.04)
- Los Angeles County > Long Beach (0.04)
- Mexico > Mexico City
- Mexico City (0.04)
- Canada
- Ontario > Toronto (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- United States
- Europe
- Austria > Vienna (0.14)
- France (0.04)
- United Kingdom (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Norway > Eastern Norway
- Oslo (0.04)
- Denmark
- Capital Region > Copenhagen (0.04)
- North Jutland > Aalborg (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Singapore (0.04)
- Middle East > Israel (0.04)
- China (0.04)
- Thailand > Bangkok
- Bangkok (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Africa > Eswatini
- Pacific Ocean > North Pacific Ocean
- Genre:
- Personal > Honors (1.00)
- Research Report > New Finding (0.67)
- Industry:
- Leisure & Entertainment (1.00)
- Media
- Technology: