CVJun 30, 2025

MadCLIP: Few-shot Medical Anomaly Detection with CLIP

arXiv:2506.23810v19 citationsh-index: 18Has CodeMICCAI
Originality Highly original
AI Analysis

This addresses the problem of detecting anomalies in medical images with limited labeled data, offering a novel approach without synthetic data or memory banks.

The paper tackles few-shot anomaly detection in medical data by adapting the CLIP model for image-level classification and pixel-level segmentation, achieving superior performance over existing methods in same-dataset and cross-dataset evaluations.

An innovative few-shot anomaly detection approach is presented, leveraging the pre-trained CLIP model for medical data, and adapting it for both image-level anomaly classification (AC) and pixel-level anomaly segmentation (AS). A dual-branch design is proposed to separately capture normal and abnormal features through learnable adapters in the CLIP vision encoder. To improve semantic alignment, learnable text prompts are employed to link visual features. Furthermore, SigLIP loss is applied to effectively handle the many-to-one relationship between images and unpaired text prompts, showcasing its adaptation in the medical field for the first time. Our approach is validated on multiple modalities, demonstrating superior performance over existing methods for AC and AS, in both same-dataset and cross-dataset evaluations. Unlike prior work, it does not rely on synthetic data or memory banks, and an ablation study confirms the contribution of each component. The code is available at https://github.com/mahshid1998/MadCLIP.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes