Alignment is how a model learns to do what humans actually mean, not just what the loss function literally rewards, and RLHF is the workhorse that turns human preference into a trainable signal. Get it right and the model is helpful and honest; get it wrong and it optimizes the reward while quietly missing the intent.
Part of: PAPERS-01 · Transformers & Large Language Models, AIM-03 · LLMs & Transformers, AIM-05 · Reinforcement Learning, PAPERS-03 · Deep Reinforcement Learning, How Machines Learned to Act, PAPERS-14 · Multimodal & Vision-Language, Bridging Senses
Interactive, in-browser playgrounds for this concept.
The founding move: instead of hand-writing an objective, learn one from human comparisons so the model can be steered toward what people actually prefer.
Walk from supervised instruction tuning, teaching the base model to follow directions, into full RLHF, where a learned reward model scores responses and policy optimization pushes the model toward preferred behavior.
Hands-on: assemble the pipeline, collect preference data, fit a reward model, and fine-tune the policy against it, first the instruction-tuning stage, then the RLHF loop on top.
The lineage that grew from preference learning: PPO as the optimization engine inside RLHF, broader learning-from-feedback methods, and instruction tuning extended into multimodal models like LLaVA.
Reward hacking in the wild: an optimizer that has learned your scoring boundary produces textbook-perfect inputs that game the reward while the true objective quietly degrades, visible only in calibration against real outcomes.
Every concept connects to the ideas that made it, the ways it fails, and the disciplines that keep it alive.
Browse all concepts