llama2-rlhf-rejection-sampling-then-ppo

IN premiseentries/2026/06/21/wiki-LLaMA-chunk-1.md

Created 2026-06-21T09:50:09+00:00

Llama 2 used rejection sampling followed by PPO for RLHF alignment, departing from PPO-only approaches, with separate reward models for safety and helpfulness

Summary

Instead of relying solely on reinforcement learning to shape responses, Llama 2 first filters out clearly bad outputs before fine-tuning, and it trains two separate scoring models—one for safety and one for helpfulness—so neither objective gets sacrificed to the other. This matters because the alignment is a layered, defensive process rather than a single optimization pass, meaning safety is structurally protected in the architecture rather than just a competing reward signal that could be overridden.

Dependents

These beliefs depend on this one: