RLHF & Preference Data

What Is Human-in-the-Loop AI Training?

13 min read · 2026-06-22
~25%of the original labeled training data an NER model needed to nearly match full-dataset performance, once active learning chose which sentences got human labels
<1%of a simulated agent's interactions needed human preference ratings to teach it entirely new behaviors, in the foundational RL-from-human-feedback experiments
38,961adversarial human-generated "red team" attacks Anthropic collected and published from a single red-teaming study
Article 14the EU AI Act provision making human oversight, including the power to override a system's output, a legal requirement for high-risk AI
Key takeaways
  • 1Human-in-the-loop (HITL) is the general paradigm of humans participating in an ML system's training or operation. Labeling, active learning, RLHF, pre-deployment review, red-teaming, and production oversight are all specific instances of it, not different names for the same thing. {cite:wu-hitl}
  • 2Active learning is the technique of using a model's own uncertainty to decide which examples are worth a human's time: Shen et al. showed a named-entity model could nearly match full-dataset performance using only about 25% of the original labeled training data once active learning chose which sentences to label. {cite:shen-ner}
  • 3Human feedback doesn't need to cover every example to work. Christiano et al.'s foundational preference-learning experiments taught a simulated robot entirely new behaviors while rating less than 1% of its interactions, which is why targeted human input scales even when full human review doesn't. {cite:christiano}
  • 4Red-teaming gets harder, not easier, as models improve: Anthropic found RLHF-trained models grew increasingly difficult for human testers to break as they scaled, meaning adversarial human judgment stays load-bearing well past the point where a model looks safe on a benchmark. {cite:redteam}
  • 5Human oversight of high-risk AI systems, including the ability to understand a system's output and override it, is now a binding legal requirement in the EU, not just a best practice, under Article 14 of the EU AI Act. {cite:euaiact14}
The short version

Human-in-the-loop (HITL) is the general principle that a machine learning system deliberately keeps a person's judgment inside its training or operating loop, because some things (nuanced values, safety boundaries, edge cases no benchmark anticipated) a model can't reliably supply on its own. Labeling and RLHF are two visible examples, but the principle shows up in at least six distinct places: labeling and annotation to create ground truth, active learning to decide which examples are worth a human's time, RLHF and preference feedback to align a model's behavior, human review of outputs before a system ships, red-teaming to find failure modes on purpose, and human oversight or override once a system is live in production. Each has a different cost, a different point in the pipeline, and a different failure mode if it's skipped. Active learning is the piece most directly about efficiency: it uses a model's own uncertainty to route scarce human attention to the examples that change the model, cutting labeling cost by wide margins in published research without cutting model quality. The industry's current direction keeps humans involved while changing their job: a shift from humans producing the first draft of a label or judgment to AI systems producing the first draft and humans verifying, correcting, or vetoing it, a pattern often called human-on-the-loop. This guide covers what HITL means, why it exists, where it shows up, how active learning works with a worked numeric example, the real tradeoffs of keeping a human in the loop, and where the industry is headed.

On this page ▾

What human-in-the-loop actually means

Human-in-the-loop (HITL) describes any machine learning system where a person's judgment is deliberately built into the pipeline, either while the model is being trained or while it's running in production, rather than removed once the system works well enough to run unsupervised. It's a design principle, not a single technique. A 2022 survey by Wu and colleagues frames the goal precisely: train an accurate model at minimum cost by integrating human knowledge where a model can't yet supply it on its own. [4]

"Human-in-the-loop" gets used loosely to mean whichever single practice a given team happens to be talking about: sometimes labeling, sometimes RLHF, sometimes a person clicking approve before a system ships. Those are all real instances of HITL, but treating any one of them as the whole concept hides the fact that they solve different problems at different points in the pipeline. Wu et al.'s survey groups HITL work into three buckets: humans improving the training data itself, humans intervening during model training, and humans as a permanent, designed-in part of how the system operates once deployed. [2] The rest of this guide walks through the concrete version of each bucket.

HITL is not one technique
Data labeling, active learning, RLHF, pre-deployment review, red-teaming, and production oversight are all human-in-the-loop practices. None of them is human-in-the-loop by itself. A pipeline can use several at once, at different stages, for different reasons.

Why keep a human in the loop at all

The case for HITL isn't sentimental. It's that some information genuinely lives only in human judgment and can't be reliably extracted from data or specified in advance as a rule or a reward function. Christiano and colleagues made this argument concretely in 2017: for a reinforcement learning system to do anything useful in a complex environment, someone has to communicate a goal to it, and many real goals (be helpful, be safe, do a backflip correctly) are too nuanced to hand-code as a scoring function. Their fix was to let humans compare pairs of the system's behavior and learn a reward signal from those comparisons instead, and it worked using feedback on less than 1% of the agent's interactions with its environment. [2]

For sophisticated reinforcement learning (RL) systems to interact usefully with real-world environments, we need to communicate complex goals to these systems.
Christiano et al.: Deep reinforcement learning from human preferences

That's the general case for HITL in one sentence: models are good at optimizing an objective, and bad at inventing the right objective from scratch when the right objective is a matter of human values, safety boundaries, or context a benchmark didn't anticipate. Keeping a human somewhere in the loop is how a system gets access to that judgment without needing it fully specified up front.

The six points where humans loop into a real system

In production ML pipelines, human involvement clusters around six recognizable touchpoints. They differ in when they happen, what problem they solve, and what breaks if they're skipped.

TouchpointPurposeWhen it happensExample
Data labeling & annotationSupply the ground-truth signal a model learns fromBefore training, for any new taskA radiologist marking tumor boundaries on a scan
Active learning queriesRoute human labeling effort to the examples the model is least confident aboutDuring training, to cut total labeling costA text classifier flagging ambiguous emails for a human to label next [2]
RLHF / preference feedbackTeach the model which of several outputs a human prefersPost-training alignmentA rater ranking two chatbot replies to the same prompt [2]
Pre-deployment human reviewCatch failures a benchmark score wouldn't catch, before real users see themBefore a new model or version shipsReviewers spot-checking a sample of model outputs against policy
Red-teaming & adversarial testingDeliberately try to break the model's guardrails on purposeBefore launch and on an ongoing basis afterHuman testers probing for harmful outputs a model will produce [2]
Human oversight & override in productionLet a person monitor, interrupt, or reverse a live system's decisionContinuously, once the system is deployedA loan officer able to override an automated denial, a duty EU law now mandates for high-risk systems [2]

The first three touchpoints shape what the model learns. The last three govern what happens once it's making real decisions. Losing sight of that distinction is how teams end up thinking a well-labeled training set alone makes a system safe to deploy unattended: it doesn't, because labeling and oversight answer different questions.

Active learning: using the model to decide what's worth labeling

Active learning is the HITL touchpoint most directly aimed at cost. The idea, formalized in Burr Settles' widely cited 2009 survey, is that a learning algorithm can reach a given accuracy with far fewer labeled examples if it's allowed to choose which unlabeled examples get sent to a human next, instead of labeling a random sample. [2] A model that's already confident about an example gains little from a human labeling it again; a model that's genuinely uncertain about an example gains a lot. Active learning runs a loop: train on what's labeled so far, score the unlabeled pool for uncertainty (or disagreement, in ensemble variants), send the most informative examples to a human, add the new labels, and repeat.

The effect isn't theoretical. Shen and colleagues built a named-entity recognition model and paired it with an active learning loop that used the model's own uncertainty to pick which sentences to label next. Their result: the model nearly matched state-of-the-art performance using roughly 25% of the original labeled training data that a fully supervised approach would have needed. [2] Three-quarters of the labeling effort bought almost nothing once the model was already confident on the bulk of the distribution; the informative quarter did nearly all the work.

Worked example: what a 25% reduction saves
Say a team plans to label 40,000 sentences to train a domain-specific entity extractor, at a market rate of roughly $0.05 to $0.15 per sentence for this kind of annotation. Labeling all 40,000 costs $2,000 to $6,000. If active learning gets the model to comparable accuracy using the ~25% ratio Shen et al. observed, that's about 10,000 sentences and $500 to $1,500, with the other 30,000 sentences never needing a human at all. The savings scale with the size of the labeling job, which is why active learning matters most exactly where labeling is most expensive: specialist domains like clinical, legal, or technical support text, where a generic crowd-labeling rate doesn't apply and every label costs real expert time.

Active learning doesn't eliminate the human. It changes what the human is asked to do: instead of labeling a representative sample of everything, they label the specific slice the model can't yet handle. That's a materially different, and materially cheaper, job.

RLHF is one instance of the loop, not the whole loop

Reinforcement learning from human feedback is the highest-profile HITL touchpoint in modern AI, and for good reason: OpenAI's InstructGPT recipe (fine-tune on human demonstrations, train a reward model on human preference comparisons, then optimize against it) is what turned raw language models into products people would use. [2] RLHF is a post-training alignment technique, one specific way of getting human judgment into a system among the six covered here. A model can have excellent RLHF and no active learning in its data pipeline, or the reverse. They answer different questions: RLHF asks which output humans prefer, while active learning asks which examples the model most needs a human to label.

This guide treats RLHF as one entry in the broader taxonomy on purpose. For the deep dive on how preference pairs and ranked comparisons are structured, why preference data is so scarce, how it's collected and quality-checked, and how to source or sell it, see RLHF & Preference Data Explained, the companion piece this article deliberately doesn't repeat.

The real tradeoffs: cost, latency, and scale

Every HITL touchpoint trades something for the judgment it buys. The three constraints that show up in almost every production decision are cost, latency, and scalability, and they pull against each other in ways that make "just add a human review step" a much bigger decision than it sounds.

  • Cost. A human reviewer, labeler, or rater is paid per hour or per task, and that cost compounds across every example, every model version, and every re-review after a policy change. Specialist review (clinical, legal, safety) costs far more per hour than commodity labeling, which is exactly why active learning's efficiency gains matter most in those domains.
  • Latency. A model can return an answer in milliseconds; a person reading and judging that answer cannot. Any touchpoint that sits between a model's output and a user, like pre-deployment review or a production override step, adds real time that a fully automated system doesn't pay. That's tolerable for a batch process and often untenable for a live chat response or a real-time trading decision.
  • Scalability. A support team, a red-teaming group, or a review panel has a finite number of people and hours. A system generating millions of outputs a day cannot have every one of them read by a human, which is precisely why active learning, sampling-based review, and automated triage exist: they're ways of making a fixed amount of human attention cover a much larger surface than it could unassisted.

None of these tradeoffs argue for removing humans entirely. They argue for being deliberate about which touchpoint gets a human and which doesn't, and for measuring the labeling and review cost of a pipeline honestly rather than assuming humans are free because they're not compute. (For current, dated pricing across labeling channels, see How Much Does AI Training Data Cost?.)

Where the industry is trending: from human-in-the-loop to human-on-the-loop

The direction of travel keeps the human but changes what they do first. In a pure human-in-the-loop labeling pipeline, a person produces the first version of a label, a judgment, or a piece of text from scratch. In what's increasingly described as a human-on-the-loop pattern, an AI system produces the first draft, prediction, or pre-label, and the human's job shifts to verifying, correcting, or vetoing it rather than originating it. It applies the same logic active learning uses during training, a model doing the first pass so a human's attention goes to the part that needs it, extended from "which examples should a human label" to "which outputs should a human check."

There's a concrete reason this shift is accelerating rather than reversing: pure human review doesn't get easier as models improve, it gets harder. Anthropic's red-teaming study found that RLHF-trained models grew increasingly difficult for human testers to break as model scale increased, while other model types showed no such trend. [2] A safety or quality process that assumes a human can just read outputs and spot the problem assumes a level of obviousness that shrinks as the underlying model gets better, which is exactly the scenario where routing human attention with AI assistance, rather than expecting humans to review everything unaided, becomes the only way the process keeps working at all.

Human-on-the-loop still requires a human with real authority
AI-assisted review only functions as oversight if the human reviewing has the ability, the time, and the standing to reject or override what the AI proposed. A rubber-stamp review step satisfies neither the spirit nor, under EU AI Act Article 14, the letter of a genuine human oversight requirement. [2]

The loop is the point

Human-in-the-loop is a design principle with at least six distinct implementations, each solving a problem a model can't yet solve for itself: what to learn from, which examples deserve human attention, what a good output looks like, whether an output is safe to ship, where the system can be broken on purpose, and who can stop it once it's live. Confusing any one of these for the whole idea is how teams end up with a model that's well-labeled but unreviewed, or well-aligned on paper but unsupervised in production.

Active learning is the clearest evidence that keeping humans in the loop and controlling cost aren't opposed. Used well, it points a fixed budget of human attention at exactly the examples where that judgment changes the outcome, rather than spreading it evenly across a dataset that mostly doesn't need it. That's also the logic behind the industry's shift toward AI-assisted, human-on-the-loop review: the goal was never fewer humans, it was spending human judgment where it's scarce and irreplaceable.

The judgment embedded in your data has real value.

Labeled examples, preference rankings, review decisions, and override logs are exactly the human-generated signal AI labs pay for. We broker domain-narrow, consent-clean datasets like these and handle provenance and compliance for you. Find out what yours is worth.

List your data on Dayda