179 questions
No questions match those filters.
Walk through the RLHF pipeline end to end, and name its...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansRLHF runs in three stages. First, collect human preference data — pairs of model outputs for the same prompt, ranked by which one a human prefers. Second, train a separate reward model on those comparisons to predict a scalar score for how “preferred” any given output would be. Third, use that reward model as the optimization signal to fine-tune the policy (the LLM itself) via reinforcement learning, most commonly PPO — generate an output, score it with the reward model, update the policy to make higher-scoring outputs more likely.
The most common practical pitfall is reward hacking: the policy finds ways to score well on the reward model that don’t correspond to genuinely better outputs — the classic example is length bias, where the reward model has learned to associate longer, more elaborate answers with quality, and the policy exploits that by getting verbose rather than actually more helpful. The standard defense is adding a KL- divergence penalty between the policy and the original reference model into the objective, which keeps the policy from drifting arbitrarily far from its starting behavior just to chase reward-model score.