Skip to content

< CollectionsPaper

Self-RAG.

Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection

Asai et al. · 2023 · arXiv 2310.11511

Read the paper (opens in a new tab)

Retrieve only when it helps, and check that each part of the answer is backed by what was retrieved.

3 sections · 6 problems

0 of 6 done

Start Next: 01 Know When Not to Retrieve

Fig. 1. The model retrieves only for a part that makes a claim, and checks each claim against the passage. The one the passage does not back is written again.

Section 01

Retrieve on demand

0 of 2

The paper: Retrieving a fixed number of passages for every query can hurt, so the model decides when retrieval is needed.

  1. 01Know When Not to Retrieveimplement · medium
  2. 02Hand Retrieval to the Model as a Toolimplement · medium

Section 02

Is the passage relevant?

0 of 2

The paper: Each retrieved passage is judged for relevance to the query before it is used.

  1. 03Rerank the Retrieved Chunksimplement · medium
  2. 04Rerank With a Model That Understands the Questionimplement · medium

Section 03

Is the claim supported?

0 of 2

The paper: Each part of the output is checked against the passage it rests on.

  1. 05Check Every Sentence Has a Sourceimplement · medium
  2. 06Answer With Citations, or Say You Can'timplement · medium
All collections