Abstract
Most current semantic segmentation approaches fall back on deep convolutional neural networks (CNNs). However, their use of convolution operations with local receptive fields causes failures in modeling contextual spatial relations. Prior works have sought to address this issue by using graphical models or spatial propagation modules in networks. But such models often fail to capture long-range spatial relationships between entities, which leads to spatially fragmented predictions. Moreover, recent works have demonstrated that channel-wise information also acts a pivotal part in CNNs. In this work, we introduce two simple yet effective network units, the spatial relation module and the channel relation module, to learn and reason about global relationships between any two spatial positions or feature maps, and then produce relation-augmented feature representations. The spatial and channel relation modules are general and extensible, and can be used in a plug-and-play fashion with the existing fully convolutional network (FCN) framework. We evaluate relation module-equipped networks on semantic segmentation tasks using two aerial image datasets, which fundamentally depend on long-range spatial relational reasoning. The networks achieve very competitive results, bringing significant improvements over baselines.
Introduction
Semantic segmentation—the task of labeling every pixel in an image—is critical for understanding aerial scenes. While deep CNNs have become the standard for this task, they suffer from a fundamental limitation: "nearsightedness." Due to their local receptive fields, standard convolutions struggle to model long-range dependencies. In complex aerial imagery, a pixel's identity is often tied to distant context; for example, a vehicle is typically found on a road rather than a roof. Without global context, predictions often become spatially fragmented and logically inconsistent.
As shown in Figure 1, capturing both short-range and long-range similarity and compatibility relations is essential for accurate land-cover mapping. This paper introduces the Relation-Augmented Fully Convolutional Network (RA-FCN) to address these challenges by explicitly reasoning about relationships between distant objects and feature channels.
Methodology
The RA-FCN architecture incorporates two novel "plug-and-play" modules designed to enhance feature representations through relational reasoning.
Spatial Relation Module (SRM)
The SRM allows the network to model the relationship between any two spatial positions in an image, regardless of their distance. By using an embedding dot product (akin to self-attention), the module calculates the influence of one pixel on another, enabling the network to learn semantic compatibility rules (e.g., "cars belong on roads").
Channel Relation Module (CRM)
While SRM focuses on spatial layout, the CRM models dependencies between feature map channels. Since different channels capture different semantic attributes (edges, colors, textures), the CRM emphasizes class-relevant features and suppresses noise, producing more discriminative "relation-augmented" features.
Integration
The modules can be integrated into existing FCN frameworks, such as a VGG-16 backbone. The researchers explored both parallel and serial configurations, finding that a serial approach (S-RA-FCN)—where the channel module precedes the spatial module—yielded the most robust performance.
Experimental Results
The proposed model was evaluated on two high-resolution benchmarks: the ISPRS Vaihingen and Potsdam datasets. These datasets require classifying pixels into six categories: impervious surfaces, buildings, low vegetation, trees, cars, and clutter.
Quantitative Performance
The RA-FCN demonstrated significant improvements over baseline FCNs:
- Vaihingen Dataset: The serial model (S-RA-FCN) achieved a mean F1 score of 88.54% and an overall accuracy of 89.23%, a nearly 5% improvement over the baseline.
- Potsdam Dataset: The model reached a mean F1 of 88.01% and an overall accuracy of 88.59%.
Qualitative Analysis
Visually, the RA-FCN produces cleaner segmentation maps with fewer artifacts. It effectively eliminates "ghost" buildings and correctly identifies impervious surfaces that are often misclassified due to shadows or spectral similarities to rooftops. Notably, the method excels at identifying small, scattered objects like cars, which are frequently blurred or missed by traditional global context methods like Conditional Random Fields (CRFs).
Conclusion
The RA-FCN demonstrates that explicit relational reasoning can effectively compensate for the local nature of standard convolutions. By augmenting features with both spatial and channel-wise global context, the network achieves state-of-the-art performance in aerial scene understanding. Future work will focus on improving the computational efficiency of these modules for ultra-large-scale imagery and further interpreting the specific semantic rules learned by the relation modules.
Summary updated