Glossary
Human-in-the-loop
Human-in-the-loop means people review, correct or approve some of an automated system's decisions, and their feedback is used to improve it over time.
Swiss-hosted inference. Nothing you send is ever stored. Swiss data residency
Definition
What Human-in-the-loop means
Human-in-the-loop (HITL) describes systems where automated decisions and human judgement are combined deliberately: the model handles the routine bulk, people handle what the model should not decide alone, and human corrections flow back as labelled data.
A well-designed HITL loop has three parts:
- A routing rule that decides which items reach a person. Usually a mix of content rules ("any refund over a limit") and uncertainty rules ("confidence below a threshold"). See escalation and abstention.
- A review surface that shows the reviewer the input, the model's answer and its probabilities, so they can accept or correct quickly.
- A feedback path that stores corrections as labels for evaluation, threshold re-fitting and fine-tuning.
HITL with Laya
Laya fits this pattern because its outputs are already structured for review. Each answer has a typed value, the full probability distribution over the options you defined, and a confidence. A reviewer sees "billing 0.62, technical 0.31" rather than a paragraph of generated reasoning, and their correction is a clean label for the same schema.
Practical guidance grounded in what the model card reports:
- Route on
confidence, notaction.act_probability; the latter carries no usable signal yet. - The checkpoints ship over-confident. Use the first few hundred human-reviewed items to fit per-question-type temperature scaling, then re-check calibration with a reliability diagram.
- The base checkpoints are close to chance on some specialised schemas zero-shot; the typed-decisions checkpoint went to 0.766 accuracy only after fine-tuning. Human labels are what make that possible for your own workflow.
Start with a low automation rate and widen it as measured error on auto-handled items stays within budget. The act/escalate routing guide and zero-shot vs fine-tuned cover both halves.
Related terms
How Human-in-the-loop connects to the rest of the vocabulary.
Go deeper
- ExplainerAct or escalate: routing decisions by calibrated confidenceWhen should AI act and when should it hand off to a human? How to set a confidence threshold from your costs, and how to gate Laya's answers on confidence.
- ExplainerZero-shot vs fine-tuned: when is a general model good enough?Zero-shot vs few-shot vs fine-tuned text classification: data needed, accuracy and how fast you can change labels, with Laya's published numbers as an example.
Get started
Try it on your own text
Send any text with your own typed questions and get a calibrated probability for every answer. 6k free tokens, no card needed; then $0.0357 per 1M input tokens — 15% below Jev.
Swiss-hosted inference. Nothing you send is ever stored.