NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Practical Edge Detection via Robust Collaborative Learning

Yuanbin Fu, Xiaojie Guo · DOI

Introduction

Edge detection—the process of identifying boundaries and outlines within images—remains a fundamental task in computer vision, serving as a critical precursor to object recognition, segmentation, and scene understanding. Despite its importance, modern deep learning approaches face a significant "practicality gap." Most state-of-the-art models are computationally expensive, relying on massive pre-trained backbones like VGG or ResNet, and are often sensitive to the inherent noise found in human-annotated datasets.

This paper introduces PEdger, a lightweight and robust edge detection framework designed for real-time applications. PEdger achieves state-of-the-art accuracy while maintaining a footprint of under 1MB and operating at 92 frames per second (FPS), effectively eliminating the need for pre-training through a novel collaborative learning strategy.

The Challenges of Practical Edge Detection

Existing edge detection models typically struggle with two primary hurdles:

  1. The Pre-training Tax: High-performing models generally require backbones pre-trained on massive datasets like ImageNet. This dependency results in bulky models that are slow to execute and difficult to deploy on resource-constrained edge devices.
  2. The Noisy Label Problem: Edge detection is inherently subjective. Human annotators often disagree on which boundaries are significant, leading to inconsistent or "noisy" labels. Standard training regimes often cause models to overfit to these inconsistencies, resulting in blurry or inaccurate edge predictions.

Methodology: Robust Collaborative Learning

PEdger addresses these challenges through a Robust Collaborative Learning scheme. Rather than training a single monolithic network, the framework utilizes two heterogeneous architectures that learn simultaneously and provide mutual supervision.

Heterogeneous Architectures

To maximize the diversity of learned features, PEdger employs two distinct model types:

  • Recurrent Architecture: This model shares parameters across multiple image scales. Its compact nature allows for quick convergence and provides a stable baseline for the collaborative process.
  • Non-Recurrent Architecture: This model utilizes a variable parameter distribution, allocating fewer parameters to high-resolution/low-level details and more to low-resolution/high-level semantic structures. This design prioritizes speed while ensuring the model can interpret complex shapes.

Denoising Mechanisms

To mitigate the impact of noisy human labels, PEdger incorporates two key technical innovations:

  • Temporal Ensembling (Momentum Networks): The framework maintains a running average of model weights across training epochs. This prevents the system from overfitting to outliers or erroneous labels present in individual training batches.
  • Uncertainty-Aware Fusion: The two architectures compare their predictions in real-time. When the models exhibit high uncertainty (predictions near 0.5), the framework reduces the weight of that specific label. This allows PEdger to dynamically "denoise" the ground truth during training, focusing on the consensus edges rather than human errors.

Experimental Evaluation

PEdger was evaluated on several gold-standard benchmarks, including BSDS500, NYUD (NYU Depth Dataset v2), and PASCAL VOC.

Performance Metrics

On the BSDS500 dataset, PEdger achieved an ODS F-score of 0.821. This performance is particularly notable when compared to other efficient models:

  • Accuracy: PEdger outperforms its closest efficient competitor, PiDiNet (0.807 ODS).
  • Efficiency: The model operates at 92 FPS on an RTX 3090 and has a total size of only 734KB. For comparison, many competing SOTA models are 20x to 50x larger.
  • Visual Quality: Qualitatively, PEdger produces significantly thinner and cleaner edges than previous methods, which often struggle with "thick" edges or texture-induced noise in areas like grass or fabric.

Key Insights

  1. Architectural Diversity: The researchers demonstrated that using heterogeneous architectures (recurrent vs. non-recurrent) is more effective than using two identical models. The differing "perspectives" of the two models enhance the collaborative ensembling's ability to identify label errors.
  2. Strategic Parameter Allocation: Efficiency is gained by allocating more computational power to later, lower-resolution stages. High-level semantic understanding requires more parameters than low-level edge detection.
  3. Independence from Pre-training: By effectively denoising labels, PEdger learns with such efficiency that it no longer requires the "head start" of ImageNet pre-training. This makes it highly adaptable for specialized domains where pre-trained models are unavailable.

Conclusion and Future Work

PEdger represents a significant step forward for practical computer vision, proving that lightweight models can achieve high accuracy without the baggage of massive pre-trained backbones. While it slightly trails Transformer-based models like EDTER in raw ODS score (0.821 vs 0.832), PEdger is nearly 50 times faster, making it the superior choice for real-time deployment.

Future research may focus on optimizing these heterogeneous architectures for specific edge hardware, such as mobile NPUs or FPGAs, and exploring the framework's robustness in specialized domains like medical imaging or satellite data analysis.

Summary updated

BibTeX
@inproceedings{fu2023practical,
  author = {Yuanbin Fu and Xiaojie Guo},
  title = {{Practical Edge Detection via Robust Collaborative Learning}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3612099},
}
Figure