Pixel Difference Networks for Efficient Edge Detection
About
Recently, deep Convolutional Neural Networks (CNNs) can achieve human-level performance in edge detection with the rich and abstract edge representation capacities. However, the high performance of CNN based edge detection is achieved with a large pretrained CNN backbone, which is memory and energy consuming. In addition, it is surprising that the previous wisdom from the traditional edge detectors, such as Canny, Sobel, and LBP are rarely investigated in the rapid-developing deep learning era. To address these issues, we propose a simple, lightweight yet effective architecture named Pixel Difference Network (PiDiNet) for efficient edge detection. Extensive experiments on BSDS500, NYUD, and Multicue are provided to demonstrate its effectiveness, and its high training and inference efficiency. Surprisingly, when training from scratch with only the BSDS500 and VOC datasets, PiDiNet can surpass the recorded result of human perception (0.807 vs. 0.803 in ODS F-measure) on the BSDS500 dataset with 100 FPS and less than 1M parameters. A faster version of PiDiNet with less than 0.1M parameters can still achieve comparable performance among state of the arts with 200 FPS. Results on the NYUD and Multicue datasets show similar observations. The codes are available at https://github.com/zhuoinoulu/pidinet.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Boundary Detection | BSDS 500 (test) | ODS80.7 | 185 | |
| Edge Detection | NYUDv2 (test) | ODS Score75.6 | 93 | |
| Fine-Grained Sketch-Based Image Retrieval (FG-SBIR) | Chair V2 (test) | Top-1 Accuracy87.62 | 72 | |
| Edge Detection | BSDS v1 (test) | ODS78.9 | 32 | |
| Boundary Detection | Multicue Boundary | ODS81.8 | 26 | |
| Edge Detection | NYUD Standard Evaluation - SEval v2 (val) | ODS73.3 | 17 | |
| Edge Detection | Multi-Cue | ODS85.5 | 13 | |
| Edge Detection | NYUD Crispness-emphasized evaluation - CEval v2 (val) | ODS Score39.9 | 13 | |
| Boundary Detection | Multi-Cue (test) | ODS0.818 | 12 | |
| Boundary Detection | Multi-Cue | ODS Score81.8 | 12 |