Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model

About

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.

Pasquale De Marinis, Pieter M. Blok, Uzay Kaymak, Rogier Brussee, Gennaro Vessio, Giovanna Castellano• 2025

Related benchmarks

TaskDatasetResultRank
Few-shot SegmentationMultiple Datasets
Inference Time (ms)47
105
Semantic segmentationISIC (test)
mIoU2.34e+3
59
Semantic segmentationKvasir-SEG (test)
IoU61.87
51
Semantic segmentationLung Nodule (test)
mIoU24.28
44
Semantic segmentationNucleus (test)
mIoU79.96
44
Semantic segmentationWeedMap (test)
mIoU64.18
44
Semantic segmentationPothole-mix (test)
mIoU3.20e+3
44
Semantic segmentationIndustrial-5i (test)
mIoU48.19
44
Showing 8 of 8 rows

Other info

Follow for update