AF-CLIP: Zero-Shot Anomaly Detection via Anomaly-Focused CLIP Adaptation

计算机科学 异常检测 人工智能 光学(聚焦) 一般化 限制 模式识别(心理学) 适应(眼睛) 计算机视觉 机器学习 目标检测 目视检查 可视化 编码(集合论) 特征提取 冗余(工程) 训练集 图像(数学) 对比度(视觉) 数据挖掘 特征(语言学) 空间分析
作者
Qianan Fang,Wenxi Lv,Qinliang Su
标识
DOI:10.1145/3746027.3755635
摘要

Visual anomaly detection has been widely used in industrial inspection and medical diagnosis. Existing methods typically demand substantial training samples, limiting their utility in zero-/few-shot scenarios. While recent efforts have leveraged CLIP's zero-shot recognition capability for this task, they often ignore optimizing visual features to focus on local anomalies, reducing their efficacy. In this work, we propose AF-CLIP (Anomaly-Focused CLIP) by dramatically enhancing its visual representations to focus on local defects. Our approach introduces a lightweight adapter that emphasizes anomaly-relevant patterns in visual features, simultaneously optimizing both class-level features for image classification and patch-level features for precise localization. To capture anomalies of different sizes and improve detection accuracy, prior to the adapter, we develop a multi-scale spatial aggregation mechanism to effectively consolidate neighborhood context. Complementing these visual enhancements, we design learnable textual prompts that generically characterize normal and abnormal states. After optimization on auxiliary datasets using a composite objective function, AF-CLIP demonstrates strong zero-shot detection capability. Our method is also extended to few-shot scenarios by extra memory banks. Experimental results across diverse industrial and medical datasets demonstrate the effectiveness and generalization of our proposed method. Code is available at https://github.com/Faustinaqq/AF-CLIP.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
sunny发布了新的文献求助10
1秒前
Neaco发布了新的文献求助10
1秒前
MaynardW完成签到,获得积分10
1秒前
刘兆亮完成签到 ,获得积分10
1秒前
2秒前
muzi发布了新的文献求助10
2秒前
2秒前
corleeang发布了新的文献求助10
2秒前
可爱的函函应助海绵宝宝采纳,获得10
3秒前
优秀水蓝应助大观天下采纳,获得30
3秒前
科研通AI6.4应助nWhispers采纳,获得10
3秒前
东方元语应助杨树采纳,获得20
4秒前
echo617发布了新的文献求助10
4秒前
西西发布了新的文献求助10
5秒前
5秒前
绝世容颜完成签到,获得积分10
5秒前
5秒前
我的小小城完成签到,获得积分10
6秒前
柳柳完成签到,获得积分10
6秒前
xiang完成签到,获得积分10
7秒前
sunny完成签到,获得积分20
7秒前
赘婿应助卡瓦丽咔采纳,获得10
8秒前
四卯发布了新的文献求助20
8秒前
mucheng发布了新的文献求助10
8秒前
无心的衫完成签到,获得积分10
8秒前
9秒前
长点脑子行不行完成签到 ,获得积分10
9秒前
柳柳发布了新的文献求助10
9秒前
10秒前
10秒前
THEL1GHT发布了新的文献求助10
11秒前
阳光热狗完成签到,获得积分10
13秒前
科研通AI6.4应助pianokjt采纳,获得10
13秒前
善良的剑通完成签到,获得积分10
14秒前
14秒前
科研通AI6.4应助mia采纳,获得10
14秒前
俏皮的松鼠完成签到,获得积分10
15秒前
顾矜应助温暖静柏采纳,获得10
16秒前
小二郎应助sinyour采纳,获得10
16秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Molecular Mechanisms of Photosynthesis, 4th Edition 1000
Organic Reactions, Volume 116 1000
Current concepts in cutaneous toxicity : proceedings of the Fourth Conference on Cutaneous Toxicity, Washington, D.C., May 9-11, 1979 1000
The recovery-stress questionnaires : user manual 800
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7258799
求助须知:如何正确求助?哪些是违规求助? 8880749
关于积分的说明 18764063
捐赠科研通 6939238
什么是DOI,文献DOI怎么找? 3201441
关于科研通互助平台的介绍 2375349
邀请新用户注册赠送积分活动 2177216