Model evaluation (evals)
Also known as: AI evaluation
The practice of checking how well an AI system does its job, with scores, public tests, human review and deliberate attacks.
Draft - this entry has not been reviewed yet.
Formal
The planned measuring of a model or AI system against goals for quality, safety and fairness, combining numbers such as accuracy and the F1 score, benchmark results, human review, LLM-as-a-judge grading and AI red teaming.
In plain English
Like a car's road trials before sale, with speed runs on the track, crash checks, drivers' opinions and people trying hard to make it fail.
In practice
Before moving its tenant chat to a newer large language model, a housing association's IT lead reruns 500 saved tenant questions, has staff grade a sample of the answers, and switches only if nothing gets worse.
Why it matters
Without regular checks nobody knows whether a change made the system better, worse or unsafe, and the EU AI Act demands documented testing for systems used in areas such as hiring, credit scoring or welfare decisions.
Technical deep dive
Model evaluation spans several layers that answer different questions. Offline evaluation scores a frozen model on held-out test sets and public benchmarks; human evaluation has experts or users rate outputs where no automatic metric is valid; LLM-as-a-judge automates part of that rating; adversarial testing and AI red teaming probe for failures an average-case metric never samples; and online evaluation (A/B tests, shadow deployments, production monitoring) measures behaviour on the real input distribution. For LLM applications an eval suite is usually code: a versioned data set of inputs, one or more graders (exact match, regex or schema checks, executing generated code, embedding similarity, model-graded rubrics) and a harness that runs in CI so that a prompt, retrieval or model change cannot ship if it regresses.
Most failures of evaluation are failures of validity rather than arithmetic. Construct validity asks whether the metric measures the property that matters; external validity asks whether the test distribution matches production, which breaks under data drift or when a demo set was hand-picked. Aggregate scores hide subgroup failures, so results should be sliced by language, customer segment, document type or protected characteristic. Scores carry sampling error and should be reported with bootstrap or binomial confidence intervals. Generative models are non-deterministic, so each item should be sampled several times; pass@k (at least one of k attempts succeeds) and pass^k (all k succeed, as used in τ-bench) answer very different reliability questions.
Governance frameworks treat evaluation as a lifecycle duty. NIST AI RMF 1.0 (NIST AI 100-1, 2023) places test, evaluation, verification and validation (TEVV) under its Measure function, and NIST AI 600-1 extends this to generative AI. ISO/IEC TS 4213:2022 specifies how to assess classification performance. The EU AI Act requires high-risk systems to be tested against "prior defined metrics and probabilistic thresholds" before being placed on the market (Art. 9(8)), to reach an appropriate level of accuracy, robustness and cybersecurity with the metrics declared in the instructions for use (Art. 15), and to be followed up by post-market monitoring (Art. 72); providers of general-purpose models with systemic risk must perform model evaluations including adversarial testing (Art. 55(1)(a)). The AI Omnibus, Regulation (EU) 2026/1744, in force since 27 July 2026, deferred the Annex III high-risk obligations to 2 December 2027 and those for high-risk AI in products under Annex I to 2 August 2028.
Evaluation must be kept separate from training: if test results drive repeated changes, the test set becomes a validation set and its score is optimistically biased. Good practice therefore freezes a test split, logs every evaluation run with model, prompt and data versions, and refreshes evaluation data when it has been seen too often. Comparing numbers across organisations is only meaningful when the harness, prompts and decoding settings are identical.
What to learn first
Everything this builds on, foundations first.
- Training data
- →Machine learning
- →Model evaluation (evals)
Relationships
- Kinds
- LLM-as-a-judge
- Requires
- Machine learning
- Unlocks
- Model card
- Don't confuse with
- Model training
- Mitigates
- AI biasHallucination
- Mandated by
- EU AI Act
- Used with
- Prompt engineeringData drift
Sources & further reading
Standards & official texts
- NIST AI 100-1, Artificial Intelligence Risk Management Framework (AI RMF 1.0), Measure function · NIST
- NIST AI 600-1, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile · NIST
- Regulation (EU) 2024/1689 (Artificial Intelligence Act), Articles 9(8), 15, 55(1)(a) and 72 · European Union
- ISO/IEC TS 4213:2022, Assessment of machine learning classification performance · ISO/IEC
Official documentation
- European Commission (2026), AI Omnibus enters into force · European Commission
Where this data comes from
This entry was drafted by an AI from the sources above and has not yet been checked by a person. Treat it as a starting point, and check anything important against the sources.
See the review queueSuggest a correction on GitHubThis term as JSON
Check yourself
Loading…