本文提出 OneNIP,仅用一张正常图像提示即可重建正常特征并恢复异常特征,同时通过监督式细化器提升像素级分割,在 MVTec、BTAD 和 VisA 上取得优于以往方法的统一异常检测性能。
摘要:
使用自注意力 Transformer 的无监督重建网络,已在通过单一模型进行多类(统一)异常检测方面取得最先进性能。然而,这些自注意力重建模型主要作用于目标特征,由于其与上下文具有高度一致性,可能会对正常特征和异常特征都实现完美重建,从而导致异常检测失败。此外,由于在低空间分辨率的潜在空间中执行重建,这些模型往往会产生不准确的异常分割。为了使重建模型在保持高效率的同时增强其在统一异常检测中的泛化能力,我们提出了一种简单而有效的方法,仅用一张正常图像提示(One Normal Image Prompt,OneNIP)来重建正常特征并恢复异常特征。与以往工作不同,OneNIP 首次使得仅用一张正常图像提示即可重建或恢复异常,有效提升了统一异常检测性能。此外,我们提出了一种监督式细化器,通过同时使用真实正常图像和合成异常图像对重建误差进行回归,显著改善了像素级异常分割。OneNIP 在三个工业异常检测基准 MVTec、BTAD 和 VisA 上优于以往方法。代码和预训练模型可在 https://github.com/gaobb/OneNIP 获取。
英文摘要:
Unsupervised reconstruction networks using self-attention transformers have achieved state-of-the-art performance for multi-class (unified) anomaly detection with a single model. However, these self-attention reconstruction models primarily operate on target features, which may result in perfect reconstruction for both normal and anomaly features due to high consistency with context, leading to failure in detecting anomalies. Additionally, these models often produce inaccurate anomaly segmentation due to performing reconstruction in a low spatial resolution latent space. To enable reconstruction models enjoying high efficiency while enhancing their generalization for unified anomaly detection, we propose a simple yet effective method that reconstructs normal features and restores anomaly features with just One Normal Image Prompt (OneNIP). In contrast to previous work, OneNIP allows for the first time to reconstruct or restore anomalies with just one normal image prompt, effectively boosting unified anomaly detection performance. Furthermore, we propose a supervised refiner that regresses reconstruction errors by using both real normal and synthesized anomalous images, which significantly improves pixel-level anomaly segmentation. OneNIP outperforms previous methods on three industry anomaly detection benchmarks: MVTec, BTAD, and VisA. The code and pre-trained models are available at https://github.com/gaobb/OneNIP.
MAGIC: Few-Shot Mask-Guided Anomaly Inpainting with Prompt Perturbation, Spatially Adaptive Guidance, and Context Awareness
Department of AI Semiconductor Engineering, Hanyang University, Seoul, Korea(汉阳大学人工智能半导体工程系);Department of Electronic Engineering, Hanyang University, Seoul, Korea(汉阳大学电子工程系)
Not Just Object, But State: Compositional Incremental Learning without Forgetting
International School of Information Science & Engineering, Dalian University of Technology(大连理工大学信息科学与工程国际学院);MAIS&CRIPAC, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Kernel-Aware Graph Prompt Learning for Few-Shot Anomaly Detection
School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院)
PSMP-CLIP: Patch-Prompt SAM and Multi-Semantic Prompting for CLIP-Based Zero-Shot Anomaly Detection
Harbin Engineering University(哈尔滨工程大学);Key Laboratory of Advanced Marine Communication and Information Technology(先进海洋通信与信息技术重点实验室);University of Toronto(多伦多大学);Kanagawa University(神奈川大学)
GS-CLIP: Zero-shot 3D Anomaly Detection by Geometry-Aware Prompt and Synergistic View Representation Learning
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院)
Medical-Knowledge Driven Multiple Instance Learning for Classifying Severe Abdominal Anomalies on Prenatal Ultrasound
Medical Ultrasound Image Computing (MUSIC) Lab(医学超声图像计算(MUSIC)实验室);School of Biomedical Engineering(生物医学工程学院);Medical School(医学院);Shenzhen University(深圳大学);Shenzhen RayShape Medical Technology Co., Ltd(深圳RayShape医疗科技有限公司);Center for Medical Ultrasound(医学超声中心);The Affiliated Suzhou Hospital of Nanjing Medical University(南京医科大学附属苏州医院);Suzhou Municipal Hospital(苏州 municipal 医院);Gusu School(古苏学校);Nanjing Medical University(南京医科大学);The First Hospital of China Medical University(中国医科大学第一医院);Qilu Hospital of Shandong University(山东大学齐鲁医院);Nanjing Women and Children's Healthcare Hospital(南京妇女儿童保健医院);Women's Hospital of Naniing Medical University(南京医科大学妇女医院);Maternal and Child Health Hospital of Hubei Province(湖北省妇幼保健医院);Northwest Women’s and Children’s Hospital(西北妇女儿童医院);School of Artificial Intelligence(人工智能学院);National Engineering Laboratory for Big Data System Computing Technology(大数据系统计算技术国家工程实验室);School of Biomedical Engineering and Informatics(生物医学工程与信息学院)
VMAD: Visual-enhanced Multimodal Large Language Model for Zero-Shot Anomaly Detection
University of Science and Technology of China(中国科学技术大学);Northeastern University(东北大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
IAD-GPT: Advancing Visual Knowledge in Multimodal Large Language Model for Industrial Anomaly Detection
School of Computer Science & Software Engineering, Shenzhen University(深圳大学计算机科学与软件工程学院);School of Computing and Information Technology, Great Bay University(大亚湾大学计算机与信息科技学院);College of Computer Science, Nankai University(南开大学计算机学院);School of Artificial Intelligence, Shenzhen University(深圳大学人工智能学院);Guangdong Provincial Key Laboratory of Intelligent Information Processing, Shenzhen University(广东省智能信息处理重点实验室);National Engineering Laboratory of Big Data System Computing Technology, Shenzhen University(大数据系统计算技术国家工程实验室)
DevPrompt: Deviation-Based Prompt Learning for One-Normal ShotImage Anomaly Detection
Department of Electrical and Computer Engineering, Concordia University(电气与计算机工程系,康科迪亚大学);Computer Research Institute of Montreal (CRIM)(蒙特利尔计算机研究 institute)