DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model
By: Pasquale De Marinis , Pieter M. Blok , Uzay Kaymak and more
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.
Similar Papers
Adapting In-Domain Few-Shot Segmentation to New Domains without Retraining
CV and Pattern Recognition
Lets computers learn new things with less data.
Textual and Visual Guided Task Adaptation for Source-Free Cross-Domain Few-Shot Segmentation
CV and Pattern Recognition
Teaches computers to recognize new things without seeing them.
Self-Disentanglement and Re-Composition for Cross-Domain Few-Shot Segmentation
CV and Pattern Recognition
Helps computers learn new things with few examples.