Introduction
As imaging technology advances toward 4K, 8K, and beyond, ultra-high-resolution (UHR) images have become standard in fields like geospatial analysis and medical diagnostics. However, segmenting these images poses a significant "memory wall" for deep learning models. A single 30-megapixel image can easily exceed the VRAM capacity of high-end consumer GPUs.
Traditionally, researchers have relied on two compromise strategies: downsampling, which preserves global context but loses fine-grained detail, or cropping, which maintains high resolution but sacrifices the broader spatial context. This paper introduces Collaborative Global-Local Networks (GLNet), a dual-branch architecture designed to capture both context and detail while remaining within a strict 2GB GPU memory limit.
Methodology: The Collaborative Approach
GLNet avoids the memory overhead of processing full-resolution images by utilizing two parallel branches that share information at every layer of the network.
- Global Branch: Processes a downsampled version of the entire image to extract high-level contextual information.
- Local Branch: Processes high-resolution cropped patches to capture fine structures and textures.
Deep Feature Map Sharing
Unlike ensemble methods that merge predictions at the final stage, GLNet employs bidirectional feature sharing. Global features are cropped and upsampled to provide context to the local branch, while local features are downsampled and merged to refine the global branch with high-frequency details. This mutual regularization ensures that both branches remain synchronized and benefit from each other's strengths.
For datasets with extreme class imbalances, such as skin lesion detection, the authors also propose a Coarse-to-Fine variant. This version uses the global branch to identify a region of interest, allowing the local branch to focus its computational resources on refining specific, relevant areas.
Experimental Evaluation
The model was evaluated on three diverse UHR datasets:
- DeepGlobe: Satellite imagery (2448×2448) for land cover classification.
- ISIC: Dermoscopy images (up to 30 megapixels) for medical segmentation.
- Inria Aerial: Urban aerial images (5000×5000) for building detection.
Key Results and Discussion
GLNet demonstrates a superior trade-off between accuracy and memory efficiency compared to state-of-the-art models like FCN-8s, DeepLabv3+, and SegNet.
- Memory Efficiency: GLNet operates on a single NVIDIA 1080Ti using less than 2GB of VRAM. In contrast, standard models often require 5GB to 10GB to achieve comparable results on UHR data.
- Accuracy: On the DeepGlobe dataset, GLNet achieved 71.6% mIoU, outperforming FCN-8s (70.1%) and significantly beating DeepLabv3+ (63.5%).
- Medical Precision: The coarse-to-fine strategy proved particularly effective for the ISIC dataset, boosting mIoU to 75.2%, whereas using global or local branches in isolation yielded much lower scores (70.1% and 48.5%, respectively).
Conclusion
GLNet effectively decouples image resolution from memory consumption, enabling high-quality segmentation of 30-megapixel images on commodity hardware. By leveraging bidirectional feature sharing between global and local branches, the architecture maintains a comprehensive understanding of the scene without sacrificing the fine details necessary for precise segmentation. Future work may explore more automated cropping mechanisms and backbone-agnostic implementations to further enhance inference speed and flexibility.
Summary updated