Back to AI Glossary
AI Benchmarks & Evaluation

What is Intersection over Union (IoU)?

Intersection over Union measures overlap between predicted and ground-truth bounding boxes or segmentation masks as ratio of intersection to union. IoU is standard metric for object detection and segmentation accuracy.

This AI benchmarks and evaluation term is currently being developed. Detailed content covering benchmark methodologies, interpretation guidelines, limitations, and best practices will be added soon. For immediate guidance on AI evaluation strategies, contact Pertama Partners for advisory services.

Why It Matters for Business

IoU metrics determine whether object detection models meet the spatial accuracy requirements for production deployment in quality inspection, inventory counting, and safety monitoring applications. Models scoring 0.5 IoU may appear adequate on dashboards but produce bounding boxes missing 50% of the actual object area, causing downstream process failures. For mid-market companies deploying computer vision in manufacturing or retail, establishing correct IoU thresholds prevents the costly iteration cycles where models pass evaluation but fail real-world operational requirements.

Key Considerations
  • Intersection area divided by union area.
  • Range 0-1 (1 = perfect overlap).
  • Typical threshold: 0.5 for object detection.
  • Stricter thresholds (0.7, 0.9) for precise tasks.
  • Standard for detection and segmentation.
  • Basis for mAP (mean average precision) in vision.
  • Set IoU thresholds appropriate to your application: 0.5 for general object detection, 0.75 for precision-critical tasks like medical imaging, and 0.3 for coarse localization.
  • Calculate IoU across object size categories separately since small objects consistently score lower; averaging across sizes masks detection failures on critical small-target categories.
  • Use generalized IoU (GIoU) or distance IoU (DIoU) variants when evaluating non-overlapping predictions, since standard IoU returns zero for all non-overlapping cases regardless of proximity.
  • Benchmark IoU performance at multiple thresholds simultaneously using mean average precision (mAP) to understand model capability across the full precision-recall spectrum.

Common Questions

How do we choose the right benchmarks for our use case?

Select benchmarks matching your task type (reasoning, coding, general knowledge) and domain. Combine standardized benchmarks with custom evaluations on your specific data and requirements. No single benchmark captures all capabilities.

Can we trust published benchmark scores?

Use benchmarks as directional signals, not absolute truth. Consider data contamination, benchmark gaming, and relevance to your use case. Always validate with your own evaluation on representative tasks.

More Questions

Automatic metrics (BLEU, accuracy) scale easily but miss nuance. Human evaluation captures quality but is slow and expensive. Best practice combines both: automatic for iteration, human for final validation.

References

  1. NIST Artificial Intelligence Risk Management Framework (AI RMF 1.0). National Institute of Standards and Technology (NIST) (2023). View source
  2. Stanford HAI AI Index Report 2025. Stanford Institute for Human-Centered AI (2025). View source

Need help implementing Intersection over Union (IoU)?

Pertama Partners helps businesses across Southeast Asia adopt AI strategically. Let's discuss how intersection over union (iou) fits into your AI roadmap.