[Paper Review] Semantic Image Segmentation with Task-Specific Edge Detection Using CNNs and a Discriminatively Trained Domain Transform
This paper proposes a task-specific edge detection method using a domain transform (DT) filter with end-to-end training to improve semantic image segmentation. By learning edge maps from intermediate CNN features instead of using image gradients, the method achieves segmentation accuracy comparable to fully-connected CRFs but with significantly faster inference—up to 10× speedup—while also producing competitive edge detection results on BSDS500.
Deep convolutional neural networks (CNNs) are the backbone of state-of-art semantic image segmentation systems. Recent work has shown that complementing CNNs with fully-connected conditional random fields (CRFs) can significantly enhance their object localization accuracy, yet dense CRF inference is computationally expensive. We propose replacing the fully-connected CRF with domain transform (DT), a modern edge-preserving filtering method in which the amount of smoothing is controlled by a reference edge map. Domain transform filtering is several times faster than dense CRF inference and we show that it yields comparable semantic segmentation results, accurately capturing object boundaries. Importantly, our formulation allows learning the reference edge map from intermediate CNN features instead of using the image gradient magnitude as in standard DT filtering. This produces task-specific edges in an end-to-end trainable system optimizing the target semantic segmentation quality.
Motivation & Objective
- Improve semantic image segmentation accuracy near object boundaries without the computational cost of dense CRF inference.
- Address the high computational cost of fully-connected CRF post-processing in CNN-based segmentation models.
- Learn task-specific edges from intermediate CNN features to enhance segmentation quality in an end-to-end trainable framework.
- Replace expensive bilateral filtering in CRFs with the more efficient domain transform while maintaining segmentation performance.
- Demonstrate that jointly trained edge detection improves both segmentation and edge detection performance on benchmark datasets.
Proposed method
- Replace the fully-connected CRF post-processing step in CNN-based segmentation with a domain transform (DT) filter for edge-aware smoothing.
- Use intermediate CNN features as a learned reference edge map for the DT, instead of relying on image gradient magnitude.
- Train the entire system end-to-end via backpropagation to optimize segmentation quality, making the edge detector task-specific.
- Formulate the domain transform as a gated recurrent neural network (GRNN), enabling shared insights with RNNs and efficient implementation.
- Apply the DT filter to coarse semantic segmentation scores using the learned edge map to produce refined, boundary-aware predictions.
- Integrate the DT module into a unified CNN architecture that jointly produces segmentation scores and edge maps.
Experimental results
Research questions
- RQ1Can a domain transform filter replace fully-connected CRF post-processing with significantly reduced inference time while maintaining segmentation accuracy?
- RQ2Does learning a task-specific edge map from intermediate CNN features improve segmentation performance compared to using image gradients?
- RQ3Can the domain transform be effectively trained end-to-end as part of a segmentation network to jointly optimize edge detection and segmentation?
- RQ4Does the proposed method achieve competitive performance on both semantic segmentation and edge detection benchmarks?
- RQ5What is the computational efficiency gain of using domain transform over traditional bilateral filtering or dense CRF inference?
Key findings
- The proposed DT-EdgeNet method achieves a mean intersection-over-union (mIOU) of 71.7 on the PASCAL VOC 2012 test set when trained on ImageNet and MS-COCO, outperforming DeepLab-CRF-LargeFOV (70.3 mIOU) and approaching the performance of more expensive CRF-based methods.
- With additional pretraining on MS-COCO, DT-EdgeNet + DenseCRF achieves 73.6 mIOU, close to the state-of-the-art DeepLab-CRF-Attention-DT (76.3 mIOU), while being significantly faster than CRF-based inference.
- The domain transform is up to 10 times faster than dense CRF inference, enabling real-time or near-real-time segmentation with minimal latency.
- The learned edge detector (EdgeNet) performs competitively on the BSDS500 edge detection benchmark, demonstrating that task-specific edge learning improves both segmentation and edge detection.
- The method maintains high boundary accuracy, with DT-EdgeNet producing segmentation results that are well-aligned with object contours, as shown in qualitative comparisons.
- The domain transform is mathematically equivalent to a gated recurrent network, providing theoretical and practical insights into its efficiency and behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.