The Treasure Beneath Multiple Annotations: An Uncertainty-Aware Edge Detector

Caixia Zhou, Yaping Huang, Mengyang Pu, Qingji Guan, Li Huang, Haibin Ling

Abstract

Traditional edge detection methods often struggle with the inherent subjectivity of human annotations, typically relying on majority voting to consolidate multiple labels into a single ground truth. This process discards valuable information regarding annotator disagreement. We present the Uncertainty-aware Edge Detector (UAED), a framework that treats edge annotations as a learnable Gaussian distribution. By explicitly modeling the variance between annotators as uncertainty, UAED identifies complex regions and employs a novel progressive weighting loss to prioritize learning from these "hard samples." Our approach demonstrates that human disagreement is a rich signal rather than noise, allowing a more efficient CNN-based architecture to outperform heavy Transformer-based models on major benchmarks.

1. Introduction

Edge detection is a foundational task in computer vision, yet it is plagued by the "human problem": subjectivity. When multiple annotators are tasked with identifying edges in the same image, they rarely reach a perfect consensus. Subtle texture changes, lighting variations, and semantic ambiguity lead to varying interpretations.

Conventionally, researchers handle this by averaging annotations into a single probability map. However, this "majority voting" approach treats a pixel where all annotators are moderately unsure the same as a pixel where half are certain and half are not. This paper argues that the inherent ambiguity and labeling bias of annotators are actually valuable signals. By capturing the "treasure" hidden in these disagreements, we can better guide models toward understanding difficult structural boundaries.

2. Methods

2.1 Dual-Decoder Architecture

UAED shifts from predicting a deterministic edge map to predicting a label distribution. Using an encoder-decoder backbone—specifically EfficientNet combined with a UNet++ structure—the model branches into two distinct heads:

  1. Mean Head ($\hat{\mu}$): Predicts the primary edge map.
  2. Variance Head ($\hat{\sigma}^2$): Predicts the uncertainty associated with each pixel.

2.2 Uncertainty Supervision

Unlike many uncertainty-aware models where variance is learned in an unsupervised or self-supervised manner, UAED leverages the multiple human annotations available in datasets like BSDS500. The predicted variance is directly supervised using the actual variance calculated from the set of human labels, forcing the model to learn the specific patterns of human disagreement.

2.3 Progressive Uncertainty-Driven Loss

In many vision tasks, high-uncertainty pixels are treated as unreliable and are down-weighted. UAED adopts the opposite philosophy. Recognizing that high uncertainty in edge detection usually correlates with critical structural boundaries, the model employs a weighting loss ($\mathcal{L}_{uedge}$).

This loss uses an exponential function of the predicted uncertainty to force the network to concentrate on difficult pixels. To ensure stability, this weighting is progressive: the intensity of the focus on high-uncertainty regions increases over the course of training. This prevents the model from being overwhelmed by complex "hard" pixels during the initial stages of learning.

3. Experimental Setup

3.1 Datasets

The model was evaluated on benchmarks providing multiple annotations per image:

  • BSDS500: 500 natural images with 4–9 human annotations each.
  • Multicue: 100 scenes with annotations for both "edges" (6 annotators) and "boundaries" (5 annotators).
  • PASCAL VOC Context: Utilized as a large-scale training set to enhance generalization.

3.2 Metrics

Performance was measured using the Optimal Dataset Scale (ODS) score and frames per second (FPS) to evaluate the trade-off between accuracy and efficiency.

4. Key Results and Discussion

4.1 State-of-the-Art Performance

UAED achieved an ODS score of 0.829 on the BSDS500 dataset in single-scale testing, surpassing the previous state-of-the-art (SOTA) model, EDTER, which scored 0.824. On the Multicue dataset, UAED set new records for both edges (ODS 0.895) and boundaries (ODS 0.864).

4.2 Efficiency and Speed

Despite its superior accuracy, UAED is significantly more efficient than its Transformer-based competitors. It runs at 17 FPS on a single RTX 3090, compared to the 5 FPS achieved by EDTER. This suggests that being "smarter" about label handling can be more effective than simply increasing model depth or complexity.

4.3 Qualitative Analysis

Visual results indicate that UAED produces cleaner, more detailed edge maps. In cluttered backgrounds where traditional methods often produce blurry or disconnected edges, UAED maintains structural integrity by successfully mining the information contained in annotator disagreement.

5. Conclusion and Future Work

The UAED framework demonstrates that human disagreement is not noise to be averaged away, but a map of task difficulty. By treating uncertainty as a signal for hard-sample mining, UAED achieves SOTA results with high efficiency.

A current limitation is the reliance on datasets with multiple annotations, which are expensive to produce. Future research will explore achieving similar benefits using fewer annotations or synthetic data to simulate human ambiguity. Additionally, this uncertainty-aware framework holds potential for other subjective vision tasks, such as saliency detection and image segmentation.

Summary updated

BibTeX
@inproceedings{zhou2023treasure,
  author = {Caixia Zhou and Yaping Huang and Mengyang Pu and Qingji Guan and Li Huang and Haibin Ling},
  title = {{The Treasure Beneath Multiple Annotations: An Uncertainty-Aware Edge Detector}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure