[Paper Review] Improving Semantic Segmentation via Dilated Affinity
This paper proposes dilated affinity, a simple yet effective method that enhances semantic segmentation by jointly training a network to predict both semantic labels and sparse, structured pixel-wise affinities. By directly supervising the model with dilated affinity—capturing long-range, structured relationships between pixels—the approach improves feature representation and enables fast, post-hoc refinement via affinity propagation, achieving state-of-the-art performance on PASCAL VOC 2012 and Cityscapes with minimal computational overhead.
Introducing explicit constraints on the structural predictions has been an effective way to improve the performance of semantic segmentation models. Existing methods are mainly based on insufficient hand-crafted rules that only partially capture the image structure, and some methods can also suffer from the efficiency issue. As a result, most of the state-of-the-art fully convolutional networks did not adopt these techniques. In this work, we propose a simple, fast yet effective method that exploits structural information through direct supervision with minor additional expense. To be specific, our method explicitly requires the network to predict semantic segmentation as well as dilated affinity, which is a sparse version of pair-wise pixel affinity. The capability of telling the relationships between pixels are directly built into the model and enhance the quality of segmentation in two stages. 1) Joint training with dilated affinity can provide robust feature representations and thus lead to finer segmentation results. 2) The extra output of affinity information can be further utilized to refine the original segmentation with a fast propagation process. Consistent improvements are observed on various benchmark datasets when applying our framework to the existing state-of-the-art model. Codes will be released soon.
Motivation & Objective
- To address the limitations of existing methods that rely on heuristic, hand-crafted structural priors for semantic segmentation.
- To improve segmentation performance by explicitly modeling structural relationships between pixels through direct supervision.
- To develop a lightweight, efficient method that enhances both training and inference without requiring extra annotations or complex post-processing.
- To enable consistent performance gains across diverse benchmarks by integrating structural inductive bias into the network via dilated affinity.
Proposed method
- The method introduces a dual-head network that simultaneously predicts semantic segmentation and dilated affinity, a sparse, structured version of pairwise pixel affinity.
- Dilated affinity is computed between a central pixel and its neighbors at multiple, strategically chosen dilation rates (e.g., 8, 16, 32, 64), capturing long-range dependencies while preserving locality.
- The model is trained with a combined loss: cross-entropy for semantic segmentation and a weighted loss for affinity prediction, with the weighting scheme (e.g., sqrt-reweight) optimized via cross-validation.
- After training, the predicted affinity maps are used in a fast, iterative affinity propagation process to refine the initial segmentation predictions.
- The propagation step leverages the structural consistency of predicted affinities to smooth noisy predictions and sharpen object boundaries.
- The method is compatible with existing state-of-the-art models (e.g., DeepLabv3+) and requires only minor architectural modifications and negligible additional computation.
Experimental results
Research questions
- RQ1Can explicit supervision on pixel-wise structural relationships improve semantic segmentation performance?
- RQ2How does dilated affinity compare to dense CRF or heuristic loss reweighting in capturing meaningful image structure?
- RQ3What is the optimal configuration of dilation rates and weighting schemes for affinity learning and propagation?
- RQ4Can the predicted affinity maps be effectively used to refine segmentation results in a fast, post-hoc manner?
- RQ5Does the joint training of segmentation and affinity lead to better feature representations than standard training alone?
Key findings
- On PASCAL VOC 2012, the proposed method achieved a mean Intersection over Union (mIoU) of 79.21%, outperforming the baseline DeepLabv3+ by 1.28 percentage points.
- On Cityscapes, the method improved mIoU from 77.15% (baseline) to 78.70%, demonstrating consistent gains across datasets.
- Affinity propagation with predicted affinities improved segmentation mIoU from 78.62% to 79.21% over 10 iterations, showing the effectiveness of refinement.
- Using ground-truth affinity maps in propagation yielded even higher performance (83.59% mIoU), confirming that the predicted affinities contain valuable structural information.
- The sqrt-reweighting scheme for affinity loss was found to be superior to neighbor-reweighting, especially for larger dilation rates.
- The best performance was achieved with a combination of dilation rates {8, (12,24), 16}, indicating that multi-scale, asymmetric receptive fields are beneficial for capturing diverse structural patterns.
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.