Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lv, Chonghua, Zhao, Dong, Wang, Shuang, Quan, Dou, Huyan, Ning, Sebe, Nicu, Zhong, Zhun
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917308587311104
author Lv, Chonghua
Zhao, Dong
Wang, Shuang
Quan, Dou
Huyan, Ning
Sebe, Nicu
Zhong, Zhun
author_facet Lv, Chonghua
Zhao, Dong
Wang, Shuang
Quan, Dou
Huyan, Ning
Sebe, Nicu
Zhong, Zhun
contents Knowledge distillation (KD) has been widely applied in semantic segmentation to compress large models, but conventional approaches primarily preserve in-domain accuracy while neglecting out-of-domain generalization, which is essential under distribution shifts. This limitation becomes more severe with the emergence of vision foundation models (VFMs): although VFMs exhibit strong robustness on unseen data, distilling them with conventional KD often compromises this ability. We propose Generalizable Knowledge Distillation (GKD), a multi-stage framework that explicitly enhances generalization. GKD decouples representation learning from task learning. In the first stage, the student acquires domain-agnostic representations through selective feature distillation, and in the second stage, these representations are frozen for task adaptation, thereby mitigating overfitting to visible domains. To further support transfer, we introduce a query-based soft distillation mechanism, where student features act as queries to teacher representations to selectively retrieve transferable spatial knowledge from VFMs. Extensive experiments on five domain generalization benchmarks demonstrate that GKD consistently outperforms existing KD methods, achieving average gains of +1.9% in foundation-to-foundation (F2F) and +10.6% in foundation-to-local (F2L) distillation. The code will be available at https://github.com/Younger-hua/GKD.
format Preprint
id arxiv_https___arxiv_org_abs_2603_02554
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation
Lv, Chonghua
Zhao, Dong
Wang, Shuang
Quan, Dou
Huyan, Ning
Sebe, Nicu
Zhong, Zhun
Computer Vision and Pattern Recognition
Knowledge distillation (KD) has been widely applied in semantic segmentation to compress large models, but conventional approaches primarily preserve in-domain accuracy while neglecting out-of-domain generalization, which is essential under distribution shifts. This limitation becomes more severe with the emergence of vision foundation models (VFMs): although VFMs exhibit strong robustness on unseen data, distilling them with conventional KD often compromises this ability. We propose Generalizable Knowledge Distillation (GKD), a multi-stage framework that explicitly enhances generalization. GKD decouples representation learning from task learning. In the first stage, the student acquires domain-agnostic representations through selective feature distillation, and in the second stage, these representations are frozen for task adaptation, thereby mitigating overfitting to visible domains. To further support transfer, we introduce a query-based soft distillation mechanism, where student features act as queries to teacher representations to selectively retrieve transferable spatial knowledge from VFMs. Extensive experiments on five domain generalization benchmarks demonstrate that GKD consistently outperforms existing KD methods, achieving average gains of +1.9% in foundation-to-foundation (F2F) and +10.6% in foundation-to-local (F2L) distillation. The code will be available at https://github.com/Younger-hua/GKD.
title Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2603.02554