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

Chuanguang Yang, Yu Wang, Chengqing Yu, Xinqiang Yu, Weilun Feng +10 more
11/25/2026
cs.CV
distillation

Official code: winycg/CIRKD (214 stars, Python, last commit 2025-08-29).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

winycg/CIRKDOfficial100%

Official implementations of CIRKD: Cross-Image Relational Knowledge Distillation for Semantic Segmentation and implementations on Cityscapes, ADE20K, COCO-Stuff., Pascal VOC and CamVid.

21429Python, ShellMar 12, 20221 years ago

Similar Papers

Cite this paper

@article{yang2026cirkdv,
  title  = {CIRKDV2: Cross-Image Relational Knowledge Distillation with Contextual Modeling for Efficient Semantic Segmentation},
  author = {Chuanguang Yang and Yu Wang and Chengqing Yu and Xinqiang Yu and Weilun Feng and Yuqi Li and Zhulin An and Libo Huang and Boyu Diao and Fei Wang and Fuzhen Zhuang and Yongjun Xu and Yingli Tian and Tingwen Huang and Yongduan Song},
  year   = {2026},
  eprint = {2611.34795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34795v1}
}

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/2611.34795.svg)](https://codeofpaper.com/paper/2611.34795)

Discussion