cs.CVAug 21, 2026

SPARK-SAM: Learning How to Prompt and Respond for Infrared Small Target Segmentation

Authors: Aji Mao, Zhenming Peng, Bailin Mu, Tian Pu

Organizations: School of Information and Communication Engineering, University of Electronic Science and Technology of China

Abstract

Promptable segmentation models provide a reusable interface, but direct transfer to automatic infrared small-target segmentation (IRSTD) exposes a mismatch between spatial prompts and target-domain mask responses. In a diagnostic using target-covering loose-box prompts deterministically derived from test reference masks, the best official SAM2.1 results are only 4.69%, 1.64%, and 2.28% IoU on NUAA-SIRST, NUDT-SIRST, and IRSTD-1K. We introduce SPARK-SAM (Self-Prompt Adaptation with Response Knowledge for SAM), which learns target-domain response knowledge and conditions the decoder through an image-conditioned joint self-prompt state. Training combines benchmark-mask supervision with reliability-aware response guidance. SPARK-SAM achieves 75.78%, 86.49%, and 68.34% IoU with 0.726M additional parameters, ranking first on two benchmarks among 14 retrained SAM variants and adaptations evaluated as automatic image-to-mask methods. The staged IRSTD-1K diagnostic shows that response adaptation reaches most of the final IoU before the predicted points acquire reliable target grounding. Prompt supervision aligns the predicted prompt candidates with target locations, and frozen-weight interventions measure output sensitivity to the joint self-prompt state. Matched ablations show consistent accuracy gains from response guidance and high-resolution prompt refinement across all three datasets. Code is available at https://github.com/Sakauma/SPARK-SAM.

Figures & tables

Explore similar work

CardsList
  1. IP-SAM: Rethinking Prompt-Conditioned Segmentation for Prompt-Absent Deployment

    Mar 28, 2026Huiyao Zhang, Jin Bai, Rui Guo +3Image SegmentationPromptable Image Segmentation

  2. BALD-SAM: Disagreement-based Active Prompting in Interactive Segmentation

    Mar 11, 2026Prithwijit Chowdhury, Mohit Prabhushankar, Ghassan AlRegibPromptable Image SegmentationActive Learning

  3. Learning from Noisy Prompts: Saliency-Guided Prompt Distillation for Robust Segmentation with SAM

    Apr 25, 2026Jingxuan Kang, Ziqi Zhang, Shaoming Zheng +9Medical Imaging Foundation ModelsPromptable Image Segmentation