Lesson 4 of 4 Evaluating FM Outputs

Collecting User Feedback and Expert Annotation

This lesson covers feedback interfaces, ratings and annotation workflows that collect the judgements of users and domain experts systematically and feed them back into improvement.

Learning outcomes

After completing this lesson, you will be able to:

  • Design feedback interfaces and rating systems.
  • Run annotation workflows with reviewers.
  • Close the loop from feedback to fixes.

Feedback interfaces and rating systems

Explicit feedback includes thumbs up or down, star ratings, choosing the better of two responses, flagging errors with a reason (incorrect, unhelpful, unsafe, outdated) and free-text comments or corrections. Implicit feedback includes copying or using an answer, regenerating it, rephrasing the question, abandoning the session or escalating to a human. Feedback is collected through an API Gateway endpoint and stored with the request ID, prompt version, model and retrieved sources, so it can be joined with logs. Low-friction interfaces get more feedback, but feedback is biased toward strong reactions, so it complements systematic evaluation.

Sort into groups

Explicit or implicit feedback?

Exam skills 5.1.3

Classify each user signal.

Log in to try this activity Interactive activities are free with an account.

Annotation workflows

Annotation has trained reviewers assess samples of responses against detailed guidelines: correctness, completeness, tone, policy compliance and error categories. Amazon SageMaker Ground Truth runs labelling jobs with custom task templates and a private workforce of the organisation's experts, a vendor or a public workforce, with multiple reviewers per item for agreement. Amazon Augmented AI (A2I) routes production outputs that meet conditions (for example low confidence) to human review. Bedrock human evaluation jobs provide a ready-made interface for comparing models.

Annotated examples become golden dataset entries, few-shot examples, judge calibration data and, where appropriate, fine-tuning data.

Closing the loop

Feedback is useful only if it leads to action. Metrics such as the share of negative ratings, broken down by feature and prompt version, are sent to Amazon CloudWatch with alarms, so a drop in satisfaction after a release is noticed within hours. Negative feedback is sampled and annotated by reviewers to find out why the response failed.

Recurring failure types then drive specific changes: a prompt rule for unclear answers, a retrieval fix for missing information, or a model change for reasoning errors. The failing cases are added to the regression tests, so that the same problem cannot return unnoticed in a later version. The following table summarises the feedback mechanisms.

MechanismCollectsImplementation
Ratings and flagsExplicit user judgementsUI controls, API Gateway, DynamoDB or S3
Implicit signalsBehaviour such as regenerate or escalateApplication events
Expert annotationDetailed quality labelsSageMaker Ground Truth custom jobs
Review of selected outputsHuman decisions on risky or uncertain outputsAmazon A2I
Model comparison by humansPreferences between responsesBedrock human evaluation jobs

The following diagram shows the feedback loop that turns subtle errors in a legal research assistant into fixes.

Turning subtle errors into fixes for a legal research assistant. A one-click flag with reasons collects feedback, 200 responses a month are annotated by lawyers in a Ground Truth private workforce job with two reviewers each, error rates by category go to CloudWatch, and every confirmed error joins the golden dataset.
Two reviewers per item show where experts disagree.
Put in order

From feedback to fixes

Exam skills 5.1.3

Put the steps that turn user feedback into improvements in order.

Log in to try this activity Interactive activities are free with an account.
Worked example

From feedback to fixes

A legal research assistant receives few ratings, and lawyers say errors are subtle.

The team adds a one-click flag with reasons, samples 200 responses a month for annotation by lawyers in a Ground Truth private workforce job with two reviewers each, publishes error rates by category to CloudWatch, and adds every confirmed error to the golden dataset used in regression tests.

Check yourself

What should be stored with each user rating?

Show answer

The request ID and prompt version, so feedback can be traced to the configuration that produced the answer.

Exam Tips

Remember for the exam

  • Collect explicit ratings and implicit signals, stored with request ID and prompt version.
  • Expert annotation: Ground Truth custom jobs with private workforces.
  • Route uncertain production outputs to humans with A2I.
  • Turn confirmed failures into regression test cases.