arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02554cs.CV
收藏

从视觉基础模型中实现可泛化的知识蒸馏用于语义分割

Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation

School of Artificial Intelligence, Xidian University, China(西安电子科技大学人工智能学院);Department of Information Engineering and Computer Science, University of Trento, Italy(特伦托大学信息工程与计算机科学系);Department of Automation, Tsinghua University, China(清华大学自动化系);School of Computer Science and Information Engineering, Hefei University of Technology, China(合肥工业大学计算机科学与信息工程学院)

Chonghua Lv, Dong Zhao, Shuang Wang, Dou Quan, Ning Huyan, Nicu Sebe, Zhun Zhong

AI总结:

本文提出GKD方法,通过多阶段框架提升视觉基础模型在语义分割中的领域外泛化能力,实验显示其在基础到基础和基础到局部蒸馏中均取得显著优势。

摘要:

知识蒸馏(KD)已被广泛应用于语义分割以压缩大型模型,但传统方法主要保持领域内准确性而忽视领域外泛化,这在分布偏移下是至关重要的。这一限制在视觉基础模型(VFMs)出现时变得更加严重:尽管VFMs在未见数据上表现出强鲁棒性,但用传统KD蒸馏它们往往会削弱这种能力。我们提出了可泛化的知识蒸馏(GKD),一种多阶段框架,旨在显式增强泛化能力。GKD将表示学习与任务学习解耦。在第一阶段,学生通过选择性特征蒸馏获得领域无关的表示,第二阶段这些表示被冻结以适应任务,从而减轻对可见领域的过拟合。为进一步支持迁移,我们引入了一种基于查询的软蒸馏机制,其中学生特征作为查询,向教师表示选择性检索可迁移的空间知识。在五个领域泛化基准上的广泛实验表明,GKD在基础到基础(F2F)和基础到局部(F2L)蒸馏中均优于现有KD方法,平均提升分别为+1.9%和+10.6%。代码将在https://github.com/Younger-hua/GKD上提供。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑