Generative Retrieval with Few-shot Indexing
Askari, Arian, Meng, Chuan, Aliannejadi, Mohammad, Ren, Zhaochun, Kanoulas, Evangelos, Verberne, Suzan
–arXiv.org Artificial Intelligence
Existing generative retrieval (GR) approaches rely on training-based indexing, i.e., fine-tuning a model to memorise the associations between a query and the document identifier (docid) of a relevant document. Training-based indexing has three limitations: high training overhead, under-utilization of the pre-trained knowledge of large language models (LLMs), and challenges in adapting to a dynamic document corpus. To address the above issues, we propose a novel few-shot indexing-based GR framework (Few-Shot GR). It has a novel few-shot indexing process, where we prompt an LLM to generate docids for all documents in a corpus, ultimately creating a docid bank for the entire corpus. During retrieval, we feed a query to the same LLM and constrain it to generate a docid within the docid bank created during indexing, and then map the generated docid back to its corresponding document. Few-Shot GR relies solely on prompting an LLM without requiring any training, making it more efficient. Moreover, we devise few-shot indexing with one-to-many mapping to further enhance Few-Shot GR. Experiments show that Few-Shot GR achieves superior performance to state-of-the-art GR methods that require heavy training.
arXiv.org Artificial Intelligence
Aug-4-2024
- Country:
- North America > United States
- New York > New York County > New York City (0.04)
- Europe > Netherlands
- South Holland > Leiden (0.04)
- North Holland > Amsterdam (0.04)
- Asia
- China (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Africa > Eswatini
- North America > United States
- Genre:
- Research Report (0.82)
- Technology: