Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

One Metric to Measure them All: Localisation Recall Precision (LRP) for Evaluating Visual Detection Tasks

A single error metric scores localisation, false positives and false negatives together

  • Problem Average Precision ignores localisation quality once a box passes the IoU threshold, so better boxes leave it unchanged. It also merges precision and recall into one area, hiding which error dominates.
  • Method LRP Error charges each true positive for its poor localisation and each false positive or false negative a full unit. It sums these into one average matching error per confidence threshold.
  • Results On real panoptic results, bicycle scores higher than orange on PQ, 40.6% against 34.1%, yet has a higher LRP Error, 82.4% against 81.5%.

Figure 3: An illustration that shows how a transition from a FP to TP is handled differently by PQ and LRP Error. (a) An
example image from COCO [1]. (b) Segme…

Fig. 3 : An illustration that shows how a transition from a FP to TP is handled differently by PQ and LRP Error. (a) An example image from COCO [1]. (b) Segmentation masks for the ground truth with different IoU. The ground truth is split into 10 approximately equal slices. Orange line is the threshold where the detection is still a FP , hence a single pixel added makes the detection a TP . (c) How PQ and LRP Error changes for differentIoU. While LRP Error is zeroth-order continuous, PQ is a discontinuous function and allows large jumps.

Original paper · CC BY 4.0 · Kemal Oksuz, Baris Can Cam, Sinan Kalkan, Emre Akbas · One Metric to Measure them All: Localisation Recall Precision (LRP) for Evaluating Visual Detection Tasks · Original paper figure · Extracted the figure area from page 7 of the original PDF.

Where AP stops separating detectors

AP is built from precision-recall pairs that appear as the confidence threshold moves. A detection counts as a true positive once its IoU passes a fixed criterion, usually larger than 0.50. Each GT matches only one detection, and the highest-confidence detection wins that match. Every box above the matching line is treated equally, whatever its actual localisation quality.

Increasing the IoU of a TP detection therefore doesn't change AP. That is why the three detectors in Fig. 1 have very different PR curves yet the same AP of 0.50.

AP also hides which error dominates, because precision and recall are merged into one area under the curve. Hard predictions such as panoptic segmentation have no confidence scores, so AP becomes a single step point. At that point AP equals Precision × Recall, which ignores the ranking AP is designed to measure. Thresholds are unclear as well, since any thresholding decreases the area and AP rises as the score threshold approaches 0.

Design choices add noise: interpolating the PR curve and approximating the area with 101 recall points both shift the value. On LVIS, a long-tailed dataset, the median is only 9 instances per class in the COCO 2017 val subset.

One average over all detections

LRP Error charges each true positive for how far its localisation falls short, and charges each false positive or false negative a full unit. This turns matching into a single average error rather than an area under a PR curve. Because all three quantities enter the same sum, a detector can't hide a weak localisation behind good counts.

The authors define LRP over the matched detections, with Z as the normalisation constant equal to NTP + NFP + NFN. Each true positive term is 1 minus its localisation quality, divided by 1 minus tau, so that it stays between 0 and 1. Each false positive or false negative adds exactly 1 to the total matching error.

The same total can be rewritten as a weighted combination of three parts: the average localisation quality of true positives, precision error and recall error. The paper calls these LRP Loc, LRP FP and LRP FN. Because the parts stay separate, a reader can tell whether a detector mostly misses objects or mostly produces false alarms.

The same definition gives the same total for PQ, which is why LRP Error is an upper bound for precision, recall and PQ errors. The authors use the constant Z so that the maximum total matches the number of matched items, keeping the measure consistent.

Choosing a threshold with oLRP Error

LRP Error depends on the confidence score threshold s, so it can be computed at each candidate threshold. oLRP Error is the minimum LRP Error obtained over the confidence scores, and the threshold where that minimum occurs is the LRP-Optimal Threshold. Taking this minimum separately for each class gives every class its own cutoff, which the authors call class-specific thresholding.

The search is exact, so no interpolation or area approximation of the PR curve enters the value. Because AP has no optimal threshold, detectors often keep far more detections than they need when deployed.

Thresholds matter because detectors can change sharply around the optimal s, as ATSS does above 0.50 in their experiments. The authors use the LRP-Optimal thresholds to select class-specific cutoffs for a video object detector. For hard predictions, LRP Error applies directly because it does not need confidence scores. The authors also show that LRP Error is a metric when 1 minus the localisation quality is a metric.

Where PQ and LRP Error part ways

PQ multiplies Segmentation Quality, the average IoU of true positives, by Recognition Quality, which is built on the F-measure. Written in LRP terms, 1 minus PQ keeps the same total matching error but divides it by 2N_TP + N_FP + N_FN instead of Z. The two measures therefore differ mainly in how the denominator grows with true positives. Because PQ doubles N_TP in the normalisation constant, the denominator rises faster than the matching error when detections are mostly true positives.

RQ can't isolate precision from recall errors, because it is a single F-measure that merges both error types. Table 1 shows this with two scenarios where PQ gives 0.67 for both SQ and RQ. In scenario (a) LRP Error reports FP 0.50 and FN 0.00, while in scenario (b) it reports FP 0.00 and FN 0.50. PQ also overpromotes classification relative to localisation in an inconsistent way.

A small shift of a true positive can cause a large jump in PQ, which shrinks the effect of localisation quality.

On the real panoptic results, bicycle has 40.6% PQ and orange 34.1%, so PQ ranks bicycle higher by 6.5%. Yet their LRP Errors are 82.4% and 81.5%, so LRP Error ranks orange higher by 0.9%. Bicycle's RQ is 55.9% against 38.4% for orange, which is where PQ's lead comes from. Its SQ is 72.7% against 88.9% for orange, so bicycle's boxes are poorer.

PQ therefore rewards the class with better classification and gives localisation a lower priority.

Do the FP and FN components expose recall gaps

The oLRP components separate recall errors from precision errors for ATSS, which AP and AR don't do. On COCO 2017 val, ATSS with R50 for 12 epochs reaches an oLRP of 68.6, with an oLRP FP component of 30.3 and an oLRP FN component of 46.6. The paper reads the 16.5% gap between oLRPFN and oLRPFP for ATSS as a sign that recall errors dominate.

For ATSS, AP50 and AR100 can't show that split, because both measures are indirect about precision and recall. The authors argue that AP- and AR-based measures favour recall performance over precision performance, with ARC100 above AP50.

Panoptic FPN with R50 for 12 epochs reaches 39.4 PQ and 77.5 LRP Error on all classes of COCO with COCO-stuff. Its LRP FN component of 57.2 is larger than its LRP FP component of 39.3. Every Panoptic FPN variant in Table 6 shows the same pattern, with LRPFN above LRPFP. The gap between LRPFN and LRPFP is around 10% for stuff classes and around 20% for things classes.

PQ's RQ can't show this pattern, since RQ is a single F-measure that merges precision and recall errors.

Holding up across datasets and tasks

Pascal shows how the evaluation API alone can move AP50 for one model. RetinaNet with R50 scored 77.3 AP50 under the Pascal API and 80.0 under the COCO API. Its oLRP Error stayed at 56.8 under both APIs, because the paper computes oLRP exactly. The COCO API approximates the area under the PR curve, while the Pascal API computes it exactly.

Faster R-CNN with R50 showed the same pattern, moving from 79.5 to 82.3 AP50 with oLRP Error fixed at 56.7.

Interpolating the PR curve affects rare classes far more than frequent ones. For the toaster class, which has 17 examples, the average APC change is 2.2%. For the person class, which has 21554 examples, the change stays under 0.1% APC. The aLRP Loss jumps by 6.2% after interpolation, which the paper treats as a superficial gain. oLRP Error doesn't use interpolation, so it avoids this sensitivity.

On LVIS with Mask R-CNN, a stronger backbone raises APC from 21.7 for R50 to 25.5 for X101. Over the same backbones, oLRP Error falls from 80.7 to 77.5, so both measures agree on the ranking. Fixed AP, which limits detections per class, is the variant Dave et al. proposed for long-tailed data. oLRP Error saturates to 78.1% around 8K detections per class, while AP does not saturate even with 20K.

At 3K detections per class, oLRP Error yields 78.4%, close to its saturated value, while AP shows a gap of 24.5% versus 25.8%.

On Open Images, two Faster R-CNN models use different numbers of RPN proposals. The default model uses 200 top-scoring proposals, while the other one uses 30 for efficiency. AP50 separates these models by 6.6%, but oLRP Error separates them by only 0.7%. Cutting proposals to 30 raises the FN component while lowering the FP and localisation components.

On scale partitions, RFP improves all scales over FPN and DC5 in both AP and oLRP Error.

Why fixed thresholds fall short

A single global score cutoff can hurt model selection, because the paper finds detector behaviour around the threshold changes sharply. For ATSS, a threshold larger than 0.50 has a significant impact on performance. The authors note that ATSS, FCOS and aLRP Loss improve and degrade rapidly around their optimal thresholds s*. Thus, the authors argue that model selection is important for the practical use of visual detectors.

For a given detector, the variance of LRP-Optimal thresholds over classes can be large, especially for RetinaNet in Fig. 11(a). A general, fixed threshold for all classes can't give optimal performance for every class. Around 70% of such rare classes have an LRP-Optimal threshold of 0 in Fig. 11(b). Unseen classes in zero-shot detection and generalised zero-shot detection also need their own thresholds, as shown in Fig.

11(c).

The authors conclude that class-specific thresholding is required for optimal performance of visual object detectors. In Appendix G, a video object detector first collects thresholded detections from a conventional object detector, then associates detections between frames. With class-specific LRP-Optimal thresholds, performance improves by up to around 9 points AP50 and 4 points oLRP Error over class-independent thresholding.

Limits of the current study

The paper restricts its scope to deterministic detectors, so probabilistic detection with PDQ isn't analysed here. The authors instead give guidance on extending LRP Error to other visual detection tasks in Section 5.4. They don't demonstrate any theoretical or practical benefits from LRP Error being a metric. LRP Error is a metric only if 1 minus the localisation quality is a metric, which the authors prove in Appendix C.

The authors suggest that LRP Error can easily be adapted to 3D object detection and rotated object detection. Those two tasks aren't among the seven visual detection tasks that the experiments cover. Extending LRP Error to other fields requires a similarity function, and the authors leave such fields untested.

The models weren't retrained, and they come from commonly used repositories such as mmdetection and detectron2. The comparison covers about 100 models, so results for other training regimes remain open. For the panoptic segmentation comparison, the paper evaluates LRP Error only against PQ on hard predictions. Soft-prediction tasks are compared against AP variants, while AP50 and AP75 serve only as proxies for classification and localisation.

Paper info

Authors
Kemal Oksuz, Baris Can Cam, Sinan Kalkan, Emre Akbas
Venue
arXiv · Preprint
First published
2020-11-21
Added
2026-11-6
Updated
2021-11-21
Version
v3
arXiv
2011.10772
Category
cs.CV
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

Despite being widely used as a performance measure for visual detection tasks, Average Precision (AP) is limited in (i) reflecting localisation quality, (ii) interpretability and (iii) robustness to the design choices regarding its computation, and its applicability to outputs without confidence scores. Panoptic Quality (PQ), a measure proposed for evaluating panoptic segmentation (Kirillov et al., 2019), does not suffer from these limitations but is limited to panoptic segmentation. In this paper, we propose Localisation Recall Precision (LRP) Error as the average matching error of a visual detector computed based on both its localisation and classification qualities for a given confidence score threshold. LRP Error, initially proposed only for object detection by Oksuz et al. (2018), does not suffer from the aforementioned limitations and is applicable to all visual detection tasks. We also introduce Optimal LRP (oLRP) Error as the minimum LRP Error obtained over confidence scores to evaluate visual detectors and obtain optimal thresholds for deployment. We provide a detailed comparative analysis of LRP Error with AP and PQ, and use nearly 100 state-of-the-art visual detectors from seven visual detection tasks (i.e. object detection, keypoint detection, instance segmentation, panoptic segmentation, visual relationship detection, zero-shot detection and generalised zero-shot detection) using ten datasets to empirically show that LRP Error provides richer and more discriminative information than its counterparts. Code available at: https://github.com/kemaloksuz/LRP-Error

Figures from the paper

Quote from the paper

Kemal Oksuz, Baris Can Cam, Sinan Kalkan, Emre Akbas (2020). One Metric to Measure them All: Localisation Recall Precision (LRP) for Evaluating Visual Detection Tasks. arXiv:2011.10772v3. https://arxiv.org/abs/2011.10772v3

BibTeX
@misc{oksuz2020metric,
  title = {{One Metric to Measure them All: Localisation Recall Precision (LRP) for Evaluating Visual Detection Tasks}},
  author = {Kemal Oksuz and Baris Can Cam and Sinan Kalkan and Emre Akbas},
  year = {2020},
  eprint = {2011.10772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.10772v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up