LLM Evaluation Metrics
Overview
LLM Evaluation Metrics is a system of metrics used for objective evaluation of the performance of large language models. Metrics vary depending on the type of task: text generation, question answering, summarization, machine translation, classification, and others.
Major Metric Groups
| Group | Metrics | Application |
|---|---|---|
| Reference-based | BLEU, ROUGE, METEOR, chrF | Comparison with reference answers |
| Reference-free | Perplexity, Self-BLEU, Distinct-n | Quality assessment without a reference |
| Semantic | BERTScore, MoverScore | Semantic proximity |
| Task-specific | Accuracy, F1, Exact Match | Classification, QA |
| LLM-assistant | LLM-as-a-Judge | Evaluation using another LLM |
| Human | Human Preference, Likert Scale | Subjective assessment |
Metric Selection
- Task: For translation — BLEU, for summarization — ROUGE, for QA — Exact Match.
- Correlation with humans: Semantic metrics usually correlate better with human evaluations.
- Trade-offs: Metrics may conflict (e.g., precision vs. recall).