Dual Graph Convolutional Network for Semantic Segmentation
Introduction
Semantic segmentation requires a model to classify every pixel in an image. This task is inherently difficult because local pixel data is often ambiguous or noisy. To distinguish between a sidewalk and a road, or to identify an occluded object, a network needs "global context"—an understanding of the entire scene.
Traditional approaches to expanding a network's receptive field, such as dilated convolutions, often introduce biases toward larger objects. More recent self-attention (non-local) mechanisms capture long-range dependencies but suffer from a massive memory bottleneck: the affinity matrix grows quadratically ($O(N^2)$) with the number of pixels. For high-resolution imagery common in autonomous driving, this makes standard self-attention computationally prohibitive.
The Dual Graph Convolutional Network (DGCNet)
To address these efficiency challenges, the Dual Graph Convolutional Network (DGCNet) introduces a novel approach that avoids direct pixel-to-pixel attention. Instead, it projects features into lower-dimensional spaces, performs Graph Convolutional Network (GCN) operations, and then reprojects the refined features back to the original resolution.
The architecture is built around two orthogonal branches:
- Coordinate Space GCN: This branch models spatial relationships. By downsampling the input feature map to group pixels into "clusters," it builds a lightweight, fully connected graph. Messages are passed between these clusters to capture spatial context before being upsampled back to the original resolution. By re-ordering matrix multiplications, the computational complexity is reduced from $O((HW)^2)$ to $O(HW)$.
- Feature Space GCN: This branch focuses on channel interdependencies. Since deeper layers in a CNN represent abstract semantic concepts, this GCN captures correlations between these high-level features. It reduces channel dimensions and uses Laplacian smoothing to propagate information across feature descriptors.
By combining these two branches, DGCNet captures both "where" things are and "what" abstract features co-occur, providing a comprehensive global view.
Experimental Results
The DGCNet was evaluated on the Cityscapes and PASCAL Context benchmarks. On the high-resolution Cityscapes dataset ($2048 \times 1024$), DGCNet achieved a state-of-the-art 82.0% mean IoU.
Ablation studies highlight the importance of the dual-branch structure. Starting from a Dilated FCN baseline of 75.2% mIoU, adding the Coordinate GCN alone improved performance to 78.8%, while the Feature GCN alone reached 79.3%. The combined DGCNet reached 80.5% (before additional testing-time enhancements).
Crucially, DGCNet is significantly more efficient than competing attention-based modules. The DGC module requires only 14.15 GFLOPs and 1.24 million parameters, compared to the 24.87 GFLOPs and 1.49 million parameters required by the Dual Attention (DA) module.
Conclusion
DGCNet demonstrates that global context can be captured efficiently by leveraging orthogonal graph convolutions in projected spaces. By bypassing the memory constraints of standard self-attention, it enables high-performance semantic segmentation on high-resolution datasets. Future applications could extend this dual-graph reasoning to other dense prediction tasks like instance segmentation and depth estimation.
Summary updated