Manuscript Offprint
arXiv:2610.19912Quantifying Annotation Agreement in Object Detection with Optimal Transport
Kirill Prokhorov and Alexandr A. Kalinin
Openface.io, Vilnius, Lithuania
Broad Institute of MIT and Harvard, Cambridge, MA, USA
Abstract. Reliable validation of machine learning models is a crucial step in designing robust and trustworthy systems. Yet validation relies on annotated test sets treated as ground truth, even though annotations can be noisy or ambiguous. In object detection, sources may disagree on object presence, box location, or class label. Standard agreement metrics usually binarize box overlap before computing a summary score, obscuring the degree and structure of disagreement between annotation sets. Here, we study an Optimal Transport (OT)-based metric for measuring agreement between object detection annotations. Instead of binarizing bounding box overlap, this metric assigns graded costs to matched and unmatched labeled boxes. Through theoretical analysis and experiments on real and synthetically perturbed annotations, we show that OT captures graded changes in agreement and distinguishes annotation pairs that thresholded metrics score identically. Our results suggest that OT provides a richer measure of annotation agreement in object detection, especially for domains with many small or ambiguous objects. Such agreement estimates can support more reliable validation when labels are noisy or conflicting.
Keywords: Object detection · Optimal transport · Annotator agreement · Model validation · Noisy labels
1 Introduction
Modern machine learning systems rely on annotated data for training and validation, typically treating a fixed test set as a gold standard. Yet a single noise-free ground truth may not exist: multiple plausible annotations can arise from task ambiguity, limited visual evidence, or differences in expert judgment. This is especially relevant in object detection, where annotators may disagree on object presence, spatial extent, or class labels [4, 14, 21]. Such disagreement contains information about the reliability of the reference data. A prediction that differs from one annotation may remain consistent with another plausible interpretation, so performance against a single reference can obscure annotation uncertainty. Measuring agreement is therefore important for assessing both dataset quality and the reliability of model validation.
K. Prokhorov et al.
Agreement in object detection is commonly assessed by matching boxes with an Intersection-over-Union (IoU) threshold and then computing a summary statistic such as F1 or Krippendorff's [9, 22]. This approach is simple and useful, but the thresholding step discards spatial information. After overlap is converted into a binary match decision, the resulting score may no longer reflect how close the boxes are, how severe the mismatch is, or how unmatched boxes are arranged. Thus, annotation pairs with different spatial structure can receive the same agreement score.
In this work, we study an Optimal Transport (OT)-based metric for measuring agreement between object detection annotations. The formulation builds on recent OT-based work for object detection evaluation [15], but shifts the focus from comparing model predictions with a reference to comparing annotation sets themselves. Each annotation is treated as a set of labeled bounding boxes, and agreement is computed through a transport problem whose cost combines localization, label consistency, and penalties for unmatched boxes.
Our main contributions are:
– We adapt an OT-based detection metric to quantify agreement between object detection annotations, jointly accounting for localization, class labels, and missing or extra boxes.
– We analyze its bounds and special cases, clarifying how object count, localization cost, and matching penalties affect the score.
– We evaluate OT on real and synthetically perturbed annotations from multiple domains, identifying cases where it captures distinctions collapsed by threshold-based agreement metrics.
Together, these results support OT-based agreement as a practical tool for assessing object detection annotations and for making model validation more sensitive to noisy or conflicting labels. The source code is publicly available at https://github.com/openface-io/ot-agreement.
2.1 Uncertainty and disagreement in object detection annotations
Annotation uncertainty has been addressed by modeling label noise or learning from repeated annotations [21, 25], using richer targets such as label distributions [7, 18, 27], representing localization uncertainty probabilistically [11], and aggregating annotations into a latent ground truth [10, 25, 26]. Other work characterizes model performance under contradictory labels [23]. Our goal is complementary: we measure pairwise agreement and discrepancy directly between object detection annotations, either to characterize annotation quality or as a component of multi-reference validation.
2.2 Agreement and evaluation metrics for object detection
Object detection commonly uses IoU-threshold matching followed by metrics such as precision, recall, F1, or mAP. Similar matching is used when adapting agreement statistics such as Krippendorff's to object detection [9, 22]. Although interpretable, hard thresholds discard information about the structure and severity of spatial disagreement.
Methods such as the discrepancy ratio [12] compare model predictions with multiple human annotations and therefore depend on an underlying pairwise agreement measure. A more expressive pairwise measure can improve how such methods characterize annotation variability and model performance relative to it.
2.3 Optimal transport for detection evaluation
Optimal Transport provides a natural framework for comparing structured sets by computing a minimum-cost assignment between elements. With dummy elements or related unbalanced formulations, it can also account for unmatched or poorly matched elements. More broadly, transport-style objectives have been used to compare distributions, align structured representations, and solve set-matching problems [3, 6, 20].
In object detection, Otani et al. [15] proposed an OT-based evaluation metric, Optimal Correction Cost (OC-cost), building on earlier work [6,16]. OC-cost compares detector predictions with ground-truth boxes and penalizes localization errors, label mismatches, false positives, and false negatives within a single transport problem. This produces a fine-grained measure of detection quality and addresses limitations of standard mAP-style evaluation.
Our work uses the same general OT perspective but changes the object of comparison. Rather than evaluating detector predictions against a fixed ground truth with confidence scores, we compare annotation sets directly. This shift removes the need to treat either annotation as error-free and allows OT to serve as a measure of annotation agreement or discrepancy. In this setting, the transport cost captures spatial proximity, label consistency, and missing or extra boxes, providing a graded alternative to thresholded agreement metrics.
3 Method
3.1 Optimal Transport score formulation
Our formulation follows Otani et al. [15], who use OT to compare detections with ground truth. In the multi-annotator setting, we compare only bounding boxes and class labels, without detector confidence scores.
Let and be two sets of and labeled bounding boxes. Let and denote their corresponding class labels. The pairwise OT cost is
where is a trade-off hyperparameter that balances localization and label costs. The localization cost is defined using Generalized IoU (GIoU) [19]:
K. Prokhorov et al.
The properties of GIoU are well suited to our task, as they yield meaningful distances even for non-overlapping boxes. The label cost is given by
We then construct the cost matrix:
where the last row and column correspond to dummy boxes with constant cost . A real box may match a dummy when no suitable real counterpart exists, representing a missing or extra object.
Within the OT framework, we formulate the task as mass transportation from one set to the other. We specify the source and target marginal distributions as weight vectors [17]:
where the last entry in each vector corresponds to the dummy box. Unit capacity is assigned to each real box and an aggregate capacity to the dummy boxes. Each real box carries unit mass; because the marginals are integral, the transport problem admits an integral optimal assignment.
The optimal transport plan is then obtained by solving the optimization problem:
After computing the optimal transport plan (e.g. using solvers implemented in [5]), we ignore dummy-to-dummy mass by setting . The final OT cost is then defined as
Let k denote the number of real-real matches. We can then write the normalization factor as
We constrain , matching the range of the pairwise cost in Eq. 1. Here is the cost of a real-dummy match. Because dummy matching provides a feasible fallback, the optimal normalized OT cost is at most . Thus the OT cost lies in , while the corresponding score lies in .
The raw OT score measures pairwise similarity but does not account for agreement expected by chance. We therefore additionally define a dataset-level, chance-corrected agreement coefficient using the form [2]:
where averages OT costs between annotations of the same image and is estimated from Monte Carlo-sampled cross-image pairs. Thus , 0, and < 0 denote perfect, chance-level, and below-chance agreement, respectively.
3.2 Special cases and theoretical boundaries
We next study how the OT score behaves under simplified settings that make the transport plan interpretable. For arbitrary annotations, the optimal plan depends on the number of boxes, labels, and hyperparameters and must generally be computed numerically. To obtain analytical insight, we consider special cases in which the matching structure is known or can be approximated. These cases clarify how the score depends on object count, spatial mismatch, and the dummy-matching penalty.
Case: dummy matching only for unequal box counts Consider two sets of unlabeled annotations and . If , real-real matches are no more costly than dummy matches. Thus dummy matches occur only when the annotations contain different numbers of boxes.
If all real boxes have to match, then and upper and lower bounds for OT score have the form:
The minimum possible value depends on the box-count mismatch and the maximum spatial mismatch ( ). The maximum is attained when matched
K. Prokhorov et al.
OT Score Bounds

Fig. 1: OT score bounds and corresponding range of values as a function of the ratio between the numbers of boxes in two annotations. When the numbers of boxes coincide, the range equals , while controls the maximum (minimum) values of the cost (score). All curves asymptotically converge as . The sensitivity of the optimal transport metric to spatial localization gives rise to the full range of possible values.
boxes are perfectly aligned ( ). If , all boxes may match to dummies in the worst case, and the lower bound becomes .
We can expand Eq. 9 for two cases:
It is convenient to plot Eq. 10 against so it becomes symmetric. Fig. 1 shows boundaries and range of possible values for two cases with different and . Note that when the difference in the number of boxes is small, the range of metric values is large and equal to when . When the number of boxes differs significantly, the range is small, because the metric is poor in any case regardless of box locations. As both upper and lower bounds approach and the range of possible values shrinks to zero.
Case: dependence on under the noisy-box assumption. Consider two sets of unlabeled boxes and . We analyze how affects whether boxes are matched to real boxes or to dummies.
Because this example includes only the spatial component of the OT cost, we set and assume for simplicity that corresponding boxes have the same dimensions . For each matched pair, assume that the box centers differ by noise:
In order to find GIoU for spatial cost term in Eq. 2, we have to define intersection , union and the area of the smallest enclosing box for two boxes . This gives the following expression for GIoU:
A real–real match is preferred to a dummy match when , while favors matching to the dummy. Therefore, the probability of a real–real match is
where is the joint PDF for the noise components and .
To evaluate this probability, we need the distribution of the cost c. Since only the noise distribution is assumed known, we instead integrate over the joint density . The remaining task is therefore to determine the boundary , which defines the integration domain in Eq. 13.
To derive this boundary from Eq. 12, we consider separately the cases and . The former corresponds to and , whereas the latter occurs when either or . Introducing the normalized displacements and , and using Eq. 2, the condition is equivalent to . For the case , this gives:
Similarly, for :
From Eq. 14 it is easy to find ; Eq. 15 can be rewritten as a quadratic equation and solved in order to obtain . These functions determine the integration limits for the three regions. Assuming independent noise components, Eq. 13 becomes
K. Prokhorov et al.
(16)
Detailed derivation can be found in the supplementary material. Given a PDF for the noise distribution, these integrals can be evaluated numerically.
Fig. 2a shows the theoretical CDF of the box-matching cost as a function of under Uniform and Half-Normal perturbations, together with empirical estimates on ACNE04 [27]. For visualization, we use the annotation set from [8], which contains substantially more objects than the original annotation. Each curve corresponds to a different noise level . As increases, a perturbed box is more likely to match a real box rather than the dummy box, because sets the penalty for unmatched boxes. Higher noise levels shift the curves toward larger : when boxes are strongly perturbed, real-real matches require a larger dummy penalty to remain preferable. The theoretical and empirical curves agree well for small perturbations, where each perturbed box remains close to its original counterpart. The discrepancy grows at higher noise levels. In this regime, a perturbed box may become closer to a different object than to the box from which it was generated, violating the noisy-box assumption used in the derivation. This deviation is informative: it indicates that the two annotations are no longer related by simple localization noise, but differ more substantially in spatial structure.
Fig. 2b shows the same effect from another perspective, plotting the probability of real-box matching as a function of noise level for fixed values of . Larger values allow boxes with higher spatial cost to remain matched to real boxes rather than to the dummy box, so the noisy-box approximation remains valid over a wider range of perturbations. For small , such as , boxes are sent to the dummy box even under modest shifts, and the assumed one-to-one noisy correspondence breaks down earlier.
4 Experiments
4.1 Datasets
– ACNE04. We use ACNE04 because two independent annotation sets are available for the same domain, enabling direct comparison of real annotator disagreement. The dataset contains 1 457 facial images. The annotation set from the original paper [27] provides local lesion counts and global acne severity scores together with 18 983 unlabeled bounding boxes. The second annotation set [8] covers 1 204 images after removing low-quality images and contains 32 443 unlabeled bounding boxes; experts were instructed to annotate more acne lesions.

(a)

(b)
Fig. 2: Probability of real–real matching under the noisy-box assumption. a) Dependence on for several noise levels . b) Dependence on for fixed . Theoretical and empirical results diverge at higher noise levels as matches break and the noisy-box assumption becomes less accurate.
– AcneSCU [13]. We include AcneSCU to study labeled annotations in the same application domain. It contains 276 facial images acquired with the VISIA complexion analysis system and 31 777 instance-segmentation annotations across 10 lesion categories.
– TexBiG [22]. We include TexBiG to evaluate the approach in a substantially different domain with multi-annotator data. This historical-document layout dataset contains more than 52 000 expert-annotated instances across 19 classes, with multiple annotators used for quality control.
– Perturbed datasets. We additionally construct perturbed versions of these datasets using box dropping, box shifting, and label swapping. The perturbation level is controlled by a single parameter , whose interpretation depends on the perturbation type. For box drop, denotes the fraction of boxes to remove in each image. For box shift, scales the displacement of the box center. We shift each box proportionally to its size; for example,
K. Prokhorov et al.
OT score, Acne04 dataset, two annotators

Ratio of number of boxes in two annotations,
OT score, TexBig dataset, two annotators
(a)
Ratio of number of boxes in two annotations,
(b)

(c)
(d)
Fig. 3: OT scores relative to their theoretical bounds. a) ACNE04 scores span much of the feasible range. b) OT scores for several TexBiG classes. c,d) Score distributions between the lower and upper bounds for ACNE04 and TexBiG, respectively. Because TexBiG objects are larger and easier to localize, their spatial costs are generally smaller and their scores lie closer to the upper bound.
under Uniform noise the x-coordinate is perturbed as
similarly, under Normal noise:
and analogously for the y-coordinate. In the theoretical calculation for Eq. 16, symmetry allows us to work with the nonnegative absolute displacements and . For label swap, specifies the fraction of boxes in an image whose labels are to be exchanged. Selected boxes are paired at random and their labels are swapped within each pair.
4.2 Results and Discussion
Fig. 3 shows example OT scores comparing two annotations for the ACNE04 dataset (Fig. 3a) and for the TexBiG dataset (Fig. 3b), along with the theoretical boundaries in Eq. 10. There are two key differences between these sets of annotations. First, acne objects generally have a smaller size relative to the image resolution than objects on paper (such as paragraphs or headings), meaning that changes in localization affect the cost metric much more strongly in the former case. Second, when an object is easy to annotate (e.g. a clearly visible paragraph in a document), it can naturally be surrounded by a rectangular box. From the figures one can clearly see that, while for ACNE04 we obtain a wide range of OT values, for TexBiG almost all objects lie close to the upper bound: localization error rarely becomes crucial. Based on these observations, we believe that the OT score can be applied to any dataset, but it is most useful and informative when there are many small or medium-sized boxes in specialized domains (e.g. acne-lesion detection), where objects can be easily missed or misclassified.
Fig. 4 shows the dependence of the metrics on the noise level . We use the method for computing annotator discrepancy/similarity from [12]. If the annotation set from annotator j on image i is and is the number of annotators for image i, then for a pairwise similarity measure , such as F1, Krippendorff's , or mIoU, annotator similarity is defined as
In this experiment, we test how each metric behaves as the perturbation level increases by comparing the original annotation with a perturbed one. Thus, in Eq. 19, which reduces to the mean pairwise similarity across images. For OT, we use the dataset-level chance-corrected coefficient from Eq. 8. Because these metrics are not all defined on the same chance-corrected scale, we compare their response to increasing perturbation rather than their absolute values.
Fig. 4c shows that IoU-threshold-based metrics exhibit a rapid drop as noise increases, particularly once box overlaps fall below the IoU threshold required for a true-positive match. In contrast, the curves with and 0.8 decrease more gradually, reflecting their sensitivity to spatial displacement and the absence of hard matching thresholds. The setting also exhibits a rapid decrease because the smaller dummy-matching penalty makes real-box matches less preferable even under modest perturbations. For comparison, we also report mean IoU (mIoU), which decreases more smoothly than threshold-based metrics but becomes insensitive once boxes no longer overlap and is not commonly used as an object-detection agreement metric.
Figures 4b and 4a illustrate the behavior of the metrics under box dropping (ACNE04) and label swapping (AcneSCU), respectively. In both cases, the curves are approximately linear. For the OT-based metric, this is because each unmatched box contributes a penalty of in the box drop setting, while in the label swap setting a discrete label cost contributes to the pairwise cost in Eq. 3;
K. Prokhorov et al.

(a)
(b)

(c)
Fig. 4: Annotator agreement between original and perturbed annotations. a) Agreement versus fraction of swapped labels on AcneSCU dataset. b) Agreement versus ratio of dropped boxes on ACNE04 dataset. c) Agreement versus shift noise level on ACNE04 dataset.
thus, the total cost scales approximately linearly with the number of such errors. An interesting extension would be to allow graded label distances or similarities rather than values restricted to , and to account for label imbalance, as suggested, for example, in [1]. We report several values of ; in practice, can be selected empirically or calibrated using approaches such as K LOS [24] (see supplementary material). We repeated all experiments across several random seeds; variability was small and is omitted for clarity.
We quantify how consistently each metric responds to increasing noise. Per-image Kendall's between increasing noise and decreasing agreement is 0.998 for OT and 0.993 for mIoU, compared with 0.790 for F1 and 0.790 for Krippendorff's .
We additionally examine ordering between adjacent noise levels at the dataset level. Let denote the dataset-level value for metric at noise level .
(expected ordering)

(tie)
(reverse ordering)
(a)
Zero-mIoU images by shift level

(b)
OT score conditional on mIoU = 0 (seed 42 example)

(c)
Fig. 5: Behavior of agreement metrics under increasing box-shift noise and beyond the regime. a) Ordering under increasing shift noise. b) Percentage of images with versus noise level. c) Distribution of OT scores for cases with .
For pairwise similarity measures, is the mean similarity in Eq. 19; for OT, it is from Eq. 8. For adjacent noise levels , define . We classify each comparison as expected ordering if , a tie if , and reverse ordering if , with . Fig. 5a shows that OT and mIoU preserve the expected ordering in most cases, whereas the threshold-based metrics exhibit many ties: ceiling saturation dominates at low noise and floor saturation at high noise. Reversals at the largest shifts can occur when perturbed boxes move closer to neighboring reference boxes and are rematched.
Both mIoU and OT provide graded responses to localization changes while boxes overlap. Once overlap vanishes, however, mIoU is identically zero regardless of further displacement, whereas OT can retain graded spatial information when . On ACNE04, Fig. 5b shows that the fraction of images with rises to about 19% at 200% shift. For these images, OT scores span approximately 0.20–0.47 for , as shown in Fig. 5c. Thus OT retains spatial resolution even after mIoU reaches zero.
These synthetic perturbations are controlled stress tests rather than models of human annotation noise. ACNE04 and TexBiG provide real annotation dis-
K. Prokhorov et al.
agreements, but we do not have independent expert ratings of disagreement severity; such validation remains future work. Moreover, and are task-dependent. Supplementary Fig. 3 illustrates their effect on spatial matching, while Supplementary Fig. 4 shows data-driven calibration of on TexBiG.
5 Conclusion
In this work, we adapted an Optimal Transport (OT)-based metric for quantifying annotator agreement in object detection. By formulating agreement as a transport problem between sets of bounding boxes, our approach naturally integrates spatial and label information and allows for flexible handling of missing or extra annotations.
We analyzed several theoretical properties of the OT-based metric, deriving bounds for cases in which the transport plan is known and characterizing the possible range of OT scores under specific parameter settings. We also studied the behavior of the metric as a function of under a noisy-box assumption. This analysis helps to understand how many real matches remain as or the noise level increases, how to select for a given task, and when deviations from the theoretical assumptions signal that annotations have become substantially different.
Through experiments on both real-world and synthetically perturbed datasets, we demonstrated that the OT-based metric is particularly sensitive to differences in annotations, especially with respect to the spatial positions of bounding boxes. In scenarios where traditional IoU threshold-based metrics (such as F1 or Krippendorff's ) fail to distinguish between qualitatively different annotation patterns, OT still reflects meaningful variation in annotator behavior.
Our findings lead to two main conclusions. First, model performance evaluation and annotator agreement assessment are closely related but not identical: what is treated as an “error” in model evaluation does not necessarily correspond to disagreement between annotators, and OT can help to disentangle these notions. Second, because the main sensitivity of the OT cost comes from spatial localization, we believe it is especially well suited to domains with many small or medium-sized boxes and non-trivial domain knowledge (e.g. medical imaging), where objects are easily missed or misclassified.
Overall, these results indicate that the OT metric provides a richer and more informative measure of annotator agreement and discrepancy, and can support more reliable model validation in the presence of noisy or conflicting labels.
References
-
Boriah, S., Chandola, V., Kumar, V.: Similarity measures for categorical data: A comparative evaluation. In: Proceedings of the 2008 SIAM international conference on data mining. pp. 243–254. SIAM (2008)
-
Braylan, A., Alonso, O., Lease, M.: Measuring annotator agreement generally across complex structured, multi-object, and free-text annotation tasks. In: Proceedings of the ACM Web Conference 2022. pp. 1720–1730 (2022)
-
De Plaen, H., De Plaen, P.F., Suykens, J.A., Proesmans, M., Tuytelaars, T., Van Gool, L.: Unbalanced optimal transport: A unified framework for object detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 3198–3207 (2023)
-
Feng, D., Wang, Z., Zhou, Y., Rosenbaum, L., Timm, F., Dietmayer, K., Tomizuka, M., Zhan, W.: Labels are not perfect: Inferring spatial uncertainty in object detection. IEEE Transactions on Intelligent Transportation Systems 23(8), 9981–9994 (2021)
-
Flamary, R., Courty, N., Gramfort, A., Alaya, M.Z., Boisbunon, A., Chambon, S., Chapel, L., Corenflos, A., Fatras, K., Fournier, N., et al.: Pot: Python optimal transport. Journal of Machine Learning Research 22(78), 1–8 (2021)
-
Ge, Z., Liu, S., Li, Z., Yoshie, O., Sun, J.: Ota: Optimal transport assignment for object detection. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 303–312 (2021)
-
Geng, X.: Label distribution learning. IEEE Transactions on Knowledge and Data Engineering 28(7), 1734–1748 (2016)
-
Huynh, T.H., et al.: Acneai: A new acne severity assessment method using digital images and deep learning. In: Medical Image Computing and Computer Assisted Intervention – MICCAI 2024, pp. 68–78. Springer (2024)
-
Krippendorff, K.: Computing Krippendorff's alpha-reliability. Departmental Papers (ASC) p. 43 (2011)
-
Lampert, T.A., Stumpf, A., Gançarski, P.: An empirical study into annotator agreement, ground truth estimation, and algorithm evaluation. IEEE Transactions on Image Processing 25(6), 2557–2572 (2016)
-
Llerena, J.M., Zeni, L.F., Kristen, L.N., Jung, C.: Gaussian bounding boxes and probabilistic intersection-over-union for object detection. arXiv preprint arXiv:2106.06072 (2021)
-
Lovchinsky, I., Daks, A., Malkin, I., Samangouei, P., Saeedi, A., Liu, Y., Sankaranarayanan, S., Gafner, T., Sternlieb, B., Maher, P., et al.: Discrepancy ratio: evaluating model performance when even experts disagree on the truth. In: International conference on learning representations (2019)
-
Min, S., et al.: Learning high-quality proposals for acne detection. arXiv preprint arXiv:2207.03674 (2022)
-
Murrugarra-Llerena, J., Kirsten, L.N., Jung, C.R.: Can we trust bounding box annotations for object detection? In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. pp. 4813–4822 (2022)
-
Otani, M., Satoh, S.: Optimal correction cost for object detection evaluation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 21107–21115 (2022)
-
Özdemir, B., Aksoy, S., Eckert, S., Pesaresi, M., Ehrlich, D.: Performance measures for object detection evaluation. Pattern Recognition Letters 31(10), 1128–1137 (2010)
-
Peyré, G., Cuturi, M.: Computational optimal transport: With applications to data science. Now Foundations and Trends (2019)
-
Prokhorov, K., Kalinin, A.A.: Improving acne image grading with label distribution smoothing. In: 2024 IEEE International Symposium on Biomedical Imaging (ISBI). pp. 1–5. IEEE (2024)
-
Rezatofighi, H., Tsoi, N., Gwak, J., Sadeghian, A., Reid, I., Savarese, S.: Generalized intersection over union: A metric and a loss for bounding box regression. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 658–666 (2019)
K. Prokhorov et al.
-
Sarlin, P.E., DeTone, D., Malisiewicz, T., Rabinovich, A.: Superglue: Learning feature matching with graph neural networks. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 4938–4947 (2020)
-
Tschirschwitz, D., Benz, C., Florek, M., Norderhus, H., Stein, B., Rodehorst, V.: Drawing the same bounding box twice? coping noisy annotations in object detection with repeated labels. In: DAGM German Conference on Pattern Recognition. pp. 605–623. Springer (2023)
-
Tschirschwitz, D., Klemstein, F., Stein, B., Rodehorst, V.: A dataset for analysing complex document layouts in the digital humanities and its evaluation with Krippendorff's alpha. In: DAGM German Conference on Pattern Recognition. pp. 354–374. Springer (2022)
-
Tschirschwitz, D., Rodehorst, V.: Label convergence: Defining an upper performance bound in object recognition through contradictory annotations. In: IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) (2025)
-
Tschirschwitz, D., Rodehorst, V.: KαLOS finds consensus: A meta-algorithm for evaluating inter-annotator agreement in complex vision tasks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2026)
-
Wang, C., et al.: Learn2agree: Fitting with multiple annotators without objective ground truth. arXiv preprint arXiv:2109.03596 (2021)
-
Warfield, S.K., Zou, K.H., Wells, W.M.: Simultaneous truth and performance level estimation (STAPLE): an algorithm for the validation of image segmentation. IEEE transactions on medical imaging 23(7), 903–921 (2004)
-
Wu, X., Wen, N., Liang, J., Yu, Y.J., Shen, L.L.: Joint acne image grading and counting via label distribution learning. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV). pp. 10652–10660 (2019)
Supplementary Material: Quantifying Annotation Agreement in Object Detection with Optimal Transport
Kirill Prokhorov and Alexandr A. Kalinin
Openface.io, Vilnius, Lithuania
Broad Institute of MIT and Harvard, Cambridge, MA, USA
1 On the evaluation of
To calculate the probability that the cost is less than , we evaluate
where is the PDF of the cost and is the joint PDF of the absolute noise components.
To characterize the integration domain , we use the expression for GIoU in the cases where the two boxes do and do not intersect. This leads to a decomposition of the integral in Eq. 1 into three regions (Fig. 1): , , where , and two regions with , namely , and , . For we have:
which gives
The same can be done for the case :
For , Eq. 4 can be rewritten as a quadratic equation in ,
where
K. Prokhorov et al.

Fig. 1: Integration regions used in the calculation in Eq. 1.
We denote the relevant (larger) real root by . When defining the integration limit below, we clip this root to the feasible interval .
We can now define the integration limits in each region. For , , we set ; for , , we set ; and for , , we set .
Substituting these region-specific limits into Eq. 1 decomposes the integration domain into the three regions described above:
(9)
If the noise components are independent, the joint distribution factorizes as
so the inner integrals can be expressed using the CDF :
(11)
2 Examples of spatial properties of the OT score
Fig. 2 shows two annotation pairs with the same threshold-based scores but different spatial structure. In Fig. 2a, the annotations differ by a moderate spatial
OT score=0.76 ( , ) | F1=0.166, ( ) | mIoU=0.44

(a)
OT score=0.44 ( , ) | F1=0.166, ( ) | mIoU=0.06

(b)
Fig. 2: a) Two annotations with a moderate spatial shift. b) One annotation is deliberately shifted so that only one pair of boxes overlaps. F1 and Krippendorff's assign the same scores to both examples, whereas OT distinguishes their spatial disagreement. mIoU remains sensitive only while boxes overlap.
shift: the objects are localized approximately correctly, although the boxes are not perfectly aligned. In Fig. 2b, one annotation has been deliberately shifted so that only one pair of boxes overlaps, while the remaining boxes are far from their corresponding objects.
F1 and Krippendorff's assign the same values to both cases, because after thresholded matching there is one true positive and the remaining boxes are treated as unmatched errors. This is appropriate for counting detection errors, but it loses information that matters for annotation agreement. The first pair reflects approximate agreement with localization noise, whereas the second reflects a stronger spatial disagreement. The OT score distinguishes these cases because unmatched and poorly matched boxes still contribute through their spatial costs. Mean IoU also reflects part of this difference, but only while corresponding boxes overlap; once overlap is zero, it cannot distinguish larger spatial displacements. Thus, OT provides a graded comparison of bounding-box annotations beyond the binary matched/unmatched decisions used by thresholded metrics.
In the label-free case, real matching is preferred when , so controls the real-to-dummy decision. Fig. 3 compares the OT possible match region of a moving probe box with the region where mIoU > 0. For , the OT region lies inside the overlap region or even reference boxes; for , it extends beyond overlap and distinguishes cases with mIoU = 0. If , all real edges are eligible, producing real matches.
K. Prokhorov et al.

Fig. 3: Spatial regions in which a translated probe box is eligible for real–real matching under different , compared with the region where mIoU > 0.

Fig. 4: TexBiG observed versus expected distances.
3 Data-driven estimation of using K LOS
We apply the KαLOS data-driven calibration principle [1] to real TexBiG annotations. Using all six annotators and 2,250 images with at least two non-empty annotation sets, same-image and cross-image box-level spatial distances yield , providing a data-derived candidate for (Fig. 4). The distributions are well separated (mean vs. ), supporting calibration from real multi-annotator data. Synthetic perturbations serve as controlled stress tests rather than models of human annotation noise; expert severity judgments would provide complementary validation.
4 Additional information about datasets
Fig. 5 shows the empirical CDF of bounding-box area relative to image size, highlighting differences in object size across the datasets used in this paper. For Acne04 and AcneSCU, objects are relatively small: the vast majority of boxes occupy less than 1% of the image area. In contrast, TexBiG (and in particular the three classes considered in our experiments) contains substantially larger boxes. Although many small boxes are also present, the median relative area is approximately 7%, and there is a substantial number of objects that cover 30% or more of the image. These differences in object size across datasets help illustrate how the proposed approach behaves in distinct, realistic scenarios.
Fig. 6 presents several example images from the datasets. ACNE04 is an unlabeled dataset for which we used two different annotation sets from two papers. AcneSCU includes 10 lesion categories: open comedone, closed comedone, papule, pustule, nodule, atrophic scar, hypertrophic scar, melasma, nevus, and other. TexBiG contains 19 document layout classes: paragraph, decoration, page number, column title, image, header, noise, caption, heading, editorial note, frame, footer, sub-heading, equation, author, footnote, table, logo, and advertisement. The three classes used in the main experiments (paragraph, image, and caption) were chosen because of their relatively large object sizes, serving as a counterpart to the small objects in the acne datasets. For each TexBiG class, we selected two annotators with the largest number of annotated objects to better visualize annotator differences.

Fig. 5: Empirical CDF of bounding-box area relative to image area across the datasets and classes used in the experiments.
K. Prokhorov et al.

(a)
(b)
(c)
(d)
Centralblatt der Bauverwaltung

(e)

(f)
Fig. 6: Example images from the datasets. a,b) ACNE04 with two annotation sets. c,d) AcneSCU; colors denote lesion classes. e,f) TexBiG.
References
- Tschirschwitz, D., Rodehorst, V.: KαLOS finds consensus: A meta-algorithm for evaluating inter-annotator agreement in complex vision tasks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2026)