Proceedings

Squeezing Context into Patches: Towards Memory-Efficient Ultra-High Resolution Semantic Segmentation

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1603-1611.

https://doi.org/10.24963/ijcai.2025/179

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.

  1. [Azad et al., 2024] Reza Azad, Ehsan Khodapanah Aghdam, Amelie Rauland, Yiwei Jia, Atlas Haddadi Avval, Afshin Bozorgpour, Sanaz Karimijafarbigloo, Joseph Paul Cohen, Ehsan Adeli, and Dorit Merhof. Medical image segmenta- tion review: The success of u-net. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(12):10076- 10095, 2024.
  2. [Badrinarayanan et al., 2017] Vijay Badrinarayanan, Alex Kendall, and Roberto Cipolla. Segnet: A deep convolu- tional encoder-decoder architecture for image segmenta- tion. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(12):2481-2495, 2017.
  3. [Chen et al., 2018] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for se- mantic image segmentation. In Proceedings of the Euro- pean Conference on Computer Vision, September 2018.
  4. [Chen et al., 2019] Wuyang Chen, Ziyu Jiang, Zhangyang Wang, Kexin Cui, and Xiaoning Qian. Collaborative global-local networks for memory-efficient segmentation of ultra-high resolution images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 2019.
  5. [Cheng et al., 2020] Ho Kei Cheng, Jihoon Chung, Yu-Wing Tai, and Chi-Keung Tang. Cascadepsp: Toward class- agnostic and very high-resolution segmentation via global and local refinement. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 2020.
  6. [Ding et al., 2021] Lei Ding, Hao Tang, and Lorenzo Bruz- zone. Lanet: Local attention embedding to improve the semantic segmentation of remote sensing images. IEEE Transactions on Geoscience and Remote Sensing, 59(1):426-435, 2021.
  7. [Ding et al., 2022] Lei Ding, Dong Lin, Shaofu Lin, Jing Zhang, Xiaojie Cui, Yuebin Wang, Hao Tang, and Lorenzo Bruzzone. Looking outside the window: Wide- context transformer for the semantic segmentation of high- resolution remote sensing images. IEEE Transactions on Geoscience and Remote Sensing, 60:1-13, 2022.
  8. [Fan et al., 2021] Mingyuan Fan, Shenqi Lai, Junshi Huang, Xiaoming Wei, Zhenhua Chai, Junfeng Luo, and Xiaolin Wei. Rethinking bisenet for real-time semantic segmen- tation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9716- 9725, June 2021.
  9. [Fu et al., 2019] Jun Fu, Jing Liu, Haijie Tian, Yong Li, Yongjun Bao, Zhiwei Fang, and Hanqing Lu. Dual at- tention network for scene segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, June 2019.
  10. [Guo et al., 2022] Shaohua Guo, Liang Liu, Zhenye Gan, Yabiao Wang, Wuhao Zhang, Chengjie Wang, Guannan Jiang, Wei Zhang, Ran Yi, Lizhuang Ma, and Ke Xu. Is- dnet: Integrating shallow and deep networks for efficient ultra-high resolution segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4351-4360, 2022.
  11. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 770-778, 2016.
  12. [He et al., 2022] Xin He, Yong Zhou, Jiaqi Zhao, Di Zhang, Rui Yao, and Yong Xue. Swin transformer embedding unet for remote sensing image semantic segmentation. IEEE Transactions on Geoscience and Remote Sensing, 60:1- 15, 2022.
  13. [Huynh et al., 2021] Chuong Huynh, Anh Tuan Tran, Khoa Luu, and Minh Hoai. Progressive semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16755-16764, June 2021.
  14. [Ji et al., 2023a] Deyi Ji, Feng Zhao, and Hongtao Lu. Guided patch-grouping wavelet transformer with spatial congruence for ultra-high resolution segmentation. In International Joint Conference on Artificial Intelligence, page 920-928, 2023. IJCAI
  15. [Ji et al., 2023b] Deyi Ji, Feng Zhao, Hongtao Lu, Mingyuan Tao, and Jieping Ye. Ultra-high resolution segmentation with ultra-rich context: A novel benchmark. In Proceed- ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 23621-23630, 2023.
  16. [Kirillov et al., 2020] Alexander Kirillov, Yuxin Wu, Kaim- ing He, and Ross Girshick. Pointrend: Image segmenta- tion as rendering. In Proceedings of the IEEE/CVF Con- ference on Computer Vision and Pattern Recognition, June 2020.
  17. [Li et al., 2020] Xiangtai Li, Ansheng You, Zhen Zhu, Hou- long Zhao, Maoke Yang, Kuiyuan Yang, Shaohua Tan, and Yunhai Tong. Semantic flow for fast and accurate scene parsing. In Proceedings of the European Conference on Computer Vision, volume 12346, pages 775-793, 2020.
  18. [Li et al., 2021] Qi Li, Weixiang Yang, Wenxi Liu, Yuan- long Yu, and Shengfeng He. From contexts to local- ity: Ultra-high resolution image segmentation via locality- aware contextual correlation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7252-7261, October 2021.
  19. [Libo et al., 2022] Wang Libo, Li Rui, Zhang Ce, Fang Shenghui, Duan Chenxi, Meng Xiaoliang, and M. Atkin- son Peter. Unetformer: A unet-like transformer for ef- ficient semantic segmentation of remote sensing urban scene imagery. ISPRS Journal of Photogrammetry and Re- mote Sensing, 190:196-214, 2022.
  20. [Lin et al., 2017] G. Lin, A. Milan, C. Shen, and I. Reid. Refinenet: Multi-path refinement networks for high- resolution semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, jul 2017.
  21. [Liu et al., 2023a] Yuheng Liu, Yifan Zhang, Ye Wang, and Shaohui Mei. Bitsrs: A bi-decoder transformer segmentor for high-spatial-resolution remote sensing images. Remote Sensing, 15:840, 2023.
  22. [Liu et al., 2023b] Yuheng Liu, Yifan Zhang, Ye Wang, and Shaohui Mei. Rethinking transformers for semantic seg- mentation of remote sensing images. IEEE Transactions on Geoscience and Remote Sensing, 61:1-15, 2023.
  23. [Long et al., 2015] Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for seman- tic segmentation. In Proceedings of the IEEE/CVF Con- ference on Computer Vision and Pattern Recognition, June 2015.
  24. [Minaee et al., 2022] Shervin Minaee, Yuri Boykov, Fatih Porikli, Antonio Plaza, Nasser Kehtarnavaz, and Demetri Terzopoulos. Image segmentation using deep learning: A survey. IEEE Transactions on Pattern Analysis and Ma- chine Intelligence, 44(7):3523-3542, 2022.
  25. [Pan et al., 2023] Huihui Pan, Yuanduo Hong, Weichao Sun, and Yisong Jia. Deep dual-resolution networks for real- time and accurate semantic segmentation of traffic scenes. IEEE Transactions on Intelligent Transportation Systems, 24(3):3448-3460, 2023.
  26. [Peng et al., 2022] Chengli Peng, Kaining Zhang, Yong Ma, and Jiayi Ma. Cross fusion net: A fast semantic segmen- tation network for small-scale semantic information cap- turing in aerial scenes. IEEE Transactions on Geoscience and Remote Sensing, 60:1-13, 2022.
  27. [Ronneberger et al., 2015] Olaf Ronneberger, Philipp Fis- cher, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical im- age computing and computer-assisted intervention, pages 234-241, 2015.
  28. [Sandler et al., 2018] Mark Sandler, Andrew G. Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottle- necks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4510- 4520, 2018.
  29. [Sun et al., 2019] Ke Sun, Bin Xiao, Dong Liu, and Jing- dong Wang. Deep high-resolution representation learn- ing for human pose estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5686-5696, 2019.
  30. [Xia et al., 2016] Fangting Xia, Peng Wang, Liang-Chieh Chen, and Alan L. Yuille. Zoom better to see clearer: Hu- man and object parsing with hierarchical auto-zoom net. In Proceedings of the European Conference on Computer Vision, pages 648-663, June 2016.
  31. [Xie et al., 2021] Enze Xie, Wenhai Wang, Zhiding Yu, An- ima Anandkumar, Jose M. Alvarez, and Ping Luo. Seg- former: Simple and efficient design for semantic segmen- tation with transformers. In Advances in Neural Informa- tion Processing Systems, volume 34, pages 12077-12090, 2021.
  32. [Xu et al., 2023] Jiacong Xu, Zixiang Xiong, and Shankar P. Bhattacharyya. Pidnet: A real-time semantic segmenta- tion network inspired by pid controllers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 19529-19539, June 2023.
  33. [Yu et al., 2018] Changqian Yu, Jingbo Wang, Chao Peng, Changxin Gao, Gang Yu, and Nong Sang. Bisenet: Bi- lateral segmentation network for real-time semantic seg- mentation. In Proceedings of the European Conference on Computer Vision, September 2018.
  34. [Zhang et al., 2022] Wenqiang Zhang, Zilong Huang, Guozhong Luo, Tao Chen, Xinggang Wang, Wenyu Liu, Gang Yu, and Chunhua Shen. Topformer: Token pyramid transformer for mobile semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12083-12093, June 2022.
  35. [Zhang et al., 2024] Li Zhang, Zhenshan Tan, Guo Zhang, Wen Zhang, and Zhijiang Li. Learn more and learn use- fully: Truncation compensation network for semantic seg- mentation of high-resolution remote sensing images. IEEE Transactions on Geoscience and Remote Sensing, 62:1- 14, 2024.
  36. [Zhao et al., 2017] Hengshuang Zhao, Jianping Shi, Xiao- juan Qi, Xiaogang Wang, and Jiaya Jia. Pyramid scene parsing network. In Proceedings of the IEEE/CVF Con- ference on Computer Vision and Pattern Recognition, July 2017.
  37. [Zhao et al., 2018] Hengshuang Zhao, Xiaojuan Qi, Xiaoy- ong Shen, Jianping Shi, and Jiaya Jia. Icnet for real-time semantic segmentation on high-resolution images. In Pro- ceedings of the European Conference on Computer Vision, September 2018.
  38. [Zhu et al., 2024] Peng Zhu, Xiangrong Zhang, Xiao Han, Puhua Chen, Xu Tang, Xina Cheng, and Licheng Jiao. High-resolution remote sensing image segmentation with global-guided normalization and local affinity distillation. IEEE Transactions on Geoscience and Remote Sensing, 62:1-12, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards