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
- The model generates responses.
- The LLM judge evaluates them based on predefined criteria.
- The evaluations are converted into reinforcement learning signals.
- 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.