Glossary
RLHF (Reinforcement Learning from Human Feedback)
The training stage that turns a text predictor into an assistant. Humans rank candidate answers, a reward model learns those preferences, and the language model is optimised to score well against it.
General definition
RLHF (Reinforcement Learning from Human Feedback) is the alignment method that made chat models usable. A pretrained LLM is excellent at continuing text but has no preference for being helpful, truthful or polite. RLHF adds that preference. The approach was described by Christiano and colleagues in 2017 for reinforcement learning agents and applied to language models at scale in the 2022 InstructGPT paper from OpenAI, which became the recipe behind ChatGPT and, in variations, most assistant models since.
- Step 1, supervised fine-tuning: the base model is trained on human-written demonstrations of good responses (see instruction tuning)
- Step 2, reward model: humans compare pairs of model outputs for the same prompt and pick the better one; a separate model is trained to predict those judgements as a numeric score
- Step 3, policy optimisation: the language model generates answers, the reward model scores them, and an algorithm such as Proximal Policy Optimisation (PPO) nudges the model toward higher-scoring behaviour while a penalty keeps it from drifting too far from the fine-tuned model
Direct Preference Optimisation (DPO), published in 2023, reaches a similar result without an explicit reward model or reinforcement learning loop by training directly on the preference pairs, and it is now widely used because it is simpler and more stable. Reinforcement learning from AI feedback (RLAIF) and constitutional methods replace some human labels with judgements from another model guided by written principles. All of these are preference optimisation; RLHF remains the umbrella term in practice.
RLHF is why a chat model answers the question instead of continuing the prompt, why it refuses some requests, and why it adopts the tone of a courteous assistant. It also explains some failure modes. A model trained to please raters can become sycophantic, agreeing with wrong premises, and can learn to sound confident whether or not it is right, which is one reason hallucination survives alignment. Preference training shapes behaviour; it does not add knowledge or guarantee truth.
Want to try it yourself? Build an AI agent that answers from your own pages and documents with the Ethora no-code AI agent builder. No coding is needed and it is free to start.
In the Ethora ecosystem
When you choose a model for an agent in the Ethora AI SDK, you are choosing a particular alignment. Every assistant-grade model, hosted or self-hosted through an OpenAI-compatible endpoint such as Ollama or vLLM, has been through RLHF or a close relative, and that is what makes the per-agent system prompt work: the model has been trained to treat instructions as instructions and to answer in a helpful register.
The limits of RLHF are also why Ethora keeps control outside the model. An aligned model is more willing to follow your prompt, not guaranteed to. Facts come from the agent’s knowledge base rather than from the model’s training, so grounded answers do not depend on the model being honest about what it does not know, and policy outcomes such as blocking or quarantining a message are enforced by the server-side Trust and Safety system, which does not ask the model for permission.