Scalpel-SAM: A Semi-Supervised Paradigm for Adapting SAM to Infrared Small Object Detection
Zihan Liu, Xiangning Ren, Dezhang Kong, Yipeng Zhang, Meng Han
TL;DR
Scalpel-SAM addresses infrared small object detection under data scarcity by retooling SAM with a Hierarchical MoE Adapter that encodes physics-based priors through four white-box operators. The two-stage paradigm first distills SAM into an expert teacher using limited labeled data, then transfers knowledge to a lightweight downstream model via pseudo-labels, achieving near- or superior performance to fully supervised baselines with only 10% of labels. Extensive experiments across four IR-SOT datasets demonstrate strong data efficiency, and ablations justify the necessity of dynamic routing, white-box design, and adapter placement. This domain-principle-driven PEFT framework offers a practical path to adapting foundation models to other specialized, data-scarce domains such as medical imaging.
Abstract
Infrared small object detection urgently requires semi-supervised paradigms due to the high cost of annotation. However, existing methods like SAM face significant challenges of domain gaps, inability of encoding physical priors, and inherent architectural complexity. To address this, we designed a Hierarchical MoE Adapter consisting of four white-box neural operators. Building upon this core component, we propose a two-stage paradigm for knowledge distillation and transfer: (1) Prior-Guided Knowledge Distillation, where we use our MoE adapter and 10% of available fully supervised data to distill SAM into an expert teacher (Scalpel-SAM); and (2) Deployment-Oriented Knowledge Transfer, where we use Scalpel-SAM to generate pseudo labels for training lightweight and efficient downstream models. Experiments demonstrate that with minimal annotations, our paradigm enables downstream models to achieve performance comparable to, or even surpassing, their fully supervised counterparts. To our knowledge, this is the first semi-supervised paradigm that systematically addresses the data scarcity issue in IR-SOT using SAM as the teacher model.
