Explore the research collection
000
1 entry · Follow this search
- Paper
RLCD: Reinforcement Learning from Contrastive Distillation for Language Model Alignment
Canonical Meta/FAIR RLCD (≠ TypeSafe). For each prompt p, build p+ (encourage desired attribute) and p− (encourage opposite); sample o+/o− from the same unaligned LLM; auto-label o+ preferred (no post-hoc judge). Train preference/reward model on those pairs, then PPO-align the base LM as in RLHF. Contrastive generation differentiates outputs more than i.i.d. sampling, yielding cleaner synthetic prefs. Beats RLAIF and context distillation on harmlessness, helpfulness, and story outlining at 7B and 30B preference-sim scales (LLaMA). Code: facebookresearch/RLCD.