UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models

Xiaoxi Li, Yujia Zhou, Zhicheng Dou
12/18/2023
cs.IRcs.AIcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

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 \textbf{UniGen}, a \textbf{Uni}fied \textbf{Gen}erative 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023unigen,
  title  = {UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models},
  author = {Xiaoxi Li and Yujia Zhou and Zhicheng Dou},
  year   = {2023},
  eprint = {2312.11036},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.11036v1}
}

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/2312.11036.svg)](https://codeofpaper.com/paper/2312.11036)

Discussion