Automatic evaluation

Automatic evaluation is judging an AI model's output with software, such as a scoring script, a metric like BLEU or another AI model, instead of with human reviewers.

Every time a model changes, someone has to check whether it got better or worse. Asking people to read thousands of outputs is slow and expensive, so most checking is done by software. Google's machine learning glossary defines automatic evaluation as using software to judge the quality of a model's output, in contrast to human evaluation.

There are two broad kinds. When the right answer is clear, a script compares the output with a stored correct answer, sometimes called a golden response; multiple-choice benchmarks and maths problems with one numerical answer work this way. For text such as translations or summaries, overlap metrics like BLEU and ROUGE count how many words and phrases the output shares with human-written references. When there is no single right answer, as with an open-ended chatbot reply, a separate AI model can act as the judge. Google calls this an autorater; elsewhere it is known as LLM-as-a-judge.

AI judges have been tested against people. In a June 2023 paper, Lianmin Zheng and colleagues found that GPT-4, used as a judge, agreed with human preferences over 80% of the time, about as often as humans agreed with each other. They also documented its biases: favouring the answer shown first, favouring longer answers and favouring its own outputs.

Automation makes evaluation at scale possible. Stanford's HELM project, published in November 2022, scored 30 language models on 42 scenarios using seven metrics, from accuracy and calibration to toxicity and efficiency. The UK AI Security Institute uses AI graders working from expert-written marking schemes, checked against human experts, in its testing of frontier models.

The catch is that every automatic score is a stand-in for what people actually care about. A translation can score well on word overlap and still read badly, and an AI judge can reward confident length over correctness. Good practice is to check automatic scores against human judgement regularly and to be wary of any single number. The UK institute itself warns that automated tests do not mirror real-world use.

Common questions

What is the difference between automatic and human evaluation?

Automatic evaluation uses software, such as metrics, scripts or another AI model, to score outputs, which makes it fast, cheap and repeatable. Human evaluation asks people to judge outputs, which is slower and costlier but better at catching qualities that are hard to measure, such as tone or subtle errors. Most teams use automatic evaluation for routine checks and humans for spot checks and final decisions.

What is LLM-as-a-judge?

It is the practice of asking a strong language model to score or compare other models' outputs, often against a marking scheme. Research has found that strong judges agree with human preferences much of the time, but they show biases, such as preferring longer answers or the answer shown first.

Can automatic evaluation be trusted?

It is reliable for what it measures, such as whether an answer matches a known correct one. It is less reliable as a measure of overall quality, because metrics and AI judges capture only part of what makes an output good. Its results are most trustworthy when they have been checked against human judgement on the same task.

What are examples of automatic evaluation metrics?

Exact-match accuracy on questions with known answers, BLEU for machine translation and ROUGE for summarisation are common examples. For open-ended tasks, scores from an AI judge are increasingly used.

Finding more

Search for "automatic evaluation metrics NLP", "LLM-as-a-judge bias" or "autorater" to see how outputs are scored without people. Research papers on arXiv and in the proceedings of the Association for Computational Linguistics are the best sources on how well metrics agree with humans, and evaluation frameworks from universities and government AI institutes explain their methods openly. Treat leaderboards that rely on a single automatic score as a rough guide.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.