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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: De Marinis, Pasquale, Blok, Pieter M., Kaymak, Uzay, Brussee, Rogier, Vessio, Gennaro, Castellano, Giovanna
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915656546385920
author De Marinis, Pasquale
Blok, Pieter M.
Kaymak, Uzay
Brussee, Rogier
Vessio, Gennaro
Castellano, Giovanna
author_facet De Marinis, Pasquale
Blok, Pieter M.
Kaymak, Uzay
Brussee, Rogier
Vessio, Gennaro
Castellano, Giovanna
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_05613
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model
De Marinis, Pasquale
Blok, Pieter M.
Kaymak, Uzay
Brussee, Rogier
Vessio, Gennaro
Castellano, Giovanna
Computer Vision and Pattern Recognition
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.
title DistillFSS: Synthesizing Few-Shot Knowledge into a Lightweight Segmentation Model
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2512.05613