Manuscript Offprint

arXiv:2608.20229

Prompt-Conditioned Channel Attention for Hierarchical Feature Modulation toward Anatomy-Agnostic Segmentation

Mosharof Hossain, Md Rabiul Islam, Limon Halder, Erchin Serpedin, Md Kamrul Hasan

Abstract

Accurate and anatomically plausible medical image segmentation remains challenging due to low contrast, ambiguous boundaries, inter-patient variability, and modality-specific artifacts. Interactive segmentation using spatial prompts has emerged as a promising strategy to guide attention and improve localization, particularly in low-contrast or structurally ambiguous regions. However, existing methods typically restrict prompt integration to late-stage fusion and lack explicit mechanisms for channel-wise feature modulation, limiting their ability to capture deeper contextual and modality-specific variations across hierarchical representations. To address these limitations, we introduce Prompt-Conditioned Channel Attention (PCCA), a novel modulation mechanism that enables deep, hierarchical integration of semantic prompts within encoder-decoder segmentation networks. PCCA extracts compact channel descriptors from both image and prompt features via pooling, projects them into a shared latent space, and fuses them through a gated excitation unit to compute prompt-aware channel attention weights. These weights perform hierarchical channel-wise attention by adaptively reweighting feature responses at every network stage, enabling spatially selective and semantically enriched representations. Building on this mechanism, we propose PROMISE-Net (PROmpt Modulated Integration for SEgmentation), instantiated in two architectural variants: a convolutional model (PROMISE-CNN) and a transformer-based model (PROMISE-Txformer). Across ISIC-Lesion, Kvasir-Polyp, CAMUS-Cardiac, and Kvasir-Instrument benchmarks, integrating PCCA into PROMISE-CNN yielded relative IoU improvements of 10.4%, 8.7%, 0.8%, and 3.4% over baseline U-Net, while PROMISE-Txformer achieved corresponding gains of 7.6%, 23%, 2.1%, and 1.1% over baseline UNETR. These results demonstrate consistent cross-architectural, cross-modal, and cross-anatomical improvements, establishing PCCA coupled PROMISE-Net as a scalable and generalizable framework for prompt-aware feature modulation in medical image segmentation. The code is available at https://github.com/kamruleee51/PROMISENet.

Keywords:

Medical image segmentation , Prompt-conditioned attention , Hierarchical modulation , Interactive segmentation , Channel attention.

References (41)

  • parallel cnns and transformers for medical image segmentation
  • Medical Image Analysis 79, pp. 102444
  • causal cam for weakly supervised semantic segmentation on medical image
  • A challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC) (opens arXiv in a new tab)
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • a challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC) (opens arXiv in a new tab)
  • automatic dermoscopic skin lesion segmentation
  • a framework for concurrent skin lesion detection and recognition using a deep convolutional neural network with end-to-end dual encoders
  • Computers in Biology and Medicine 187, pp. 109719
  • transformers for 3d medical image segmentation
  • Convolution and swin transformer based deep learning architecture for cardiac segmentation
  • diagnostic and therapeutic tool segmentation dataset in gastrointestinal endoscopy
  • a segmented polyp dataset
  • bridging the gap between image-level and pixel-wise labels for weakly supervised medical image segmentation
  • IEEE Transactions on Medical Imaging 38 (9), pp. 2198–2210
  • weakly supervised medical image segmentation via pixel-level contrastive learning and dynamic mix augmentation
  • An efficient residual double-coding unet for medical image segmentation
  • uncertainty self-learning network for unsupervised skin lesion segmentation
  • SAM adaption for unified 2D echocardiography segmentation and ejection fraction calculation
  • transformer makes cnn work better for scribble-based medical image segmentation
  • Dual encoder and cross-attention fusion network for surgical instrument segmentation
  • Medical Image Analysis 42, pp. 60–88
  • convolutional networks for biomedical image segmentation
  • a review of deep learning solutions for medical image segmentation
  • Advances in Neural Information Processing Systems 33, pp. 7537–7547
  • UNet-like Mamba with rotational SSM module for medical image segmentation
  • a hybrid cnn-transformer framework for medical image segmentation
  • IEEE Transactions on Medical Imaging 40 (8), pp. 1990–2001
  • spatial-spectral mutual teaching and ensemble learning for scribble-supervised polyp segmentation
  • Bio-medical Materials and Engineering 26 (1_suppl), pp. S1345–S1351
  • you only look bounding box for polyp segmentation
  • enhancing pseudo labels for barely-supervised medical image segmentation
  • feature adaptive transformers for automated skin lesion segmentation
  • A multi-scale attention fusion network for automatic surgical instrument segmentation
  • Expert Systems with Applications 238, pp. 122024
  • learning from point annotations for 3d medical image segmentation using contextual regularization and cross knowledge distillation
  • IEEE Transactions on Medical Imaging 38 (9), pp. 2092–2103
  • a holistic strategy for medical image segmentation from scribble supervision
  • a new pu learning framework regularized by global consistency for scribble supervised cardiac segmentation
  • IEEE Transactions on Medical Imaging 43 (2), pp. 723–733
  • promoting scribble-based weakly-supervised semantic segmentation with its class label