[Paper Review] Semantic Diffusion Network for Semantic Segmentation
The paper introduces a learnable semantic diffusion network (SDN) that approximates anisotropic diffusion to enhance inter-class boundaries in semantic segmentation, improving boundary quality with minimal extra cost and plug-and-play compatibility.
Precise and accurate predictions over boundary areas are essential for semantic segmentation. However, the commonly-used convolutional operators tend to smooth and blur local detail cues, making it difficult for deep models to generate accurate boundary predictions. In this paper, we introduce an operator-level approach to enhance semantic boundary awareness, so as to improve the prediction of the deep semantic segmentation model. Specifically, we first formulate the boundary feature enhancement as an anisotropic diffusion process. We then propose a novel learnable approach called semantic diffusion network (SDN) to approximate the diffusion process, which contains a parameterized semantic difference convolution operator followed by a feature fusion module. Our SDN aims to construct a differentiable mapping from the original feature to the inter-class boundary-enhanced feature. The proposed SDN is an efficient and flexible module that can be easily plugged into existing encoder-decoder segmentation models. Extensive experiments show that our approach can achieve consistent improvements over several typical and state-of-the-art segmentation baseline models on challenging public benchmarks. The code will be released soon.
Motivation & Objective
- Motivate boundary-aware enhancement at the operator level to address kernel-induced blur in standard convolutions.
- Propose a differentiable, learnable diffusion-inspired module that strengthens inter-class boundaries while suppressing intra-class noise.
- Show that SDN can be easily integrated as a neck between encoder and decoder in various segmentation backbones.
- Demonstrate consistent boundary quality and mIoU gains across challenging benchmarks.
Proposed method
- Formulate boundary enhancement as a nonlinear anisotropic diffusion guided by semantic features.
- Introduce semantic difference convolution (SDC) that combines a learnable kernel with a semantic similarity as diffusivity.
- Fuse the SDN output with the original features via a 1x1 convolution after concatenation (U, Y).
- Embed SDN as a modular neck between encoder and decoder, compatible with single-scale and multi-scale decoders.
- Extend SDN to multi-scale backbones by supplying scale-wise semantic guidance from adjacent layers or a downsampled copy of the top layer.
Experimental results
Research questions
- RQ1Can operator-level boundary-aware diffusion improve boundary precision without global performance loss?
- RQ2Does a learnable diffusion surrogate (SDN) outperform vanilla and other boundary-oriented operators in segmentation?
- RQ3Is SDN compatible with diverse backbones (CNN and Transformer) and decoder configurations while maintaining efficiency?
- RQ4What is the boundary-quality impact (F-score at 1px/3px) compared to post-processing or loss-based boundary methods?
Key findings
- SDN consistently improves mIoU for CNN-based baselines on ADE20K and Cityscapes (e.g., FCN +2.02% s.s. and +2.11% mIoU, SemanticFPN +1.30% s.s. and +1.87% mIoU, Segmenter +2.57% s.s. and +1.45% mIoU).
- SDN yields notable boundary quality gains, including 1px/3px F-scores improvements of +4.3 and +1.5 over OCRNet on Cityscapes.
- SDN’s semantic difference convolution (SDC) outperforms vanilla convolution and central difference convolution in boundary F-score (SDC: 69.5 vs. Vanilla 65.2 and CDC 60.1).
- Increasing SDC kernel size has limited impact, while large dilation can hurt performance; 3x3 with modest dilation (1) is effective.
- SDN remains compatible and can further boost performance when combined with other boundary methods (DenseCRF, SegFix, InverseForm).
- SDN provides boundary enhancement with relatively low computational overhead and can be plugged into both single-scale and multi-scale decoders.
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.