DistillFSS: 将少量样本知识合成到轻量分割模型中
DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model
AI总结:
DistillFSS通过教师-学生蒸馏将少量样本知识嵌入模型参数,实现轻量快速的跨领域少样本分割,提升效率并扩展至新类别。
摘要:
跨领域少样本语义分割(CD-FSS)旨在仅使用少量标注示例对未知类别的未见领域进行分割。这种设置本身具有挑战性:源域和目标域存在显著的分布偏移,标签空间是不相交的,支撑图像稀缺——使标准周期方法不可靠且在测试时计算开销大。为了解决这些限制,我们提出了DistillFSS,一个通过教师-学生知识蒸馏过程将支撑集知识直接嵌入模型参数的框架。通过在学生网络中内化少量样本推理到专用层,DistillFSS消除了测试时对支撑图像的需要,实现了快速、轻量的推理,同时允许通过快速教师驱动的专业化高效扩展到未见领域的新型类别。结合微调,该方法能够高效扩展到大规模支撑集,并显著减少计算开销。为了在现实条件下评估该框架,我们引入了一个新的CD-FSS基准,涵盖医学影像、工业检测和遥感,具有不相交的标签空间和可变的支撑集大小。实验表明,DistillFSS在多类和多样本场景中匹配或超越了最先进的基线,同时提供了显著的效率提升。代码可在https://github.com/pasqualedem/DistillFSS上获得。
英文摘要:
Cross-Domain Few-Shot Semantic Segmentation (CD-FSS) seeks to segment unknown classes in unseen domains using only a few annotated examples. This setting is inherently challenging: source and target domains exhibit substantial distribution shifts, label spaces are disjoint, and support images are scarce--making standard episodic methods unreliable and computationally demanding at test time. To address these constraints, we propose DistillFSS, a framework that embeds support-set knowledge directly into a model's parameters through a teacher--student distillation process. By internalizing few-shot reasoning into a dedicated layer within the student network, DistillFSS eliminates the need for support images at test time, enabling fast, lightweight inference, while allowing efficient extension to novel classes in unseen domains through rapid teacher-driven specialization. Combined with fine-tuning, the approach scales efficiently to large support sets and significantly reduces computational overhead. To evaluate the framework under realistic conditions, we introduce a new CD-FSS benchmark spanning medical imaging, industrial inspection, and remote sensing, with disjoint label spaces and variable support sizes. Experiments show that DistillFSS matches or surpasses state-of-the-art baselines, particularly in multi-class and multi-shot scenarios, while offering substantial efficiency gains. The code is available at https://github.com/pasqualedem/DistillFSS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。