概念 · 基于 AIF-C01
Human evaluation and human-in-the-loop
People rate model output in Bedrock evaluation jobs, or review uncertain predictions in a human-in-the-loop workflow.
本课尚未翻译,暂以英文显示。
你在AI Practitioner中已学过
- Amazon A2I sends low-confidence predictions to human reviewers.
- Bedrock human jobs use your own team or an AWS-managed team to rate answers.
Likert, individual
- Rater does
- Scores one answer, 1 to 5
- Report shows
- Histogram of scores
Likert, comparison
- Rater does
- Rates preference between two
- Report shows
- Histogram of preference
Choice buttons
- Rater does
- Picks the better answer
- Report shows
- Percent preferred
Ordinal rank
- Rater does
- Ranks the answers
- Report shows
- Histogram of ranks
Thumbs up or down
- Rater does
- Marks acceptable or not
- Report shows
- Percent thumbs up
| Rating method | Rater does | Report shows |
|---|---|---|
| Likert, individual | Scores one answer, 1 to 5 | Histogram of scores |
| Likert, comparison | Rates preference between two | Histogram of preference |
| Choice buttons | Picks the better answer | Percent preferred |
| Ordinal rank | Ranks the answers | Histogram of ranks |
| Thumbs up or down | Marks acceptable or not | Percent thumbs up |
1 / 2
Likert, individual
- Rater does
- Scores one answer, 1 to 5
- Report shows
- Histogram of scores
Likert, comparison
- Rater does
- Rates preference between two
- Report shows
- Histogram of preference
Choice buttons
- Rater does
- Picks the better answer
- Report shows
- Percent preferred
| Rating method | Rater does | Report shows |
|---|---|---|
| Likert, individual | Scores one answer, 1 to 5 | Histogram of scores |
| Likert, comparison | Rates preference between two | Histogram of preference |
| Choice buttons | Picks the better answer | Percent preferred |
2 / 2
Ordinal rank
- Rater does
- Ranks the answers
- Report shows
- Histogram of ranks
Thumbs up or down
- Rater does
- Marks acceptable or not
- Report shows
- Percent thumbs up
| Rating method | Rater does | Report shows |
|---|---|---|
| Ordinal rank | Ranks the answers | Histogram of ranks |
| Thumbs up or down | Marks acceptable or not | Percent thumbs up |
是什么
Use people when quality is subjective (tone, helpfulness, brand voice) or stakes are high. A Bedrock human evaluation job takes a prompt dataset (up to 1,000 prompts in S3) and up to two inference sources: Bedrock models or answers you bring. For each metric you choose a rating method (see the table), describe it in the instructions, and set how many workers rate each prompt: 1, 2 or 3. Ground truth answers can appear beside each answer as a reference, not scored.
是什么
Your own work team: you enter worker emails (up to 50 in the console), workers sign in to a worker portal, and the team is a private workforce managed with SageMaker Ground Truth. Or an AWS-managed team: AWS hires skilled evaluators and runs the workflow. From the API a human job also needs a SageMaker AI flow definition whose request source is AWS/Bedrock/Evaluation. The S3 output bucket needs a CORS configuration, and every rating is saved there.
是什么
Amazon Augmented AI (A2I) is for your own models in production. A human review workflow, a flow definition, names the worker task template, the workforce and the conditions that start a review. Two triggers: a confidence threshold (predictions below it go to people) and a random sample percentage (an ongoing audit). Textract and Rekognition integrate directly, and for a custom model your code calls StartHumanLoop. Reviewer answers go to S3 and can retrain the model.
是什么
Good reviews need clear instructions, more than one reviewer on important items, and a check on reviewer agreement. Status: A2I and SageMaker Ground Truth have been closed to new customers since July 30, 2026. Existing customers can keep using them. Bedrock human evaluation jobs are a separate feature.
要记住
- Bedrock human job: up to 1,000 prompts, 2 models, 1 to 3 workers.
- Rating methods: Likert individual, Likert comparison, choice buttons, ordinal rank, thumbs up or down.
- A2I triggers: confidence threshold or random sample.
考试中
- “Employees rate which model answer is better” points to a Bedrock human job with choice buttons or a Likert comparison.
- “Review predictions under a confidence level and audit a random sample” points to A2I conditions.
- “Let AWS supply the reviewers” points to an AWS-managed team.
别和这些弄混
- LLM-as-a-judge and AI output assessmentChoose the judge model, write the rubric and rating scale, and check the judge against human ratings.
- Amazon Bedrock evaluationsSet up automatic, judge, human and RAG evaluation jobs in Amazon Bedrock, then compare the results.
Amazon SageMaker Ground TruthWorkforces, labeling jobs, automated labeling and consolidation in Ground Truth, now closed to new customers.
本任务内容 · 2.3
- Experiment tracking: managed MLflow
- Amazon Bedrock evaluations
- Performance baselines and drift detection
- Shadow variants and A/B tests
- Explaining model outputs
- Debugging model convergence
- Evaluating traditional ML models
- NLP and text-generation metrics
- Human evaluation and human-in-the-loop
- LLM-as-a-judge and AI output assessment
- Evaluating RAG retrieval and answers