Boosting Zero-Shot Semantic Segmentation Performance on Unseen Categories with Key and Value Selection (KVS)

Yong Zhang, Mengze Li, Yuhua Zheng, Yuehua Li, Hongliang Ren, Jianjun Gu2025

Abstract

Zero-shot semantic segmentation (ZSSS) aims to address the reliance of traditional semantic segmentation models on large-scale annotated data, enabling generalization to unseen categories. Recently, the CLIP model, known for its strong generalization capability, has been widely applied in ZSSS tasks and demonstrated effective performance improvements. However, existing studies primarily focus on feature alignment and overall performance optimization, while neglecting the refinement at the image token level, which is crucial for enhancing model generalization. To address this, we propose a combination of the Key and Value Selection (KVS) algorithm and a stochastic training strategy, which together enhance token-level learning by selecting image tokens relevant to text features. Our approach achieves a balance in the prediction performance between seen and unseen categories with relatively low computational overhead. Experiments on the Pascal VOC and Pascal Context datasets validate the effectiveness of the KVS algorithm in achieving this balance.
BibTeX
@misc{zhang2025boosting,
  author = {Yong Zhang and Mengze Li and Yuhua Zheng and Yuehua Li and Hongliang Ren and Jianjun Gu},
  title = {{Boosting Zero-Shot Semantic Segmentation Performance on Unseen Categories with Key and Value Selection (KVS)}},
  year = {2025},
  doi = {10.1109/icia64617.2025.11277550},
}

Loading related content...

Figure