Generative retrieval

Domain-specific · neural · 2022 · recommenders · text

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)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted