Reading preferences
Concept

Evaluating AI Systems in Production

Connect offline evaluation, monitored deployment, and incident response.

artificial intelligence, evaluation, monitoring, production

Define a measurable task

Suppose a support assistant suggests answers but a person makes the final decision. Define correctness, harmful suggestions, abstention, latency and human workload before deployment. An offline test set needs representative cases, a held-out split and clear labels; prevent evaluation cases from leaking into training or tuning.

Follow an evaluation cycle

  1. Test a candidate on held-out cases and relevant slices, including unusual requests. Record denominators and uncertainty, not just one average.
  2. Deploy gradually with a rollback and review process. Track errors, latency, refusals, human corrections and downstream outcomes while protecting privacy.
  3. A change in the input mix triggers investigation. Compare fresh labelled cases and slice-level outcomes before deciding whether to update or roll back.

See the reasoning

Follow the example one step at a time

Move from an offline test to monitored deployment and investigation. This is a prepared teaching demonstration, not live code execution.

Evaluate

held-out cases → overall and slice metrics

Report denominators and uncertainty and prevent data leakage.

Operate the whole system

Trace model version, prompt or policy version, retrieval inputs, tool calls and outcomes where appropriate, with access controls and data minimisation. Monitoring input drift is useful but does not prove a change in accuracy; labels and outcome review may arrive later. Track incidents, time to resolution and effects on affected groups.

Human review also has limits: reviewers need training, context and authority to challenge the system. Reevaluate after changes to the model, tools, population or task. NIST's voluntary AI Risk Management Framework provides a broader risk-management reference, not a certification of a specific system.

Reflect on the concept

Four fixed questions to reinforce the reasoning. Answers are not saved or scored.

1. Why examine evaluation slices as well as an overall average?
2. What is evaluation leakage?
3. What can a change in input distribution indicate?
4. Why measure outcomes as well as model outputs?

References and further reading