Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Bayesian Reward Models for LLM Alignment

About

To ensure that large language model (LLM) responses are helpful and non-toxic, a reward model trained on human preference data is usually used. LLM responses with high rewards are then selected through best-of-$n$ (BoN) sampling or the LLM is further optimized to produce responses with high rewards through reinforcement learning from human feedback (RLHF). However, these processes are susceptible to reward overoptimization or `hacking', where responses receive high rewards due to imperfections in the reward model rather than true preference, particularly as prompts or responses deviate from the training data. To address these challenges, we propose to train a Bayesian reward model, which signals higher uncertainty further from the training data distribution. We trained Bayesian reward models using Laplace approximation on LoRA weights, and found that the resulting uncertainty estimates can effectively mitigate reward overoptimization in BoN sampling.

Adam X. Yang, Maxime Robeyns, Thomas Coste, Zhengyan Shi, Jun Wang, Haitham Bou-Ammar, Laurence Aitchison• 2024

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningARC-E
Accuracy95.34
249
Commonsense ReasoningARC-C
Accuracy85.25
225
Question AnsweringOBQA (test)
Accuracy91.68
90
Question AnsweringARC-e (test)
Accuracy95.61
60
Commonsense ReasoningBoolQ (test)
Accuracy87.77
35
Question Answering TaskARC-C (test)
Accuracy90.51
30
Commonsense ReasoningOBQA (test)
Accuracy91.68
10
Commonsense ReasoningWG-M (test)
Accuracy81.99
10
Commonsense ReasoningWG-S (test)
Accuracy77.28
10
Question AnsweringMMLU Physics (test)
Accuracy50.74
10
Showing 10 of 11 rows

Other info

Follow for update