Adapting Visual-Language Models for Generalizable Anomaly Detection in Medical Images
Chaoqin Huang, Aofan Jiang, Jinghao Feng, Ya Zhang, Xinchao Wang, Yanfeng Wang
Abstract
Recent advancements in large-scale visual-language pre-trained models have led to significant progress in zero-/few-shot anomaly detection within natural image domains. However, the substantial domain divergence between natural and medical images limits the effectiveness of these methodologies in medical anomaly detection. This paper introduces a novel lightweight multi-level adaptation and comparison framework to repurpose the CLIP model for medical anomaly detection. Our approach integrates multiple residual adapters into the pre-trained visual encoder, enabling a stepwise enhancement of visual features across different levels. This multi-level adaptation is guided by multi-level, pixel-wise visual-language feature alignment loss functions, which recalibrate the model's focus from object semantics in natural imagery to anomaly identification in medical images. The adapted features exhibit improved generalization across various medical data types, even in zero-shot scenarios where the model encounters unseen medical modalities and anatomical regions during training. Our experiments on medical anomaly detection benchmarks demonstrate that our method significantly surpasses current state-of-the-art models, with an average AUC improvement of 6.24% and 7.33% for anomaly classification, 2.03% and 2.37% for anomaly segmentation, under the zero-shot and few-shot settings, respectively. Source code is available at: https://github.com/MediaBrain- SJTU/MVFA-AD
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
38 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data Contamination cites Towards Total Recall in Industrial Anomaly Detection
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data Contamination cites Learning Transferable Visual Models From Natural Language Supervision
- One-to-Normal: Anomaly Personalization for Few-shot Anomaly Detection cites High-Resolution Image Synthesis with Latent Diffusion Models
- One-to-Normal: Anomaly Personalization for Few-shot Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- One-to-Normal: Anomaly Personalization for Few-shot Anomaly Detection cites Learning Transferable Visual Models From Natural Language Supervision
- MedCLIPSeg: Probabilistic Vision-Language Adaptation for Data-Efficient and Generalizable Medical Image Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
- Open-vocabulary Object Detection via Vision and Language Knowledge Distillation cites Learning Transferable Visual Models From Natural Language Supervision
- MedCLIP: Contrastive Learning from Unpaired Medical Images and Text cites Learning Transferable Visual Models From Natural Language Supervision
- Normal-Abnormal Guided Generalist Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- Normal-Abnormal Guided Generalist Anomaly Detection cites One-to-Normal: Anomaly Personalization for Few-shot Anomaly Detection
- Text-Promptable Propagation for Referring Medical Image Sequence Segmentation cites MedCLIP: Contrastive Learning from Unpaired Medical Images and Text
Cited by top-tier papers38
- Normal-Abnormal Guided Generalist Anomaly DetectionYuexin Wang, Xiaolei Wang, Yizheng Gong, Jimin XiaoNeurIPS 2025 · 16 citations
- One-to-Normal: Anomaly Personalization for Few-shot Anomaly DetectionYiyue Li, Shaoting Zhang, Kang Li, Qicheng LaoNeurIPS 2024 · 14 citations
- Text-Promptable Propagation for Referring Medical Image Sequence SegmentationRuntian Yuan, Mohan Chen, Jilan Xu, Ling Zhou et al.ACM MM 2025 · 6 citations
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data ContaminationSukanya Patra, Souhaib Ben TaiebNeurIPS 2025 · 4 citations
- MedCLIPSeg: Probabilistic Vision-Language Adaptation for Data-Efficient and Generalizable Medical Image SegmentationTaha Koleilat, Hojat Asgariandehkordi, Omid Nejatimanzari, Berardino Barile et al.CVPR 2026 · 4 citations
Builds on25
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- Open-vocabulary Object Detection via Vision and Language Knowledge DistillationXiuye Gu, Tsung-Yi Lin, Weicheng Kuo, Yin CuiICLR 2022 · 1,274 citations
- MedCLIP: Contrastive Learning from Unpaired Medical Images and TextZifeng Wang, Zhenbang Wu, Dinesh Agarwal, Jimeng SunEMNLP 2022 · 907 citations
Related papers
- AdaptCLIP: Adapting CLIP for Universal Visual Anomaly DetectionBin-Bin Gao, Yue Zhou, Jiangtao Yan, Yuezhi Cai et al.AAAI 2026 · 21 citations
- MedSAD-CLIP: Supervised CLIP with Token-Patch Cross-Attention for Medical Anomaly Detection and SegmentationThuy Truong Tran, Minh Kha Do, Phuc Nguyen Duy, Min Hun LeeCVPR Findings 2026
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
- SimCLIP: Refining Image-Text Alignment with Simple Prompts for Zero-/Few-shot Anomaly DetectionChenghao Deng, Haote Xu, Xiaolu Chen, Haodi Xu et al.ACM MM 2024 · 10 citations
- AF-CLIP: Zero-Shot Anomaly Detection via Anomaly-Focused CLIP AdaptationQingqing Fang, Wenxi Lv, Qinliang SuACM MM 2025 · 17 citations
