How generative AI is evaluated: BLEU, ROUGE, perplexity and LLM-as-judge

Generated text has no single correct answer, so it is judged with several measures at once: automatic metrics that compare it with a reference answer, scores of how well the model predicts real text, other AI models acting as judges, and real people.

Everyday analogy

Judging a cooking contest. You can compare a dish with the original recipe (metrics), but you still need tasters (people) and perhaps a head chef (an LLM judge) to decide which dish is actually best.

Example

A news app tests its summariser on 200 articles: ROUGE checks overlap with editors' summaries, an LLM judge scores whether each summary sticks to the facts, and an editor reviews 30 of them by hand.

AI wroteThequickbrownfoxleapsoverthedogReferenceThequickbrownfoxjumpsoverthelazydogGreen = shared words. BLEU and ROUGE count these, but miss that “leaps” = “jumps”.LLM-as-judge:“Accurate and fluent, but drops the word lazy.”Score 4 / 5→ spot-check a sample with a human reviewer
Automatic metrics compare words; judges and humans check meaning.

Common metrics

MetricWhat it measuresUsed forWatch out
BLEUOverlap of words and phrases with a referenceTranslationMisses synonyms
ROUGEHow much of the reference is coveredSummariesSurface word matching
METEOROverlap that also accepts synonyms and word stemsTranslationStill needs a reference
BERTScoreMeaning similarity using embeddingsGeneral textSlower to compute
PerplexityHow surprised the model is by real text (lower is better)Comparing language modelsSays nothing about usefulness
FIDHow close generated images are to real ones (lower is better)Image generationNeeds many images
Inception ScoreImage quality and variety (higher is better)Image generationOlder and less reliable
LLM-as-judgeA strong model grades answers against a rubricChat, RAG, open answersCan be biased; spot-check it
Human evaluationPeople rate helpfulness, accuracy and safetyThe final checkSlow and costly

What to judge

AccuracyRelevanceGroundedness (sticks to the sources)CoherenceHelpfulnessSafetyRobustnessSpeed and cost

A simple evaluation loop

Test setReal questions with good answers
→
GenerateRun your model or RAG app
→
ScoreMetrics plus an LLM judge
→
ReviewHumans check a sample
→
ImproveFix, then run the same tests again

Remember: no single metric is enough. Combine automatic scores with human review, and re-run the same tests after every change.

Try it yourself

About 15 min

Grade two summaries

  1. Pick a short news article and ask an AI chatbot for two different summaries.
  2. Score each 1–5 for accuracy, completeness and clarity.
  3. Ask a second chatbot to act as judge with the same rubric and compare its scores with yours.

What you should see: You and the AI judge mostly agree, but not always. That's why teams check AI judges against humans.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectBuild your own custom AI assistantAbout 60 min · No coding needed · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.