# Exact Match

- **Canonical URL:** https://getaimath.com/dictionary/exact-match/
- **Topics:** [AI Evaluation & Performance Metrics](https://getaimath.com/dictionary/category/ai-evaluation-and-performance-metrics/)
- **Last updated:** 2026-11-25

## What is Exact Match?

**In one sentence:** Exact match is a simple metric that counts an answer as correct only if it matches the expected answer exactly.

It is strict and clear, good for short answers like numbers or names. But "Paris, France" would fail if the expected answer is "Paris."

![Measuring AI Quality: The Smoke Detector Trade-Off — Simple cartoon comparing Precision and Recall using a kitchen smoke detector: Low Precision screams at burnt toast (False Alarms), Low Recall sleeps through a real fire (Missed Cases), and Good Evals test both on real-world examples.](https://getaimath.com/diagrams/ai-evaluation-and-performance-metrics.png)
*Napkin Diagram (AI Evaluation & Performance Metrics): Precision means "no false alarms when it speaks up"; Recall means "don’t miss the real problem when it happens."*

## What is an example of Exact Match?

Checking whether a model's answer to "What is 7 × 8?" is exactly "56."

## Why does Exact Match matter?

Exact match is easy to compute and leaves no room for doubt.

## Related Concepts

- [ROUGE](https://getaimath.com/dictionary/rouge/): ROUGE is a set of scores that measure how much a generated summary overlaps with reference summaries.
- [Pass@K](https://getaimath.com/dictionary/pass-k/): Pass@K measures the chance that at least one of K attempts by a model solves a problem correctly, often used for coding.
- [BLEU](https://getaimath.com/dictionary/bleu/): BLEU is a score that measures how closely a machine translation matches human reference translations, by counting shared word sequences.
- [MMLU](https://getaimath.com/dictionary/mmlu/): MMLU, or Massive Multitask Language Understanding, is a benchmark with about 16,000 multiple-choice questions across 57 subjects.
- [Perplexity](https://getaimath.com/dictionary/perplexity/): Perplexity measures how surprised a language model is by a piece of text; lower perplexity means the model predicted it better.
- [HumanEval](https://getaimath.com/dictionary/humaneval/): HumanEval is a coding benchmark of 164 programming problems where models must write Python functions that pass tests.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/exact-match/)
