UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models
Abstract
Generative information retrieval, encompassing two major tasks of Generative Document Retrieval (GDR) and Grounded Answer Generation (GAR), has gained significant attention in the area of information retrieval and natural language processing. Existing methods for GDR and GAR rely on separate retrieval and reader modules, which hinder simultaneous optimization. To overcome this, we present UniGen, a Unified Generative framework for retrieval and question answering that integrates both tasks into a single generative model leveraging the capabilities of large language models. UniGen employs a shared encoder and two distinct decoders for generative retrieval and question answering. To facilitate the learning of both tasks, we introduce connectors, generated by large language models, to bridge the gaps between query inputs and generation targets, as well as between document identifiers and answers. Furthermore, we propose an iterative enhancement strategy that leverages generated answers and retrieved documents to iteratively improve both tasks. Through extensive experiments on the MS MARCO and NQ datasets, we demonstrate the effectiveness of UniGen, showcasing its superior performance in both the retrieval and the question answering tasks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systems cites Metacognitive Retrieval-Augmented Large Language Models
- HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systems cites CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks
- Metacognitive Retrieval-Augmented Large Language Models cites Improving Language Models by Retrieving from Trillions of Tokens
- Metacognitive Retrieval-Augmented Large Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval Augmented Language Model Pre-Training
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks cites Improving Language Models by Retrieving from Trillions of Tokens
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks cites Retrieval Augmented Language Model Pre-Training
Cited by top-tier papers18
- Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge GraphsLiyi Chen, Panrong Tong, Zhongming Jin, Ying Sun et al.NeurIPS 2024 · 160 citations
- HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG SystemsJiejun Tan, Zhicheng Dou, Wen Wang, Mang Wang et al.WWW 2025 · 42 citations
- Metacognitive Retrieval-Augmented Large Language ModelsYujia Zhou, Zheng Liu, Jiajie Jin, Jian-Yun Nie et al.WWW 2024 · 41 citations
- DeepAgent: A General Reasoning Agent with Scalable ToolsetsXiaoxi Li, Wenxiang Jiao, Jiarui Jin, Guanting Dong et al.WWW 2026 · 38 citations
- CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive TasksXiaoxi Li, Zhicheng Dou, Yujia Zhou, Fangchao LiuSIGIR 2024 · 16 citations
Builds on16
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat et al.ICML 2020 · 2,937 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
- Autoregressive Search Engines: Generating Substrings as Document IdentifiersMichele Bevilacqua, Giuseppe Ottaviano, Patrick Lewis, Scott Yih et al.NeurIPS 2022 · 242 citations
Related papers
- OneGen: Efficient One-Pass Unified Generation and Retrieval for LLMsJintian Zhang, Cheng Peng, Mengshu Sun, Xiang Chen et al.EMNLP Findings 2024 · 3 citations
- Generate-then-Ground in Retrieval-Augmented Generation for Multi-hop Question AnsweringZhengliang Shi, Shuo Zhang, Weiwei Sun, Shen Gao et al.ACL 2024
- Generate rather than Retrieve: Large Language Models are Strong Context GeneratorsWenhao Yu, Dan Iter, Shuohang Wang, Yichong Xu et al.ICLR 2023 · 86 citations
- UniRAG: Unified Query Understanding Method for Retrieval Augmented GenerationRui Li, Liyang He, Qi Liu, Zheng Zhang et al.ACL 2025
- List-aware Reranking-Truncation Joint Model for Search and Retrieval-augmented GenerationShicheng Xu, Liang Pang, Jun Xu, Huawei Shen et al.WWW 2024 · 13 citations
