Rejection sampling and SFT

Rejection sampling and SFT

Candidates

×

tensor

K responses to one prompt.

shape
YY [B batch, K, T positions]
Sources

Contextual evidence from Latest policy

§4.2.2, Rejection sampling: for each prompt collected during human annotation, K outputs (typically between 10 and 30) are sampled from the latest chat model policy, usually the best checkpoint of the previous post-training iteration or the best for a capability; the reward model selects the best candidate. In later rounds system prompts steer the responses’ tone, style or formatting.

rs · arXiv 2407.21783 / Llama3-Herd-2407.21783v3.pdf
Pinned revision v3 ↗ · p. 18

Contextual evidence from Reward model

§4.1.2: the reward model is trained on top of the pre-trained checkpoint, with Llama 2’s objective without the margin term.

rm · arXiv 2407.21783 / Llama3-Herd-2407.21783v3.pdf
Pinned revision v3 ↗ · p. 16