Mean Average Precision (mAP and mAP50)

Mean Average Precision (mAP) is the standard accuracy score for object detection and instance segmentation: the area under the precision-recall curve of each class, averaged over classes and, in COCO-style mAP50-95, over IoU thresholds from 0.50 to 0.95. In Supervisely, every detection and instance segmentation model gets an evaluation report with mAP50-95, AP50 and AP75.

MetricsAlso called mAP50, mAP50-95, mAP@0.5:0.95, AP

From detections to one number

  1. Sort all detections of a class by confidence, highest first.
  2. Walk down the list. A detection is a true positive if it overlaps a still unmatched ground-truth object by at least the IoU threshold; otherwise it is a false positive. Each ground-truth object can be matched once.
  3. After every detection, record precision and recall so far. Together they trace the precision-recall curve.
  4. Average precision (AP) is the area under that curve, after precision is made non-increasing from right to left.
  5. mAP is the mean of AP over all classes.
AP = ∫₀¹ p(r) drmAP = (1 / N) · Σ APcmAP50-95 = (1 / 10) · Σ mAPt, t ∈ {0.50, 0.55, …, 0.95}
p(r) is precision as a function of recall, N the number of classes. The COCO evaluation samples the curve at 101 recall points; the Pascal VOC 2007 benchmark used 11.

mAP50 or mAP50-95?

mAP50 counts a box as correct once it overlaps the object by half, so it rewards finding objects. mAP50-95 repeats the evaluation at ten IoU thresholds and averages them, so a detector with loose boxes loses points it would keep under mAP50. COCO papers write the averaged score as "AP"; it is the same quantity, already averaged over classes.

What mAP does not tell you

  • It sweeps every confidence threshold, while a deployed model runs at one. Two models with equal mAP can behave differently at the threshold you ship.
  • A class average hides a rare class that fails completely if the frequent classes score well.
  • Numbers from different tools are not always comparable: interpolation, area ranges and maximum detections per image differ.

In Supervisely

Every detection and instance segmentation model trained on the platform gets an evaluation report with mAP over IoU thresholds from 0.50 to 0.95, AP50 and AP75, precision-recall curves, per-class metrics and the best confidence threshold. The object detection metrics page of the docs explains each chart.

Frequently asked questions.

What is mAP50-95?

mAP50-95 is mAP averaged over ten IoU thresholds, from 0.50 to 0.95 in steps of 0.05. It is the main COCO metric, often written simply as AP, and unlike mAP50 it rewards boxes that fit their objects tightly.

What is a good mAP value?

It depends on the dataset: mAP50-95 around 0.5 is strong on COCO, while a narrow industrial dataset can reach far higher. Compare models on the same validation set, and check per-class AP, since one failing class can hide behind a good average.

Is average precision the same as PR AUC?

Nearly: average precision summarizes the precision-recall curve as the area under it, but benchmarks compute it with interpolation at fixed recall points, so values differ slightly from a plain PR AUC.