用细粒度注意力提升医学异常检测定位精度
MedSAD-CLIP: Supervised CLIP with Token-Patch Cross-Attention for Medical Anomaly Detection and Segmentation
- 引入词元-图像块交叉注意力,精确定位病灶区域
- 在四个数据集上实现像素级分割与分类双领先
- 适合有少量标注数据的临床异常检测场景
医学异常检测与分割对辅助临床诊断至关重要,可识别医学图像中的异常区域并定位病变部位。现有基于CLIP的研究在零样本/少样本设置下表现良好,但通常依赖全局表征和弱监督,导致定位粗糙、分割质量有限。本文针对临床中存在少量有意义标注数据的现实场景,提出监督式CLIP适应方法MedSAD-CLIP。该模型通过词元-图像块交叉注意力(TPCA)捕捉细粒度图文线索,提升病灶定位能力,同时保持CLIP的泛化性。轻量级图像适配器与可学习提示词高效适配预训练CLIP编码器,保留其丰富的语义对齐能力。此外,设计基于边距的图像-文本对比损失,增强正常与异常表征间的全局特征区分性。在脑部、视网膜、肺部和乳腺四个不同数据集上的大量实验表明,本方法在像素级分割和图像级分类任务上均优于当前最优方法,验证了监督式CLIP适配作为统一可扩展医学异常理解范式的潜力。
原文摘要 · Abstract (English)
Medical anomaly detection (MAD) and segmentation play a critical role in assisting clinical diagnosis by identifying abnormal regions in medical images and localizing pathological regions. Recent CLIP-based studies are promising for anomaly detection in zero-/few-shot settings, and typically rely on global representations and weak supervision, often producing coarse localization and limited segmentation quality. In this work, we study supervised adaptation of CLIP for MAD under a realistic clinical setting where a limited yet meaningful amount of labeled abnormal data is available. Our model MedSAD-CLIP leverages fine-grained text-visual cues via the Token-Patch Cross-Attention(TPCA) to improve lesion localization while preserving the generalization capability of CLIP representations. Lightweight image adapters and learnable prompt tokens efficiently adapt the pretrained CLIP encoder to the medical domain while preserving its rich semantic alignment. Furthermore, a Margin-based image-text Contrastive Loss is designed to enhance global feature discrimination between normal and abnormal representations. Extensive experiments on four diverse benchmarks-Brain, Retina, Lung, and Breast datasets-demonstrate the effectiveness of our approach, achieving superior performance in both pixel-level segmentation and image-level classification over state-of-the-art methods. Our results highlight the potential of supervised CLIP adaptation as a unified and scalable paradigm for medical anomaly understanding. Code will be made available at https://github.com/thuy4tbn99/MedSAD-CLIP
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。