Testing with Generative AI study guide

BLEU vs ROUGE Metrics

BLEU and ROUGE are traditional automated evaluation metrics for AI-generated text. BLEU measures precision (how much of the generated text matches the human reference), heavily used in translation. ROUGE measures recall (how much of the human reference is captured in the generated text), heavily used in summarization.

Practical example

Both metrics rely on n-gram (word sequence) overlap. They are mathematically cheap to calculate but fail to understand semantic meaning. If the reference is "The feline slept" and the LLM outputs "The cat rested", BLEU/ROUGE will score it as 0% because the exact words don't match.

Exam scenario and common trap

Question: Why are BLEU and ROUGE becoming deprecated for testing modern LLMs? The Trap: "They take too much computing power." The Correct Answer: They only measure exact lexical overlap and completely fail to evaluate semantic equivalence or factual correctness.

Additional background: this specific topic is not presented as a dedicated topic in the syllabus. Reference sections: 2.3.1. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.