techlist.io

Best Of N Sampling

1 posts

OpenAI2022-10-182 min readCurated summary

Scaling laws for reward model overoptimization

Reinforcement learning from human feedback often optimizes a policy against a reward model trained on human preferences. Because that reward model is an imperfect proxy, pushing its score too high can hurt true performance, a pattern consistent with Goodhart's law. The authors measure this overoptimization systematically using a synthetic setup and find that its scaling follows different functional forms depending on the optimization method, with coefficients that scale smoothly with reward model size. ## Goodhart's Law in Preference-Based Training - Policies are commonly trained against a learned reward model that predicts human preferences - Over-optimizing this proxy can degrade performance on the true objective - The effect has been widely observed but rarely measured carefully, because collecting human preference data is expensive ## A Synthetic Experimental Setup - A fixed "gold-standard" reward model stands in for human labelers - A proxy reward model is trained on labels produced by the gold model - The gold model's score tracks how the policy performs as it is optimized against the proxy, which makes the degradation measurable ## Two Optimization Methods - The policy is optimized either with reinforcement learning or with best-of-n sampling - The relationship between optimization pressure and gold score follows a different functional form for each method - For both methods, the coefficients of these relationships scale smoothly with the number of reward model parameters ## Factors Affecting Overoptimization - Size of the reward model training dataset - Number of reward model parameters and policy parameters - Coefficient of the KL penalty added to the reward in the reinforcement learning setup ## Implications for Alignment - The empirical scaling relationships are used to inform theoretical discussions in AI alignment - Quantifying overoptimization turns a commonly noted qualitative risk into something that can be modeled and predicted The practical takeaway is that overoptimization is regular enough to be modeled, so the choice of optimization pressure, KL penalty, and reward model size and data can be reasoned about together rather than tuned by trial and error.