mAP@50 vs mAP@50-95: Reading Detection Metrics for Localisation Quality

mAP50 vs mAP50-95: why a loose box passes at IoU 0.5, how to read the gap as a localisation signal, and which metric to report when tight boxes matter.

mAP@50 vs mAP@50-95: Reading Detection Metrics for Localisation Quality
Written by TechnoLynx Published on 11 Jul 2026

mAP50 counts a detection as correct once its box overlaps the ground truth at an intersection over union (IoU) of 0.5, and at that level a visibly loose box still passes. mAP50-95 runs the same average-precision calculation at ten IoU thresholds, from 0.50 to 0.95 in steps of 0.05, and averages the results, so it rewards boxes that fit tightly. The first is whether the detector found the object. The second also rewards how closely the box fits.

The COCO evaluation page calls the averaged figure its primary challenge metric. It describes the switch from a single IoU of 0.50 as “a break from tradition” and says that averaging over IoUs “rewards detectors with better localization”. The single-threshold version is still reported, under the name of the PASCAL VOC metric it came from.

Both Metrics Come from One Calculation, Run at Different Strictness

Both numbers rest on the same matching step. A prediction is a true positive when its class is right and its IoU with a not-yet-matched ground-truth box clears the threshold. Any other prediction is a false positive, and each ground-truth object left unmatched is a false negative. Sweeping the confidence threshold traces a precision-recall curve, and the area under that curve is the average precision (AP) for one class. Averaging AP over classes gives mAP, and COCO makes no distinction between the two terms.

What differs between mAP50 and mAP50-95 is the IoU bar inside the matching step: mAP50 sets it once at 0.5, while mAP50-95 averages APs over the range 0.50 to 0.95. In Ultralytics YOLO, metrics.box.map returns mAP50-95, metrics.box.map50 returns mAP50 and metrics.box.map75 returns mAP75. The averaged figure is the headline number in Ultralytics model tables. If the overlap measure itself needs a refresher, our explainer on what IoU (intersection over union) measures covers it, and the wider set of object detection metrics such as precision, recall, mAP and IoU has its own page.

What mAP@50 Tells You About Localisation Quality

On localisation, mAP50 ignores the quality of region overlaps beyond its 0.5 bar. The Ultralytics metrics guide describes it as accuracy “considering only the ‘easy’ detections”. In the Cascade R-CNN paper (Cai and Vasconcelos, CVPR 2018), 0.5 is called “a relatively low threshold”. The authors say it leads to low-quality detections that most humans would consider close false positives. The LocNet authors describe the COCO range as running from 0.5, a loosely localised object, to 1.0, a perfectly localised one.

A model can reach a high mAP50 while drawing boxes that are useless for anything that depends on where the edges fall.

Why Is My mAP50 High but mAP50-95 Low?

A model scores well on mAP50 and poorly on mAP50-95 when it finds the objects but places the boxes loosely. Ultralytics’ course material on reading detection metrics gives an example of mAP50 at 0.943 against mAP50-95 at 0.669. It reads that gap as “most objects are found, but many boxes are loose”, meaning localisation, not detection, is the weakness.

Worked Example: What the Stricter Thresholds Must Average

mAP50-95 is the mean of ten APs, one per IoU threshold. In the course’s example, a mean of 0.669 means the ten values sum to 6.69. The first of those ten values is the AP at 0.50, which is 0.943. That leaves 6.69 − 0.943 = 5.747 for the other nine, an average of about 0.639 across IoU 0.55 to 0.95. The headline 0.943 holds at only one of the ten thresholds.

In a federated learning study, the best model in the Federated setting reached [email protected] of 0.7137 and [email protected]:0.95 of 0.4695. In that case the nine stricter thresholds average (4.695 − 0.7137) / 9 ≈ 0.442.

The Pattern in Published Detectors

This split has been reported for well-known models. In the YOLOv3 paper, Redmon and Farhadi say the model is “quite good” on the old 0.5 IoU metric and close to RetinaNet there. They add that performance “drops significantly as the IOU threshold increases”, which shows it struggles to get boxes perfectly aligned. Another paper makes the same observation: YOLO reports better accuracy on AP at 0.5 but not on the mAP metric.

The gap also shows up when a change improves one metric and not the other. In one Mask R-CNN study, adaptations raised mAP50 from 93% to over 95%, but mAP50:95 came out slightly worse. With data augmentation added to the adaptations, mAP50:95 rose from 82-83% to 84.4%, and the authors credit augmentation mainly with “improving the precision of bounding boxes”. LocNet’s localisation model shows the same pattern from the other side: it added 5 points in COCO-style evaluation, 8 points at IoU ≥ 0.75 and only 1.4 points at IoU ≥ 0.5.

Training choices can contribute. Cai and Vasconcelos note that a detector trained at a low IoU threshold such as 0.5 “usually produces noisy detections”. They also note that a detector optimised at one IoU level is not necessarily optimal at others. Box geometry for rotated or diagonal parts is covered in our page on the detection head, where axis-aligned versus oriented box geometry is decided.

The Gap Is a Signal, Not a Measurement of Tightness

There is one caveat on reading the gap. The LRP paper argues that AP does not directly measure box localisation accuracy. Computing AP at several IoU thresholds “gives an idea about it” but does not quantify it. The TIDE authors found that localisation error responds most strongly as the threshold rises. They also found that false negatives start to matter more than false positives at high IoU, so the COCO average is “biased heavily toward localization errors and to a lesser extent false negatives”.

So part of a large gap is objects missed at strict thresholds, not only loose boxes. The COCO analysis of a ResNet detector shows how much rides on localisation. AP at IoU 0.75 was .399, and perfect localisation would have lifted it to .682, while removing all class confusion would have raised it only to .713.

Which Metric to Report When Tight Bounding Boxes Matter

The Ultralytics course lists quoting mAP50 alone as a reading mistake, because a model that “scores 0.94” can draw boxes too loose for measurement or cropping, and its fix is to report mAP50-95 and read the gap. The same course notes that loose boxes matter less for counting than for anything that measures position or size.

What the box is used for Report Why
Counting or presence checks mAP50, with mAP50-95 for reference Loose boxes matter less when only the count is used
Measuring size or position, cropping for a downstream model mAP50-95 plus the gap to mAP50 mAP50 alone hides boxes too loose for measurement
One strict checkpoint between the two mAP75 alongside mAP50-95 COCO labels AP at IoU 0.75 its “strict metric”
Existence matters more than exact location (e.g. tumour detection) mAP50 carries most of the weight Location can be corrected manually afterwards
Precise location drives an action (e.g. robotic grasping) mAP50-95, plus a direct check of box error Even slight localisation errors can be critical
Choosing between candidate detectors mAP50 and mAP50-95 side by side Rankings differed between the two metrics in the drone study

The last row deserves attention. In the drone study, the federated model beat the centralised one on [email protected] for several classes, while centralised training generally won on [email protected]:0.95.

For an inspection or perception release, we would treat the metric choice as a release-gate decision, the angle our page on mAP50-95 as a CV inspection metric develops. A mAP acceptance criterion written as “mAP50 ≥ X” lets through a model whose boxes are too loose for measurement. A gate on mAP50-95, with a bound on the gap, catches that regression before it reaches a measurement downstream. Our computer vision R&D work builds release gates like these into detection projects from the start.

The Class Average Hides the Weak Class

Any of these gates can still be passed by a model that fails one class. COCO’s headline AP is averaged over all categories, so one weak class is diluted by the others. In the drone study’s per-class table, in the same training configuration, Tank reached [email protected] of 0.8350 and [email protected]:0.95 of 0.5753. Vehicle reached 0.6718 and 0.4464. For release, we would put per-class mAP50-95 in the report and set the gate on the classes that drive the downstream decision. AP50 alone also cannot show which kind of error moved. The TIDE authors point out that a shift in localisation error after a change was “impossible to glean from the change in AP50 alone”.

Why Do mAP50-95 Scores Differ Between Training-Time Validation and a Separate Evaluation Run?

mAP50-95 depends on how every predicted box is matched against the ground truth. Treat the list below as the settings to compare, not as a statement of what any tool does by default.

  1. Confidence cut-off. AP is the area under a curve traced across all confidence thresholds, so record any cut-off an evaluation run applies.
  2. NMS IoU threshold. Non-maximum suppression decides which overlapping boxes survive.
  3. Image preprocessing. Record input size, letterboxing or padding, and rectangular batching.
  4. Dataset split and label version. A relabelled or re-split validation set changes the ground truth itself.
  5. Evaluator implementation. Record whether a framework’s built-in validator or a separate COCO-style evaluator produced each number.

Pin these settings, store them with the score, and compare scores only when the settings match. Otherwise the gap between two runs says more about the configuration than about the model.

How the Confidence Threshold Changes mAP50 and mAP50-95

mAP itself does not depend on a single confidence threshold, because it summarises the whole precision-recall curve. Lowering the confidence threshold adds boxes, so recall rises and precision falls, and AP is the area under the curve traced across those thresholds. The LRP paper describes the same mechanism: decreasing the score threshold moves the operating point along the curve towards higher recall.

Picking a deployment operating point is a separate decision. Each confidence threshold gives one detection set, a single point on that curve. F1 combines precision and recall into one number for that trade-off. LRP goes further: its “Optimal LRP” finds the best class-specific setting of the detector, and its localisation component reports how tight the boxes are at that setting, which AP does not do. In the LRP authors’ comparison, the localisation component put RetinaNet’s average box tightness at 0.839 in IoU terms. The ten COCO mAP values could only hint at that through a one-by-one inspection.

Report mAP50-95 as a summary of the model, and justify the shipped threshold separately with the precision, recall and box error measured at that threshold.

When the Box Edge Is the Measurement

A gap between mAP50 and mAP50-95 tells you boxes are loose. It does not directly measure how tight they are. If a downstream step measures a defect’s length or, in automotive AR perception, a pedestrian’s distance from the box edge, the release evidence should include that edge error measured directly on held-out data, with mAP50-95 as the summary on top. Running that model at the frame rate the line or vehicle needs is a separate question. LynxBenchAI benchmarks throughput, latency, memory and energy on candidate hardware with stock PyTorch.