Generative retrieval
What it is
Encode each item as a semantic ID and let a sequence model generate the next item's ID directly.
When to use it
Recommenders where a learned index beats embedding tables — DSI, TIGER, and RAG-style retrieval over token IDs.
Caveats
Adding or updating documents is hard because the index lives in the model weights, and quality tends to fall as the corpus grows to millions of documents. The model can generate identifiers that match no document unless decoding is constrained.
Key ideas
- A sequence model generates a document identifier directly from the query
- The index is stored in the model's parameters, not in a separate data structure
- How identifiers are designed (semantic, hierarchical) strongly affects quality
Related architectures
Original paper
Recommender Systems with Generative Retrieval (2023, arXiv)