Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation

Xiaowen Ma, Zhenliang Ni, Xinghao Chen
2/3/2026

No official code found. Best implementation: xwmaxwma/SSA-Seg (47 stars, last commit 2024-11-20).

Abstract

Vanilla pixel-level classifiers for semantic segmentation are based on a certain paradigm, involving the inner product of fixed prototypes obtained from the training set and pixel features in the test image. This approach, however, encounters significant limitations, \ie, feature deviation in the semantic domain and information loss in the spatial domain. The former struggles with large intra-class variance among pixel features from different images, while the latter fails to utilize the structured information of semantic objects effectively. This leads to blurred mask boundaries as well as a deficiency of fine-grained recognition capability. In this paper, we propose a novel Semantic and Spatial Adaptive Classifier (SSA-Seg) to address the above challenges. Specifically, we employ the coarse masks obtained from the fixed prototypes as a guide to adjust the fixed prototype towards the center of the semantic and spatial domains in the test image. The adapted prototypes in semantic and spatial domains are then simultaneously considered to accomplish classification decisions. In addition, we propose an online multi-domain distillation learning strategy to improve the adaption process. Experimental results on three publicly available benchmarks show that the proposed SSA-Seg significantly improves the segmentation performance of the baseline models with only a minimal increase in computational cost. Code is available at https://github.com/xwmaxwma/SSA-Seg.

View on arXivView PDF

Code Implementations(1)

xwmaxwma/SSA-SegCommunity100%

[NeurIPS2024] Official Pytorch Implementation of SSA-Seg

473Shell, PythonMay 8, 20241 years ago

Cite this paper

@article{ma2026semantic,
  title  = {Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation},
  author = {Xiaowen Ma and Zhenliang Ni and Xinghao Chen},
  year   = {2026},
  eprint = {2405.06525},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.06525},
  url    = {https://arxiv.org/abs/2405.06525},
  journal = {NEURIPS 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.06525.svg)](https://codeofpaper.com/paper/2405.06525)

Discussion