Context-Guided Spatial Feature Reconstruction for Efficient Semantic Segmentation

Zhenliang Ni, Xinghao Chen, Yingjie Zhai, Yehui Tang, Yunhe Wang
2/14/2026

No official code found. Best implementation: nizhenliang/CGRSeg (131 stars, Apache-2.0, last commit 2025-11-10).

Abstract

Semantic segmentation is an important task for numerous applications but it is still quite challenging to achieve advanced performance with limited computational costs. In this paper, we present CGRSeg, an efficient yet competitive segmentation framework based on context-guided spatial feature reconstruction. A Rectangular Self-Calibration Module is carefully designed for spatial feature reconstruction and pyramid context extraction. It captures the axial global context in both horizontal and vertical directions to explicitly model rectangular key areas. A shape self-calibration function is designed to make the key areas closer to foreground objects. Besides, a lightweight Dynamic Prototype Guided head is proposed to improve the classification of foreground objects by explicit class embedding. Our CGRSeg is extensively evaluated on ADE20K, COCO-Stuff, and Pascal Context benchmarks, and achieves state-of-the-art semantic performance. Specifically, it achieves $43.6\%$ mIoU on ADE20K with only $4.0$ GFLOPs, which is $0.9\%$ and $2.5\%$ mIoU better than SeaFormer and SegNeXt but with about $38.0\%$ fewer GFLOPs. Code is available at https://github.com/nizhenliang/CGRSeg.

View on arXivView PDF

Code Implementations(1)

nizhenliang/CGRSegCommunity100%
Apache-2.0

[ECCV 2024] Context-Guided Spatial Feature Reconstruction for Efficient Semantic Segmentation

1318Shell, PythonMay 8, 202411 months agoApache-2.0

Similar Papers

Cite this paper

@article{ni2026contextguided,
  title  = {Context-Guided Spatial Feature Reconstruction for Efficient Semantic Segmentation},
  author = {Zhenliang Ni and Xinghao Chen and Yingjie Zhai and Yehui Tang and Yunhe Wang},
  year   = {2026},
  eprint = {2405.06228},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.06228},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.06228.svg)](https://codeofpaper.com/paper/2405.06228)

Discussion