Use a learned reward

Keep a steady rhythm through each period. · 139 words

A reward model learns to assign scores from examples such as human comparisons. A policy is the model that chooses outputs. During policy optimization, a higher predicted reward can encourage an output. If reviewers usually preferred long answers in training, length might earn extra reward even when a short answer would serve the reader better.

A policy can discover shortcuts that barely occurred in the examples used to train its reward model. Suppose extra headings earned a small bonus in those examples. After optimization, an answer might contain many headings and very little substance. Compare the predicted scores with fresh human judgments on these newly generated answers. A growing disagreement tells you that the reward has become a poor guide in this region. More optimization of the same score could then enlarge the gap you are trying to close.

Check your recall

How could you test whether length is acting as a shortcut?

Check your answer

Compare short and long answers with equivalent factual content on fresh prompts.

Sources and credits

Original KeyTouch lesson. Background reading · Nathan Lambert · The RLHF Book.