Home / Insights / AI in Practice
How to Evaluate an AI System
Why public benchmarks are not enough, and how to build a test that reflects your own work.
"Which model is best?" has no general answer. It depends on the task, the language, the budget and the cost of mistakes.
Public benchmarks
Tests such as MMLU pose thousands of exam-style questions across subjects. The HELM project argued for evaluating many scenarios and several qualities, including calibration, robustness, bias and efficiency, rather than a single accuracy figure.
Benchmarks have known weaknesses. Test questions can appear in training data, inflating scores. Models may be tuned toward popular tests. A high score on multiple choice says little about drafting a reliable contract summary.
Diagram by O&O Consulting.
Build your own
Gather perhaps fifty to a few hundred inputs drawn from real work, including edge cases and past failures. For each, state what a good answer must contain and must not do. Keep part of the set unseen while developing.
Scoring
Some outputs can be checked automatically: a valid date, a correct category, code that passes tests. Open-ended answers need judgement. Using a strong model as a judge is common; research has found it can agree reasonably with people while showing preferences for longer answers or for its own style, so sample its decisions against human review.
Measure what matters together
A slightly more accurate system that is five times as slow and costly may be the worse choice. Record accuracy, latency, cost per task and rates of harmful or unacceptable output. Report uncertainty: on fifty cases, a difference of a few points may be chance.
Limitations and open questions
No test set covers everything users will try. Behaviour can change after a provider updates a model, and user behaviour shifts too. Evaluation is therefore continuing work: sample live outputs, collect complaints and add each significant failure to the test set.
References
- Liang, P. et al. (2022). "Holistic Evaluation of Language Models." arxiv.org/abs/2211.09110
- Hendrycks, D. et al. (2020). "Measuring Massive Multitask Language Understanding." arxiv.org/abs/2009.03300
- Zheng, L. et al. (2023). "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena." arxiv.org/abs/2306.05685
This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.