Retrieval-augmented architectures

Domain-specific · hybrid · 2020 · text

What it is

Pair a retriever with a generator so knowledge lives in an index rather than only in weights (RAG, REALM, FiD, kNN-LM).

When to use it

Grounding, freshness, citations and enterprise search — cheaper and more auditable than another fine-tune.

Caveats

Answer quality is capped by retrieval: if the right passage is not fetched, the generator cannot use it. The model may also ignore or misread retrieved text, and the retrieval step adds latency and an index to maintain.

Key ideas

  • A retriever fetches relevant documents and the generator conditions on them
  • Knowledge can be updated by changing the index, without retraining
  • Answers can cite their sources

Related architectures

Original paper

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020, 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