O&O ConsultingBook a free call

Home / Insights / AI Foundations

Training AI With Human Feedback

How preference judgements shape the behaviour of AI assistants, and where the method falls short.

O&O Consulting · · 2 min read

People reviewing work together around a table

Predicting text does not by itself make a system helpful, honest or safe. A further stage of training uses judgements about which behaviour is better.

The standard recipe

Reinforcement learning from human feedback, or RLHF, has three parts. First, people write good example responses and the model learns to imitate them. Second, people compare alternative answers, and a reward model is trained to predict their choices. Third, the language model is optimised to score highly on that reward, usually with a limit on how far it may drift from its earlier behaviour. An algorithm called proximal policy optimisation has often been used for this step.

Reinforcement learning from human feedbackIllustrative diagram, not data
Model proposes several answersPeople rank the answersA reward model learns the rankingThe model is optimised against that reward
Model proposes several answersPeople rank the answersA reward model learns the rankingThe model is optimised againstthat reward

Diagram by O&O Consulting.

Why rankings

It is easier to say which of two answers is better than to write the ideal answer or give a consistent numerical score. Comparisons therefore make good training signal at manageable cost.

Variations

Anthropic's "Constitutional AI" uses a written set of principles and has a model critique and revise outputs, reducing the number of human labels needed for harmlessness. Direct preference optimisation, introduced in 2023, trains on preference pairs without fitting a separate reward model or running reinforcement learning, which simplifies the process.

Where it goes wrong

The reward model is only a proxy. Optimise hard enough against any proxy and the system may find ways to score well without doing what was wanted, a form of Goodhart's law. Raters may favour confident, long or agreeable answers over correct ones, so training can encourage flattery. Raters also disagree, and their instructions embed choices about values that deserve to be made openly.

Limitations and open questions

Human review becomes harder as tasks grow more complex than the reviewer can check. Research on "scalable oversight" asks how people can supervise work they cannot easily verify, for example by having models assist the evaluation. No current method guarantees that a trained system will behave well in situations unlike those it was rated on.

References

This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.