Squeezing Context into Patches: Towards Memory-Efficient Ultra-High Resolution Semantic Segmentation
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1603-1611.
https://doi.org/10.24963/ijcai.2025/179
Keywords
- Computer Vision: CV: Segmentation, grouping and shape analysis
Abstract
Segmenting ultra-high-resolution (UHR) images poses a significant challenge due to constraints on GPU memory, leading to a trade-off between detailed local information and a comprehensive contextual understanding. Current UHR methods often employ a multi-branch encoder to handle local and contextual information, which can be memory-intensive. To address the need for both high accuracy and low memory usage in processing UHR images, we introduce a memory-efficient semantic segmentation approach by squeezing context information into local patches (SCPSeg). Our method integrates the processing of local and contextual information within a single-branch encoder. Specifically, we introduce a context squeezing module (CSM) designed to compress global context details into local patches, enabling segmentation networks to perceive broader image contexts. Additionally, we propose a super-resolution guided local feature alignment (LFA) technique to improve segmentation precision by aligning local feature relationships. This approach calculates similarities within sliding windows, avoiding heavy computational costs during the training phase. We evaluate the effectiveness of our proposed method on four widely used UHR segmentation benchmarks. Experimental results demonstrate that our approach enhances UHR segmentation accuracy without incurring additional memory overhead during the inference stage. The code is available at https://github.com/StuLiu/SCPSeg.
@inproceedings{ijcai2025p179,
title = {Squeezing Context into Patches: Towards Memory-Efficient Ultra-High Resolution Semantic Segmentation},
author = {Liu, Wang and Duan, Puhong and Kang, Xudong and Li, Shutao},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {1603--1611},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/179},
url = {https://doi.org/10.24963/ijcai.2025/179},
}
TY - CPAPER TI - Squeezing Context into Patches: Towards Memory-Efficient Ultra-High Resolution Semantic Segmentation AU - Liu, Wang AU - Duan, Puhong AU - Kang, Xudong AU - Li, Shutao T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 1603 EP - 1611 DO - 10.24963/ijcai.2025/179 UR - https://doi.org/10.24963/ijcai.2025/179 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: