Split Matching for Inductive Zero-shot Semantic Segmentation

Jialei Chen, Xu Zheng, Dongyue Li, Chong Yi, Seigo Ito, Danda Pani Paudel, Luc Van Gool, Hiroshi Murase, Daisuke DeguchiarXiv 2025 · DOI

Introduction

Zero-shot Semantic Segmentation (ZSS) aims to segment objects from "unseen" classes that were not present during the training phase. A significant challenge in this field is the "background trap": because unseen objects are often labeled as background during training, models learn to suppress their features. This paper introduces Split Matching (SM), a training strategy designed to decouple the matching of seen classes from the exploration of potential unseen objects, thereby preserving the model's ability to generalize.

Problem: The Background Trap

In standard query-based segmentation models, a Hungarian matching algorithm is used to assign predicted masks to ground-truth labels. If a predicted region does not match a "seen" class label, it is penalized as background. This bias causes the model to ignore features of unseen classes, treating them as irrelevant noise.

Comparison of existing query-based methods vs. the proposed Split Matching approach, illustrating how the latter identifies potential unseen objects.

Methodology

The proposed framework addresses the background trap through three main components: Split Matching, Multi-scale Feature Enhancement, and Random Queries.

Split Matching (SM)

The core innovation is the decoupling of the matching process. The model utilizes two sets of queries: Seen Queries ($Q_s$) and Candidate Queries ($Q_u$).

  • Seen Queries are matched against annotated ground-truth labels.
  • Candidate Queries are matched against "pseudo-masks" generated in unannotated regions using a frozen CLIP model and K-means clustering. By performing Hungarian matching independently for these two groups, the model can optimize for potential objects without them being suppressed by the high-confidence seen class signals.
Detailed architecture of the proposed method, highlighting the interaction between the CLIP Visual Encoder, the Transformer Decoder, and the Split Matching module.

Multi-scale Feature Enhancement (MFE)

To improve spatial detail, the authors introduce the MFE module. This module uses a residual multi-scale aggregation approach, incorporating group normalization and convolutions to refine the "key" and "value" features used by the transformer decoder. This helps the model better associate queries with specific image regions.

Random Query (RQ)

At inference, the model injects randomly initialized queries. These act as unbiased probes to detect objects that trained queries might miss due to residual training biases. T-SNE visualizations show that these random queries often land in "blind spots" of the feature space.

Experiments and Results

The method was evaluated on PASCAL VOC and COCO-Stuff benchmarks under the inductive setting, meaning the model had no access to unseen class names or embeddings during training.

  • PASCAL VOC: Achieved an hIoU of 85.3%, outperforming previous state-of-the-art (SOTA) methods like OTSeg by 0.8%.
  • COCO-Stuff: Achieved an hIoU of 42.5%, a 1.1% improvement over previous SOTA.

Ablation studies confirmed that Split Matching is the primary driver of performance, with its removal leading to a significant drop in hIoU (from 36.6% to 24.6% in baseline tests).

Conclusion

Split Matching effectively mitigates the background trap in zero-shot semantic segmentation by decoupling the optimization of seen and unseen regions. Combined with feature enhancement and random query strategies, it sets a new performance standard for inductive ZSS. Future work may involve refining pseudo-mask generation and extending the method to open-vocabulary settings.

Summary updated

BibTeX
@misc{chen2025split,
  author = {Jialei Chen and Xu Zheng and Dongyue Li and Chong Yi and Seigo Ito and Danda Pani Paudel and Luc Van Gool and Hiroshi Murase and Daisuke Deguchi},
  title = {{Split Matching for Inductive Zero-shot Semantic Segmentation}},
  year = {2025},
  eprint = {2505.05023},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.05023},
}
Figure