reinforcement learning from AI feedback (RLAIF)
RLAIF is reinforcement learning from human feedback with the human preference labels swapped out for labels produced by another AI judge. Picture the familiar pipeline of collecting which-answer-is-better comparisons and training a reward model from them, except the comparisons now come from a capable model prompted to rank candidates against a rubric, not from paid annotators. The aim is to keep the alignment loop running when human labeling is too slow, too costly, or too unpleasant to scale.
Mechanically a labeler model is shown two or more responses and a guideline, and emits a preference, often as a probability over which response wins; these become the dataset for a reward model trained with the usual Bradley-Terry style loss, after which a policy is optimized against that reward, typically with PPO or distilled into a direct preference objective. Studies report that on helpfulness and harmlessness RLAIF can match or approach RLHF, and self-rewarding variants let one model generate, judge, and improve in a loop.
The unavoidable risk is that the judge's blind spots, miscalibration, and biases are inherited wholesale, and a policy optimized hard against an imperfect AI reward can learn to flatter that judge rather than become genuinely better. RLAIF therefore shifts rather than removes the human bottleneck: humans now must validate that the judge's preferences track what they actually want.
RLAIF is the engine; Constitutional AI is one recipe for what the AI judge should optimize. You can run RLAIF with any source of AI preferences.