Rejection sampling and SFT

Reports The Llama 3 Herd of Models (arXiv 2407.21783v3) · DPO (arXiv 2305.18290v3) · no training code is published · How to read

Rejection sampling and SFT

Keep the best

×

no parameters

The candidate with the highest score is kept.

y=yk∗{\htmlData{light=kept select}{y}}=y_{{\htmlClass{vl-stream-k}{k^\ast}}}
k∗=arg⁡max⁡krk{\htmlClass{vl-stream-k}{k^\ast}}=\arg\max_k r_k
in
YY [B batch, K, T positions]rr [B batch, K]
out
yy [B batch, T positions]
Sources1

Direct evidence

§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