Back to LLMs Mind Map
中文·English
LLMsID: eval-metrics

Auto Metrics vs LLM-as-Judge

自动指标 vs LLM-Judge
🎯Core Definition
three classic automatic metrics and their limits: (1) BLEU — n-gram precision with a brevity penalty, BLEU=BPexp(nwnlogpn)\text{BLEU} = BP \cdot \exp\big(\sum_n w_n \log p_n\big), built for MT, blind to synonyms and legitimate paraphrases; (2) ROUGE — recall-oriented n-gram / LCS F-measure for summarization, also ignoring semantics; (3) perplexity PPL(x)=exp(1NilogP(xix<i))\text{PPL}(x) = \exp\big(-\tfrac{1}{N} \sum_i \log P(x_i \mid x_{<i})\big) — measures fit, not quality; favors short text and misses factual errors. LLM-as-judge uses a large model as scorer/comparator, with agreement measured by Cohen's Kappa: κ=pope1pe\kappa = \tfrac{p_o - p_e}{1 - p_e} (observed agreement minus chance agreement).
💡Use Cases
cheap regression testing for summarization/translation/open-ended generation; LLM-as-judge for subjective quality, long text, or tasks without gold references; validating judge reliability with Kappa (judge-vs-human or judge-vs-judge) before trusting automated verdicts.
Key Problems Solved
classic metrics score surface similarity, not semantic correctness — high scores can hide mistranslations or missing points, and perplexity measures fit, not quality. LLM-as-judge brings semantic judgments but introduces systematic biases — position bias (preferring later answers), self-preference, verbosity bias — so Kappa and debiasing designs (swapped order) are required to trust it.
🎯5 High-Frequency Exam Points
1
What are BLEU's three components (precision, n-grams, brevity penalty)? When does it give misleadingly high scores?
2
Perplexity definition and limits: why doesn't low PPL imply high generation quality?
3
In Cohen's Kappa, what are p_o and p_e, and why is it stricter than raw agreement?
4
How do you design experiments to remove the big three judge biases — position, self-preference, verbosity?
5
When are BLEU/ROUGE appropriate vs LLM-judge vs human eval, and how do you trade off cost?
📖 In-depth Guide:📄 nlp-tasks-and-ner
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Auto Metrics vs LLM-as-Judge"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardBenchmarks MMLU/GSM8KNext CardScaling Laws

🔗 More LLMs Knowledge Cards

Agent & Tool CallingAlignment Tax & Preference DataScaled Dot-Product AttentionAttention Variants MHA/MQA/GQA