Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

Lewis et al., 2020, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Advances in Neural Information Processing Systems 33 (NeurIPS 2020))

Subscriber deck — free during early access

1 cards in “2.4 Training” · whole deck

2.4 Training

  1. How is RAG trained, and what stays fixed?
    By minimizing the negative marginal log-likelihood \(-\sum_j \log p(y_j \mid x_j)\) with Adam, with no supervision on which document to retrieve. Only the query encoder and BART are fine-tuned; the document encoder and index stay fixed, avoiding costly re-indexing (unlike REALM), without hurting performance.

Source