Abstract
Edge detection is a fundamental computer vision task that requires balancing semantic understanding with spatial precision. Traditional Convolutional Neural Networks (CNNs) often struggle with this, producing either noisy low-level edges or blurry high-level contours. We present the Bidirectional Additive Net (BAN), an end-to-end framework that utilizes a progressive bidirectional architecture and a channel-wise attention mechanism. BAN effectively filters noise while preserving sharp details, achieving state-of-the-art performance on the BSDS500 and NYUDv2 benchmarks.
Introduction
The "Goldilocks" problem in edge detection refers to the difficulty of extracting features that are neither too noisy nor too coarse. Early CNN layers capture sharp boundaries but include unwanted textures (noise), while deeper layers capture semantic object contours but lose spatial resolution. Previous methods like HED or RCF used simple skip-connections to fuse these layers, but these often fail to refine features dynamically, leading to cluttered edge maps.
Methodology
The Bidirectional Additive Net (BAN) introduces a more sophisticated approach to feature fusion through three main components:
1. Pyramid Feature Extractor
Using a VGG-16 backbone, BAN extracts features across five stages. To maintain resolution while capturing multi-scale context, the network employs Atrous (dilated) Pyramid Convolutions.
2. Bidirectional Information Flow
Unlike unidirectional models, BAN employs a cycle of bottom-up and top-down branches. The bottom-up branch focuses on extracting semantic contours by removing noise, while the top-down branch revisits high-resolution features to "error-correct" and restore spatial precision to coarse semantic boundaries.
3. Attended Additive Module (AAM)
The Attended Additive Module (AAM) is the core of BAN's fusion process. Instead of simple addition, it uses channel-wise attention to weight feature maps. By performing global pooling and 1x1 convolutions, the AAM identifies and suppresses noisy channels while emphasizing pivotal edge features. This allows the network to maintain high precision without sacrificing recall.
Key Results
BAN sets new records on major edge detection benchmarks, notably outperforming human annotators on the BSDS500 dataset.
- BSDS500: Achieved an ODS of 0.816 (multi-scale), surpassing the human benchmark of 0.803.
- NYUDv2: Reached an ODS of 0.773 by combining RGB and HHA depth information.
The use of Dice loss alongside class-balanced cross-entropy ensures that the predicted edges are not only accurate but also visually crisp and thin, aligning closely with true object boundaries.
Conclusion
The Bidirectional Additive Net demonstrates that iterative refinement and attention-based fusion are key to solving the noise-vs-blur trade-off in edge detection. While the current model relies on a VGG-16 backbone, future work could explore more modern architectures and optimizations for real-time inference.
Summary updated