Abstract
Semantic segmentation of high-resolution remote sensing imagery is a computationally demanding task due to the need for capturing long-range spatial dependencies. Traditional attention mechanisms suffer from quadratic complexity $O(N^2)$, making them impractical for large-scale inputs. This paper introduces the Multi-Attention-Network (MANet), which utilizes a novel "kernel attention" mechanism to reduce computational complexity to linear $O(N)$. By integrating this efficient attention with a ResNeXt-101 backbone across multiple scales, MANet achieves state-of-the-art performance on major benchmarks while significantly reducing memory and processing requirements.
Introduction
Semantic segmentation in remote sensing—assigning a category to every pixel—is challenging due to the massive scale of satellite imagery and the necessity of capturing both fine-grained details and broad context. Existing models typically face two main hurdles:
- Information Bottlenecks: Standard encoder-decoder architectures often concatenate low-level and high-level features directly without refinement, leading to underutilized information.
- The "Quadratic Trap": Capturing long-range dependencies (e.g., identifying a river spanning an entire image) usually requires dot-product attention. However, the memory and compute costs of this mechanism grow quadratically with the number of pixels. For high-resolution imagery, this makes standard attention modules prohibitively expensive for consumer hardware.
Methodology
MANet addresses these challenges through a redesigned attention framework integrated into a multi-scale architecture.
Kernel Attention Module (KAM)
The core innovation is the KAM, which reinterprets the attention mechanism through kernel functions. By changing the order of matrix multiplications, the model computes the relationship between keys and values first, rather than calculating a massive $N \times N$ similarity matrix. Using a softplus function as a kernel smoother ensures non-negative similarities and stable gradients. This shift drops the complexity to $O(N)$, allowing attention to be applied across multiple scales of the network.
Multi-Scale Integration
Unlike traditional models where attention is a "luxury" reserved for the final, lowest-resolution layers, MANet's efficiency allows it to be placed at every level of the feature pyramid. The architecture uses a ResNeXt-101 backbone, which employs grouped convolutions to increase capacity without a massive parameter surge.
Additionally, a Channel Attention Module (CAM) models interdependencies between feature channels. Since the number of channels is significantly smaller than the number of pixels, standard dot-product attention remains efficient here.
Experiments and Results
The model was evaluated on three major benchmarks: ISPRS Potsdam, ISPRS Vaihingen, and the Gaofen Image Dataset (GID). MANet consistently outperformed established models like DeepLab V3+, PSPNet, and DANet. On the Potsdam dataset, it achieved a Mean Intersection over Union (mIoU) of 80.58%, outperforming DANet by nearly 2%.
Computational Efficiency
The resource savings provided by the kernel attention mechanism are significant. For a $64 \times 256 \times 256$ input, the memory requirement drops from 17 GB (standard dot-product) to just 51 MB—a 340-fold saving. Similarly, computational complexity is reduced by over 1400 times.
Conclusion
MANet demonstrates that global context modeling does not have to be computationally prohibitive. By treating attention as a kernel smoother, the authors unlock the ability to process large-scale remote sensing data efficiently. While the ResNeXt-101 backbone remains relatively large, the linear complexity of the attention mechanism provides a scalable path forward for high-resolution image analysis. Future work may explore integrating these modules into even more lightweight backbones or Graph Convolutional Networks (GCNs).
Summary updated