Risk of optimizing learned reward functions: low training error does not guarantee low regretThe Perils of Optimizing Learned Reward Functions: Low Training Error Does Not Guarantee Low Regret
Translation in progress — untranslated text is omitted.
Lukas Fluri et al. (arXiv 2406.15753) mathematically analyze the mismatch between error and regret of learned reward functions in policy optimization: a sufficiently low expected test error of the reward model guarantees low worst-case regret, but for any fixed expected test error, there exist realistic data distributions where this mismatch occurs. The authors point out that distribution shift common in policy optimization is the main source of the error-regret mismatch, and similar issues persist even with policy regularization techniques commonly used in methods like RLHF. The authors hope this result will drive research on improving reward model learning methods and more reliable measures of reward model quality.
- When rewards are hard to specify manually, it is common to learn a reward and then optimize a policy. The authors are concerned that even when the reward model has low expected error on the training distribution, the optimized policy can still have high regret under the true reward. They attribute the main source to distribution shift caused by policy optimization.
- The authors define safe data distributions: any reward model with expected error ≤ ε on that distribution has its possibly regularized optimal policy's regret less than L. They then characterize this set with linear inequalities and extend to KL regularization and trajectory-preference-type errors.
- A full-support distribution is safe when the error is small enough, but this bound contains the minimum probability of the distribution. For any fixed ε, distributions with too little coverage of bad policies can be unsafe; when there are enough bad policies with disjoint supports, all distributions are unsafe. The authors say KL regularization cannot remove this case in principle.
- The authors place the analysis on the worst case over reward models and optimal policies, and list future directions such as inductive biases, non-optimal policies, online reward learning, DPO, and evaluation beyond training error. The main text contains theorems on finite MDPs and does not report numerical experiments on language models.