Skip to content

RLAIF (Reinforcement Learning from AI Feedback)

A reinforcement learning method where the evaluation of responses is provided by another model rather than a human. This is a cheaper alternative to RLHF.

Difference from RLHF

RLHF RLAIF
Who evaluates Human labelers LLM judge
Cost High Low
Scalability Limited by humans Practically limitless
Stability of evaluations May fluctuate Depends on the judge

How it works

  1. The model generates responses.
  2. The LLM judge evaluates them based on predefined criteria.
  3. The evaluations are converted into reinforcement learning signals.
  4. The model learns to give responses that please the judge.

Pros and Cons

  • Pros: Evaluation is cheap and fast, easy to scale.
  • Cons: The judge may have biases, and the model learns to cater to the judge rather than a human.

See Also

← All terms