Abstract
Semantic segmentation requires capturing long-range dependencies to understand global context. While self-attention and graph reasoning are common solutions, they often suffer from high computational complexity and a lack of focus on error-prone boundary regions. This paper proposes the Boundary-aware Graph Reasoning (BGR) module. By utilizing a lightweight boundary detection branch to guide graph connectivity and employing a mathematically efficient graph convolution, BGR achieves state-of-the-art results on PASCAL VOC, COCO-Stuff, and Cityscapes benchmarks while maintaining a significantly lower computational footprint than traditional methods.
Introduction
Standard Fully Convolutional Networks (FCNs) are limited by their local receptive fields, making it difficult to incorporate the global context necessary for accurate semantic segmentation. While long-range dependency modeling (e.g., via non-local blocks or graph reasoning) addresses this, it introduces two primary challenges:
- Computational Inefficiency: Standard self-attention mechanisms scale quadratically ($O(N^2)$) with the number of pixels, leading to high memory and compute demands.
- Indiscriminate Reasoning: Existing models typically treat all image regions equally, failing to prioritize object boundaries where the majority of segmentation errors occur.
The Boundary-aware Graph Reasoning (BGR) Module
The BGR module addresses these issues through a three-stage process designed to focus reasoning on critical regions efficiently.
1. Pixel-to-Node Mapping
Visual features extracted from a backbone network (e.g., ResNet-101) are projected into a graph space where individual pixels are treated as nodes.
2. Boundary-Aware Operation
This core component utilizes a lightweight boundary detection branch to produce a "boundary score map." This map re-weights the graph's adjacency matrix, intensifying connections around boundary pixels. This forces the model to concentrate its reasoning power on the most difficult-to-segment areas.
3. Efficient Graph Convolution
To overcome the $O(N^2)$ complexity of standard graph operations, the authors mathematically decompose the graph convolution. By reformulating the operation, they achieve a complexity of $O(Nc)$, where $c$ is the number of channels. This allows the module to be integrated into high-resolution architectures with minimal overhead.
Experimental Results
The BGR module was evaluated on three major benchmarks: PASCAL VOC, COCO-Stuff, and Cityscapes.
- Performance: On PASCAL VOC, BGR achieved 81.37% mIoU on the validation set. It also set a new state-of-the-art on COCO-Stuff with 40.1% mIoU and reached 81.9% mIoU on Cityscapes.
- Efficiency: The module demonstrates superior efficiency compared to existing long-range modeling techniques.
As shown in the table above, the optimized BGR† implementation requires only 6.84 GFLOPs, significantly less than the 18.14 GFLOPs required by standard Non-local blocks, while also maintaining a lower memory footprint and parameter count.
Conclusion
The BGR module effectively leverages boundary information as a prior to guide long-range contextual reasoning. By focusing on error-prone regions and utilizing an efficient mathematical formulation, it provides a practical and high-performance solution for semantic segmentation. Future research may explore applying this boundary-aware approach to related tasks such as instance segmentation and object detection.
Summary updated