Lesson 1 of 4 Evaluating FM Outputs

Choosing Evaluation Metrics for Generative Outputs

This lesson defines the quality dimensions and measurement methods needed to evaluate open-ended generative output, which has many acceptable answers, and when each method applies.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish relevance, factual accuracy, faithfulness and other dimensions.
  • Distinguish reference-based metrics, LLM-as-a-judge and human evaluation.
  • Choose metrics by use case.

Quality dimensions

Relevance asks whether the response addresses the question. Factual accuracy (correctness) asks whether its claims are true. Faithfulness asks whether it is supported by the provided context, which matters for RAG: a response can be factually true yet unfaithful to the documents. Completeness asks whether it covers everything the question required. Consistency asks whether similar inputs, or repeated runs, give compatible answers. Fluency and coherence ask whether it reads naturally and logically. Safety dimensions include harmfulness, stereotyping and appropriate refusal.

Sort into groups

Name the quality dimension

Exam skills 5.1.1

Name the quality dimension that each failure violates.

Log in to try this activity Interactive activities are free with an account.

Measurement methods

Reference-based metrics compare output with a reference answer: ROUGE measures word overlap and suits summarisation; BLEU measures n-gram precision and suits translation; BERTScore compares embeddings and tolerates paraphrase; exact match and F1 suit short factual answers. They are cheap and repeatable but penalise valid answers worded differently. LLM-as-a-judge asks a capable model to rate outputs against a rubric, capturing nuanced qualities at scale. Deterministic checks verify format and required elements. Human evaluation is the most trusted for subjective qualities but slow and costly.

An assessment framework selects the dimensions that matter for each use case, assigns a method and threshold to each, and combines them in a scorecard. The following table summarises the methods.

MethodMeasures wellLimitations
ROUGE / BLEUOverlap with references (summaries, translations)Penalize valid paraphrases
BERTScore / semantic similarityMeaning overlap with referencesNeeds references; misses factual errors
Exact match / F1Short factual answers, extractionToo strict for free text
LLM-as-a-judgeCorrectness, faithfulness, helpfulness, tone at scaleJudge bias; needs calibration
Deterministic checksFormat, schema, required elementsCannot judge meaning
Human evaluationSubjective and nuanced qualitySlow, costly, variable between raters

The following diagram compares the two ways of scoring the new prompt.

Why ROUGE misled the team. ROUGE rewards word overlap with reference summaries written in an older style, so it fell for more concise, accurate summaries that reviewers preferred. An LLM-as-a-judge rubric for faithfulness and coverage, calibrated on human ratings, becomes the main measure, with ROUGE kept as a secondary signal.
Calibration on human ratings checks that the judge agrees with reviewers.
Match the pairs

Measurement methods

Exam skills 5.1.1

Match each metric or method with what it measures or suits.

Log in to try this activity Interactive activities are free with an account.

Choosing metrics by use case

No single metric measures quality for every application; the metrics must reflect what makes an output useful for the specific task. A RAG assistant prioritises faithfulness to its sources, correctness, completeness and the quality of its citations. A summariser prioritises faithfulness, coverage of the key points and conciseness. A classification or extraction task uses accuracy, precision, recall and validity against the output schema.

A creative writing tool weighs fluency, style and diversity, which are best judged by people or by an LLM judge with a detailed style rubric. In every case, business metrics, such as the rate of tasks completed without human correction or the time saved per task, complete the picture, because a model can score well on quality metrics while failing to help users in practice.

The following diagram matches use cases to the metrics that matter most for each.

Choosing evaluation metrics by use case. A RAG assistant prioritises faithfulness, correctness, completeness and citation quality; a summariser prioritises faithfulness, coverage of key points and conciseness; classification and extraction use accuracy, precision and recall.
Cost, latency and safety are measured for every use case.
Worked example

Misleading ROUGE scores

A team evaluates a new summarisation prompt with ROUGE and sees a drop, yet reviewers prefer the new summaries, which are more concise and accurate.

ROUGE rewards word overlap with reference summaries written in an older style. The framework should add an LLM-as-a-judge faithfulness and coverage rubric, calibrated on a sample of human ratings, and keep ROUGE only as a secondary signal.

Check yourself

What does faithfulness measure?

Show answer

Whether the answer is supported by the provided context, which is essential for RAG.

Exam Tips

Remember for the exam

  • Relevance, factual accuracy, faithfulness, completeness, consistency and fluency are distinct.
  • Faithfulness means supported by the provided context, essential for RAG.
  • ROUGE suits summaries, BLEU translation; both penalise paraphrase.
  • LLM judges scale nuanced evaluation; calibrate with humans.