[Paper Review] Contextual Hourglass Network for Semantic Segmentation of High Resolution Aerial Imagery
This paper proposes Contextual Hourglass Network (CxtHGNet), a stacked encoder-decoder architecture with a novel contextual hourglass module that integrates channel-wise and point-wise attention on low-resolution feature maps to enhance contextual semantics. By leveraging multi-scale feature extraction, intermediate supervision, and attention-driven contextual modeling, CxtHGNet achieves state-of-the-art performance on Potsdam and Vaihingen datasets, attaining 87.15% pixAcc and 70.28% mIoU on Potsdam, and 87.26% pixAcc and 70.50% mIoU on Vaihingen.
Semantic segmentation for aerial imagery is a challenging and important problem in remotely sensed imagery analysis. In recent years, with the success of deep learning, various convolutional neural network (CNN) based models have been developed. However, due to the varying sizes of the objects and imbalanced class labels, it can be challenging to obtain accurate pixel-wise semantic segmentation results. To address those challenges, we develop a novel semantic segmentation method and call it Contextual Hourglass Network. In our method, in order to improve the robustness of the prediction, we design a new contextual hourglass module which incorporates attention mechanism on processed low-resolution featuremaps to exploit the contextual semantics. We further exploit the stacked encoder-decoder structure by connecting multiple contextual hourglass modules from end to end. This architecture can effectively extract rich multi-scale features and add more feedback loops for better learning contextual semantics through intermediate supervision. To demonstrate the efficacy of our semantic segmentation method, we test it on Potsdam and Vaihingen datasets. Through the comparisons to other baseline methods, our method yields the best results on overall performance.
Motivation & Objective
- Address the challenge of accurate pixel-wise semantic segmentation in high-resolution aerial imagery, where object sizes vary significantly and class distributions are imbalanced.
- Improve feature representation by capturing rich multi-scale contextual semantics across diverse spatial scales.
- Enhance model robustness by integrating attention mechanisms into low-resolution feature maps within a hierarchical encoder-decoder structure.
- Leverage intermediate supervision through stacked hourglass modules to refine predictions at multiple levels and improve feature learning.
- Develop a generalizable architecture that combines attention mechanisms with stacked encoder-decoder structures for improved performance on remote sensing segmentation tasks.
Proposed method
- Design a contextual hourglass module that processes features through downsampling, applies channel-wise and point-wise attention on low-resolution feature maps to emphasize relevant semantic contexts, then upsamples via bilinear interpolation.
- Integrate the contextual hourglass module into a stacked encoder-decoder architecture, connecting multiple modules end-to-end to enable repeated bottom-up and top-down inference across scales.
- Apply intermediate supervision by computing loss functions on all intermediate predictions (not just the final output), enabling feedback loops that improve feature learning and prediction consistency.
- Use a symmetric architecture inspired by the original hourglass network but extend it with attention modules in the bottleneck to refine contextual representations.
- Implement a dual-branch head in the encoding layer: one branch predicts category presence in the scene, and the other generates scaling factors for class-dependent feature maps via channel-wise multiplication.
- Train the network using Adam optimizer with learning rate scheduling, data augmentation (random flip, scale, crop), and a two-stage training protocol: pretrain without the encoding layer, then fine-tune with full architecture.
Experimental results
Research questions
- RQ1Can attention mechanisms applied on low-resolution feature maps improve contextual understanding and prediction robustness in high-resolution aerial image segmentation?
- RQ2Does stacking multiple contextual hourglass modules with intermediate supervision enhance multi-scale feature learning and segmentation accuracy compared to single-branch or shallow architectures?
- RQ3How does the proposed CxtHGNet perform relative to state-of-the-art models like FCN, SegNet, SHG, and EncNet on benchmark aerial datasets with varying data sizes and class imbalances?
- RQ4To what extent can the model capture small objects and maintain consistent predictions across diverse urban scenes, especially when training data are limited?
- RQ5Can the proposed architecture be generalized to other remote sensing applications by replacing the attention mechanism with alternative attention variants?
Key findings
- On the Potsdam dataset, CxtHGNet achieved 87.15% pixel accuracy (pixAcc) and 70.28% mean Intersection over Union (mIoU), outperforming all baseline models including FCN, SegNet, SHG, and EncNet.
- On the Vaihingen dataset, CxtHGNet achieved 87.26% pixAcc and 70.50% mIoU, demonstrating strong performance even with a smaller training set (1,200 samples) and limited data availability.
- Visual comparisons show that CxtHGNet successfully captures small, fine-grained objects such as red and white regions in urban scenes, while FCN and SegNet fail to detect them.
- CxtHGNet produces more consistent and coherent predictions across complex scenes compared to other models, particularly in distinguishing similar-looking objects.
- Despite its strengths, CxtHGNet occasionally produces noisy predictions or misclassifies small regions, such as the top-middle area in one image, indicating room for improvement in localization precision.
- The ablation of intermediate supervision and attention mechanisms confirms their critical role in performance gains, as models without them underperform significantly.
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.