GLEN: Generative Retrieval via Lexical Index Learning

Sunkyung Lee, Minjin Choi, Jongwuk Lee
11/6/2023
cs.IRcs.CL

Official code: skleee/GLEN (29 stars, Apache-2.0, last commit 2025-08-25).

Abstract

Generative retrieval shed light on a new paradigm of document retrieval, aiming to directly generate the identifier of a relevant document for a query. While it takes advantage of bypassing the construction of auxiliary index structures, existing studies face two significant challenges: (i) the discrepancy between the knowledge of pre-trained language models and identifiers and (ii) the gap between training and inference that poses difficulty in learning to rank. To overcome these challenges, we propose a novel generative retrieval method, namely Generative retrieval via LExical iNdex learning (GLEN). For training, GLEN effectively exploits a dynamic lexical identifier using a two-phase index learning strategy, enabling it to learn meaningful lexical identifiers and relevance signals between queries and documents. For inference, GLEN utilizes collision-free inference, using identifier weights to rank documents without additional overhead. Experimental results prove that GLEN achieves state-of-the-art or competitive performance against existing generative retrieval methods on various benchmark datasets, e.g., NQ320k, MS MARCO, and BEIR. The code is available at https://github.com/skleee/GLEN.

View on arXivView PDF

Code Implementations(1)

skleee/GLENOfficial100%
Apache-2.0

This is the official code for the EMNLP 2023 paper "GLEN: Generative Retrieval via Lexical Index Learning".

293Shell, PythonOct 18, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{lee2023glen,
  title  = {GLEN: Generative Retrieval via Lexical Index Learning},
  author = {Sunkyung Lee and Minjin Choi and Jongwuk Lee},
  year   = {2023},
  eprint = {2311.03057},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.03057v1}
}

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

Discussion