Testing with Generative AI study guide
LLM-as-a-Judge Evaluation
LLM-as-a-Judge is a modern evaluation paradigm where a stronger, more capable LLM (like GPT-4) is used to automatically score and evaluate the outputs of a weaker or system-integrated LLM based on specific rubrics (e.g., politeness, factual accuracy).
Practical example
Traditional automated metrics (like exact string matching) fail for generative text because there are infinite ways to say the same thing. An LLM Judge can evaluate semantic meaning. However, QA must test the Judge for "Position Bias" (favoring the first answer it sees).
Exam scenario and common trap
Question: What is the biggest risk of using LLM-as-a-Judge? The Trap: "It is too slow to execute." The Correct Answer: Bias and lack of determinism. The Judge model might have inherent biases (e.g., favoring longer answers or specific formatting) that skew the test results.
Related syllabus material covers the broader concept; this page includes additional context. Reference sections: 2.3.1–2.3.2. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.