cs.CVNov 25, 2026

CIRKDV2: Cross-Image Relational Knowledge Distillation with Contextual Modeling for Efficient Semantic Segmentation

Authors: Chuanguang Yang, Yu Wang, Chengqing Yu, Xinqiang Yu, Weilun Feng, Yuqi Li, Zhulin An, Libo Huang, 

Organizations: Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China · Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China, and also with University of Chinese Academy of Sciences, Beijing 100049, China · Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China, and also with University of Chinese Academy of Sciences, Beijing 100049, China · Institute of Artificial Intelligence, Beihang University, Beijing, China · 

Abstract

Existing Knowledge Distillation (KD) methods for semantic segmentation often guide the student to mimic the teacher's structured information generated from an individual image. However, they ignore the global semantic relations across various images that are valuable for KD. This paper proposes Cross-Image Relational KD V2 (CIRKDV2), which focuses on transferring structured pixel-to-pixel, pixel-to-region, and channel-to-channel relations modeled from global images in the dataset. A large teacher network often constructs a well-structured feature space in terms of global contextual dependencies. CIRKDV2 makes the student mimic the better structured semantic relations of the teacher, thus improving the feature representational capability. Beyond relational distillation, we further propose contextual feature distillation by using context aggregation to augment student pixel embeddings to match the semantic level with the teacher. This avoids the semantic gap problem between the teacher and student occurred in traditional feature distillation studies. Experimental results on Cityscapes, ADE20K, Pascal VOC, and COCO-Stuff-164K demonstrate that CIRKDV2 outperforms the state-of-the-art semantic segmentation distillation methods by large margins across various network architectures. Our code and pre-trained models are publicly available at https://github.com/winycg/CIRKD.

Figures & tables

Explore similar work

CardsList
  1. The Surprising Effectiveness of Canonical Knowledge Distillation for Semantic Segmentation

    Apr 28, 2026Muhammad Ali, Kevin Alexander Laube, Madan Ravi Ganesh +3Image SegmentationFeature-Based Knowledge Distillation

  2. Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation

    Mar 3, 2026Chonghua Lv, Dong Zhao, Shuang Wang +4Domain Generalization for Semantic SegmentationKnowledge Distillation