Memory-Constrained Semantic Segmentation for Ultra-High Resolution UAV Imagery

Qi Li, Jiaxin Cai, Jiexin Luo, Yuanlong Yu, Jason Gu, Jia Pan, Wenxi LiuIEEE RA-L 2023 · DOI

Abstract

Amidst the swift advancements in photography and sensor technologies, high-definition cameras have become commonplace in the deployment of Unmanned Aerial Vehicles (UAVs) for diverse operational purposes. Within the domain of UAV imagery analysis, the segmentation of ultra-high resolution images emerges as a substantial and intricate challenge, especially when grappling with the constraints imposed by GPU memory-restricted computational devices. This paper delves into the intricate problem of achieving efficient and effective segmentation of ultra-high resolution UAV imagery, while operating under stringent GPU memory limitation. We propose a GPU memory-efficient framework that introduces a novel spatial-guided high-resolution query module and an efficient memory-based interaction scheme to correct semantic bias. Our approach achieves superior performance under both small and large GPU memory usage limitations.

Introduction

Unmanned Aerial Vehicles (UAVs) are increasingly equipped with 4K and 8K cameras, yet the hardware on these drones often has very limited GPU memory (often as low as 1.5GB). Standard semantic segmentation approaches face a dilemma: downscaling destroys fine details, while patch-based inference loses global context, leading to inconsistent labels. Existing solutions that incorporate global context often re-introduce high memory overhead. This work addresses the challenge of high-quality segmentation for arbitrarily large images under strict memory constraints.

Methodology: A Three-Branch Architecture

The proposed framework avoids the need for global image context during local patch inference through a specialized three-branch design.

Figure 1: The proposed architecture featuring Spatial, Memory-based Interaction, and Semantic branches, culminating in a Spatial-guided High-resolution Query.
  1. Spatial-guided High-resolution Query Module: Inspired by Implicit Neural Representation (INR), this module treats the image as a continuous function. It predicts pixel-wise results by querying latent embeddings using high-resolution spatial coordinates. This recovers fine details typically lost in neural network bottlenecks.
  2. Memory-based Interaction Scheme: To compensate for missing global context, an external Memory Bank stores compact semantic features from the entire dataset. The model "reads" from this bank to correct local semantic biases.
  3. Linear Complexity: The memory interaction scheme maintains $O(N)$ linear complexity, adding minimal overhead (approx. 1MB), making it ideal for edge devices.

Key Results and Evaluation

The model was evaluated on the Inria Aerial (5000×5000) and DeepGlobe (2448×2448) benchmarks.

Figure 4: Performance comparison (mIoU vs. GPU Memory) on Inria Aerial (left) and DeepGlobe (right) datasets.
  • Superior Accuracy: On Inria Aerial under small memory constraints, the model achieved 77.25% mIoU, outperforming previous state-of-the-art methods like ISDNet by 2.5%.
  • Memory Robustness: Performance remains remarkably stable regardless of memory limits. On Inria, it achieved nearly identical mIoU at 1.5GB and 7.5GB limits, demonstrating optimization for low-resource environments.
  • Efficiency: The model maintains competitive inference speeds (3.5 to 10 FPS) while using significantly less memory than global-inference models like DeepLab v3+.

Conclusion

By combining coordinate-based querying with a dataset-wide semantic memory bank, this framework enables high-fidelity segmentation of ultra-high-resolution imagery on memory-constrained hardware. It effectively bridges the gap between local patch efficiency and global semantic consistency, particularly excelling at delineating thin and curvilinear structures.

Summary updated

BibTeX
@article{li2023memory,
  author = {Qi Li and Jiaxin Cai and Jiexin Luo and Yuanlong Yu and Jason Gu and Jia Pan and Wenxi Liu},
  title = {{Memory-Constrained Semantic Segmentation for Ultra-High Resolution UAV Imagery}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2023},
  doi = {10.48550/arxiv.2310.04721},
}
Figure