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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
NexusExplorer的应助被Liyuhong采纳,获得10
刚刚
鼠鼠完成签到,获得积分10
刚刚
蛋又白完成签到,获得积分10
1秒前
wanci的应助被Uuonnggi采纳,获得10
1秒前
xhl完成签到 ,获得积分10
1秒前
1秒前
1秒前
JiuJiu完成签到,获得积分10
1秒前
1秒前
Josephine完成签到,获得积分20
2秒前
2秒前
Hello的应助被尊敬鸿采纳,获得10
2秒前
2秒前
3秒前
沐风发布了新的文献求助20
3秒前
3秒前
3秒前
3秒前
月半完成签到,获得积分10
3秒前
郝子凯发布了新的文献求助10
4秒前
OK举报风吹麦浪的求助涉嫌违规
4秒前
可爱的函函的应助被JiuJiu采纳,获得10
4秒前
我是老大的应助被追寻思雁采纳,获得10
5秒前
开欣完成签到,获得积分10
5秒前
灵巧的嚣发布了新的文献求助10
5秒前
希望天下0贩的0的应助被羿_liu采纳,获得10
5秒前
精明念瑶完成签到,获得积分10
5秒前
Liyuhong完成签到,获得积分10
6秒前
7秒前
SciGPT的应助被吃个馍馍采纳,获得10
7秒前
7秒前
酷酷的破茧完成签到,获得积分10
8秒前
8秒前
li完成签到,获得积分10
9秒前
Hello的应助被Leo采纳,获得10
9秒前
精明念瑶发布了新的文献求助10
10秒前
10秒前
10秒前
11秒前
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1700
The World Atlas of Wine 9th edition 1000
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
八旗制度の研究 600
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8187652
求助须知:如何正确求助?哪些是违规求助? 9575758
关于积分的说明 21842805
捐赠科研通 7785538
什么是DOI,文献DOI怎么找? 3435073
关于科研通互助平台的介绍 2559480
邀请新用户注册赠送积分活动 2481963