arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.13516cs.CVcs.AI
收藏

双向多模态提示学习与尺度感知训练用于少样本多类异常检测

Bidirectional Multimodal Prompt Learning with Scale-Aware Training for Few-Shot Multi-Class Anomaly Detection

Yonsei University(延世大学)

Yujin Lee, Sewon Kim, Daeun Moon, Seoyoon Jang, Hyunsoo Yoon

AI总结:

本文提出AnoPLe框架,通过双向交互文本与视觉提示,实现高效多类异常检测,在MVTec-AD等数据集上超越现有方法,且具备良好的泛化能力。

摘要:

少样本多类异常检测在工业中至关重要,其中只有少量正常样本可用而需检测多种物体类型。现有基于视觉-语言模型的方法依赖类别特定的异常描述或辅助模块,限制了可扩展性和计算效率。本文提出AnoPLe,一种轻量级多模态提示学习框架,不依赖异常类型文本描述或外部模块。AnoPLe通过文本与视觉提示的双向交互,使类别语义和实例级线索相互细化,形成类别条件表示,捕捉跨类别的共享正常模式。为增强定位,设计了基于全局和局部视图的尺度感知前缀,使提示能捕捉全局上下文和细粒度细节。此外,对齐损失将局部异常证据传播到全局特征,加强像素级和图像级预测之间的一致性。尽管其简单,AnoPLe在MVTec-AD、VisA和Real-IAD等数据集上表现优异,超越了现有方法,且保持高效且无需专家编写的异常描述。此外,AnoPLe能很好地泛化到未见异常,并有效扩展到医疗领域。

英文摘要:

Few-shot multi-class anomaly detection is crucial in real industrial settings, where only a few normal samples are available while numerous object types must be inspected. This setting is challenging as defect patterns vary widely across categories while normal samples remain scarce. Existing vision-language model-based approaches typically depend on class-specific anomaly descriptions or auxiliary modules, limiting both scalability and computational efficiency. In this work, we propose AnoPLe, a lightweight multimodal prompt learning framework that removes reliance on anomaly-type textual descriptions and avoids any external modules. AnoPLe employs bidirectional interactions between textual and visual prompts, allowing class semantics and instance-level cues to refine one another and form class-conditioned representations that capture shared normal patterns across categories. To enhance localization, we design a scale-aware prefix trained on both global and local views, enabling the prompts to capture both global context and fine-grained details. In addition, alignment loss propagates local anomaly evidence to global features, strengthening the consistency between pixel- and image-level predictions. Despite its simplicity, AnoPLe achieves strong performance on MVTec-AD, VisA, and Real-IAD under the few-shot multi-class setting, surpassing prior approaches while remaining efficient and free from expert-crafted anomaly descriptions. Moreover, AnoPLe generalizes well to unseen anomalies and extends effectively to the medical domain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑