What is model evaluation?
Model evaluation is systematically measuring an AI model against criteria such as accuracy, robustness, safety and fitness for the task on a representative test dataset and documenting the results.
It differs from a benchmark in purpose: a benchmark compares models on a standard question set, while model evaluation measures a model against the organisation's own tasks and criteria. It is not a single overall score; results depend on tasks, criteria and context of use.
- Topic
- Evaluation and quality
- Also known as
- Model testing, model assessment
How model evaluation works
- Success criteria, risk thresholds and a representative evaluation dataset are set for the use case.
- The model runs under the same conditions; outputs are compared with reference answers.
- Classification uses accuracy, precision, recall or F1; generative tasks use a judge model and human evaluation.
- Safety, bias and robustness are tested separately; results are documented per version and repeated as the model changes.
In more detail
Model judge biases and calibration
When an LLM is evaluated using another model (LLM-as-a-judge), results can be skewed by position bias, verbosity preference and self-enhancement bias. Judge pipelines must be calibrated against human-labelled golden sets, swap answer ordering and track inter-annotator agreement (such as Cohen's kappa).
Data contamination and statistical significance
Evaluation scores are unreliable if test examples leaked into pre-training or fine-tuning data (data contamination) or if sample sizes are too small to separate real gains from noise. Rigorous evaluations check for train-test overlap and report confidence intervals or statistical significance tests across versions.
Layered evaluation for RAG and agent systems
For RAG and agentic systems, evaluating only the final answer hides root causes. RAG requires separate retrieval metrics (context precision and recall) and generation metrics (faithfulness and hallucination rate), while agentic workflows require multi-step trajectory, tool-selection accuracy and safety-guardrail adherence checks.
Latency and cost trade-offs and CI/CD regression gates
Production model selection balances quality against latency (such as time-to-first-token), throughput and GPU memory cost. An offline regression suite integrated into CI/CD pipelines can block deployments when quality drops or latency budgets are exceeded.
Commonly confused terms
| Term | How it differs |
|---|---|
| Model validation | Model evaluation measures performance metrics on test data; model validation is the formal governance step verifying that the model meets regulatory, statistical and operational requirements prior to production approval. |
| Model monitoring | Evaluation runs offline against curated datasets before release or after changes, while model monitoring continuously tracks live production traffic for data drift, latency spikes and quality degradation. |
Why model evaluation matters for on-premises AI
Public benchmark results do not reflect an organisation's documents, domain terms or business rules; a test set built from its own tasks gives a sounder basis for choosing a model. Evaluation is repeated whenever model, prompt or data change, not only at selection. In regulated sectors documented validation before production is often expected for internal audit. Because test data comes from real internal documents, evaluation runs in-house.
Before choosing an in-house model to classify complaints, a telecoms operator compares candidates on its own labelled complaint samples; the model with the best F1 and precision wins.
Common questions
Are public benchmarks enough to choose an in-house model?
No. They are built on different data and languages. A test set from the organisation's own documents and questions shows real performance better.
When should model evaluation be repeated?
When model, prompt, retrieval settings or data change and at regular intervals. Quality drops in production are caught by continuous monitoring.
Related terms
Sources
In the glossary: Glossary, M to Q