[Paper Review] Class-wise Dynamic Graph Convolution for Semantic Segmentation
This paper proposes Class-wise Dynamic Graph Convolution (CDGC), a novel module that enhances semantic segmentation by constructing class-specific graphs from coarse predictions and dynamically sampling hard positive and negative samples for adaptive, context-aware feature aggregation. CDGCNet, built on this module, achieves state-of-the-art performance on Cityscapes (82.0% mIOU), PASCAL VOC 2012 (83.9% mIOU), and COCO Stuff (40.7% mIOU), demonstrating superior boundary preservation and contextual reasoning.
Recent works have made great progress in semantic segmentation by exploiting contextual information in a local or global manner with dilated convolutions, pyramid pooling or self-attention mechanism. In order to avoid potential misleading contextual information aggregation in previous works, we propose a class-wise dynamic graph convolution (CDGC) module to adaptively propagate information. The graph reasoning is performed among pixels in the same class. Based on the proposed CDGC module, we further introduce the Class-wise Dynamic Graph Convolution Network(CDGCNet), which consists of two main parts including the CDGC module and a basic segmentation network, forming a coarse-to-fine paradigm. Specifically, the CDGC module takes the coarse segmentation result as class mask to extract node features for graph construction and performs dynamic graph convolutions on the constructed graph to learn the feature aggregation and weight allocation. Then the refined feature and the original feature are fused to get the final prediction. We conduct extensive experiments on three popular semantic segmentation benchmarks including Cityscapes, PASCAL VOC 2012 and COCO Stuff, and achieve state-of-the-art performance on all three benchmarks.
Motivation & Objective
- Address the limitations of existing methods in aggregating long-range contextual information for pixel-wise semantic segmentation.
- Overcome the issue of non-discriminative feature learning caused by indiscriminate aggregation of features from semantically dissimilar regions.
- Improve feature representation by leveraging class-specific, dynamic graph structures that focus on hard samples during reasoning.
- Develop a coarse-to-fine framework that refines initial predictions using graph-based feature refinement.
- Achieve state-of-the-art performance on major benchmarks through improved contextual modeling and boundary preservation.
Proposed method
- Construct class-wise graphs by using coarse segmentation predictions as class masks to extract node features per semantic class.
- Perform dynamic graph convolution on each class-specific graph, where edge weights are adaptively learned based on feature similarity.
- Incorporate hard positive and hard negative samples into the graph construction process to focus on challenging pixels.
- Use a two-branch feature refinement mechanism: refine the original feature map via graph convolution and fuse it with the original for final prediction.
- Integrate the CDGC module into a basic segmentation network (e.g., ResNet-101 + ASPP) in a coarse-to-fine paradigm.
- Apply multi-scale and flip augmentation during inference to further boost performance.
Experimental results
Research questions
- RQ1Can class-specific graph construction improve long-range contextual reasoning in semantic segmentation?
- RQ2Does dynamic sampling of hard positive and negative samples enhance feature learning compared to uniform or fixed sampling?
- RQ3How does class-wise graph convolution compare to global self-attention or standard GCN in terms of feature discrimination and boundary accuracy?
- RQ4To what extent does the coarse-to-fine framework with graph refinement improve mIOU on standard benchmarks?
- RQ5What is the contribution of hard sample mining to performance gains in complex urban and cluttered scenes?
Key findings
- CDGCNet achieves 82.0% mIOU on the Cityscapes validation set, surpassing previous state-of-the-art methods.
- On PASCAL VOC 2012, CDGCNet achieves 83.9% mIOU, outperforming all prior methods listed in the comparison.
- On COCO Stuff, CDGCNet reaches 40.7% mIOU, setting a new state-of-the-art performance on this challenging dataset.
- Ablation studies confirm that including hard negative samples improves performance from 80.5% to 81.1% mIOU on Cityscapes.
- Visualizations show that the CDGC module effectively resolves hard samples, especially at object boundaries, preserving fine details.
- The combination of multi-scale and flip augmentation boosts performance by 0.8% on Cityscapes, confirming the robustness of the method.
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.