Mean average precision, usually written mAP, turns the quality of a ranked list of results into a single number, then averages that number over many lists. It is the standard headline score in two places: object detection and search. (Not to be confused with MAP, maximum a posteriori, a different idea that shares the acronym.)
The building block is average precision. Rank a model’s results from most to least confident and walk down the list; each time you reach a correct result, note the precision so far. Averaging those values gives AP, which is high only if the correct results sit near the top. AP summarizes one precision-recall curve. mAP is the mean of AP over every class, or every query.
In search
In information retrieval, each query gets its own AP and mAP averages them. Manning, Raghavan and Schütze note that MAP became the most standard measure in the TREC evaluation community, valued for discriminating well between systems and staying stable.
In object detection
For object detection, a prediction only counts as correct if its box overlaps a real object enough, measured by IoU. The PASCAL VOC challenge required overlap above 50% and scored each class by AP. COCO made the test stricter: its primary metric averages AP over ten IoU thresholds, from 0.50 to 0.95, and over all 80 categories, which rewards boxes that fit tightly rather than roughly. COCO simply calls this AP and notes that it makes no distinction from mAP.
Reading a number
Because detection benchmarks compute mAP differently, a score is meaningless without its protocol. “[email protected]” (the VOC-style number) runs higher than COCO-style AP for the same model, so compare only numbers produced the same way.