Quality metrics only help if they match the task. A single “accuracy” number hides the errors that matter most. This guide explains which measures to use for classification, geometry, video and text work, how to sample, and how to report results so your team can trust them.
Start with what an error costs
Before choosing a metric, list the errors that would actually hurt your model: a missed pedestrian, a heading flipped by 180 degrees, an action boundary off by half a second, a preference judgment that rewards a confident but wrong answer. Rank them by severity. Metrics should make the expensive errors visible rather than averaging them away.
Classification and attributes
- Agreement with reference labels: the share of items whose class matches an approved gold set.
- Per-class precision and recall: report rare classes separately, because a dominant class can make overall agreement look excellent while rare ones are poor.
- Confusion pairs: list the class pairs most often mixed up. These usually point straight at a guideline that needs an example.
Geometry: boxes, polygons, masks and cuboids
- Intersection over union (IoU): the overlap between submitted and reference shapes. Agree the pass threshold per class, since small objects rarely reach the same IoU as large ones.
- Boundary tolerance: for masks and polygons, measure how far edges sit from the reference, in pixels.
- Missed and extra objects: count them separately from shape quality. A perfect box on the wrong object is still an error.
- 3D specifics: for cuboids, add heading error and dimension consistency along a track.
Video and temporal work
- Boundary deviation: how many frames an action start or end sits from the reference, against an agreed tolerance.
- ID switches: how often a tracked object changes identity.
- Coverage: frames or segments left unlabeled that should have been labeled.
Text, preference and agent work
- Inter-rater agreement: how often two raters reach the same judgment on a shared calibration set.
- Rubric adherence: spot checks that scores follow the written criteria, not personal taste.
- Outcome accuracy: for agent trajectories, whether “task completed” decisions match the true end state.
Sampling: how much to review
Reviewing everything is rarely affordable. Review more at the start of a project, after guideline changes and for new annotators, then reduce sampling once quality is stable. Always state the sample size: “98% on a 200-item sample” means something different from “98% on 20 items”.
Reporting results honestly
- State the sample, the denominator and how items were chosen.
- Report severity, not only counts: critical, major and minor.
- Separate annotator errors from guideline gaps. A guideline gap needs a rule change, not retraining.
- Never present a sampled score as whole-dataset accuracy.
Agree acceptance criteria before you scale
The pilot is the time to agree what “good enough” means: which metrics, which thresholds and what happens when a batch falls short (rework, re-review or a guideline update). Written criteria prevent disputes later and make quality reports comparable over time. See how we check quality and our guide to scoping an annotation pilot.
Frequently asked questions
What is a good IoU threshold?
It depends on the class and object size. Many teams use 0.5–0.7 for boxes and stricter thresholds for large, well-defined objects. Agree it in the pilot.
How large should a QC sample be?
Large enough to include rare classes and hard cases. Review more at the start and after guideline changes, then reduce once quality is stable.
Is inter-annotator agreement the same as accuracy?
No. Two annotators can agree and both be wrong. Use agreement alongside comparison with approved reference labels.