[Paper Review] Ultra-High Resolution Segmentation via Boundary-Enhanced Patch-Merging Transformer
This paper proposes Boundary-Enhanced Patch-Merging Transformer (BPT), a novel method for ultra-high resolution (UHR) image segmentation that dynamically allocates tokens to informative regions via a Patch-Merging Transformer (PMT) and enhances fine details using a Boundary-Enhanced Module (BEM). BPT achieves state-of-the-art performance on multiple UHR benchmarks without additional computational cost, outperforming prior methods in mIoU while preserving edge accuracy.
Segmentation of ultra-high resolution (UHR) images is a critical task with numerous applications, yet it poses significant challenges due to high spatial resolution and rich fine details. Recent approaches adopt a dual-branch architecture, where a global branch learns long-range contextual information and a local branch captures fine details. However, they struggle to handle the conflict between global and local information while adding significant extra computational cost. Inspired by the human visual system's ability to rapidly orient attention to important areas with fine details and filter out irrelevant information, we propose a novel UHR segmentation method called Boundary-enhanced Patch-merging Transformer (BPT). BPT consists of two key components: (1) Patch-Merging Transformer (PMT) for dynamically allocating tokens to informative regions to acquire global and local representations, and (2) Boundary-Enhanced Module (BEM) that leverages boundary information to enrich fine details. Extensive experiments on multiple UHR image segmentation benchmarks demonstrate that our BPT outperforms previous state-of-the-art methods without introducing extra computational overhead. Codes will be released to facilitate research.
Motivation & Objective
- To address the challenge of balancing global context and local detail preservation in ultra-high resolution (UHR) image segmentation.
- To overcome the computational inefficiency and feature fusion confusion in existing dual-branch architectures for UHR segmentation.
- To develop a method that maintains high accuracy without increasing inference-time computational or memory overhead.
- To leverage boundary information effectively to improve edge segmentation precision in high-resolution geospatial images.
- To design a dynamic, adaptive token representation mechanism that allocates resolution based on content informativeness.
Proposed method
- The Patch-Merging Transformer (PMT) dynamically merges image patches into variable-sized tokens based on content, enabling adaptive resolution allocation for global and local features.
- PMT uses Patch Merging Blocks (PMB) to downsample and Patch Recovering Blocks (PRB) to reconstruct features, replacing fixed-size patch processing with content-aware merging.
- The Boundary-Enhanced Module (BEM) applies intermediate supervision on low-level features to enrich edge details, with the auxiliary branch removed at inference to avoid overhead.
- A Feature Fusion Module (FFM) adaptively weighs global and local features to prevent information confusion during fusion.
- The model is trained end-to-end with cross-entropy and boundary-aware losses, optimizing for both segmentation accuracy and boundary fidelity.
- The architecture avoids extra computation by integrating BEM during training and discarding it at inference, maintaining efficiency.
Experimental results
Research questions
- RQ1How can a segmentation model efficiently balance global context and fine-grained local details in ultra-high resolution images?
- RQ2Can dynamic token merging improve representation learning without increasing computational cost?
- RQ3How can boundary information be effectively leveraged to enhance edge segmentation accuracy in UHR scenarios?
- RQ4Does a single-branch architecture with adaptive tokenization outperform dual-branch methods in UHR segmentation?
- RQ5Can auxiliary boundary supervision be removed at inference without degrading performance?
Key findings
- BPT achieves state-of-the-art performance on five public UHR segmentation benchmarks, including DeepGlobe, Inria Aerial, Cityscapes, ISIC, and CRAG.
- On DeepGlobe, BPT achieves 76.9% mIoU, outperforming GPWFormer by 1.6% mIoU with no additional GPU memory cost.
- On Inria Aerial, BPT achieves 77.9% mIoU, a 0.6% improvement over the previous SOTA, despite the dataset’s high resolution (25M pixels per image).
- On Cityscapes, BPT achieves 78.3% mIoU, surpassing all baselines while maintaining low memory usage.
- Ablation studies confirm that PMT contributes +1.1% mIoU gain over baseline models, and BEM improves performance by 0.8% mIoU without inference overhead.
- Qualitative results show that BPT produces sharper, more accurate boundaries than GPWFormer, especially in complex urban and natural scenes.
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.