arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.07495cs.CV

探索用于多类别无监督异常检测的普通 ViT 重建

Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detection

Youtu Lab, Tencent(腾讯优图实验室);Zhejiang University(浙江大学);Nanyang Technological University(南洋理工大学);University of California, Merced(加州大学默塞德分校)

Jiangning Zhang, Xuhai Chen, Yabiao Wang, Chengjie Wang, Yong Liu, Xiangtai Li, Ming-Hsuan Yang, Dacheng Tao

AI总结:

本文面向多类别无监督异常检测,提出仅用普通 ViT 特征的重建模型 ViTAD,在多个数据集上以更低训练成本取得最先进性能。

摘要:

本工作研究一个具有挑战性且实用的问题,即多类别无监督异常检测(MUAD)。该问题要求训练时仅使用正常图像,同时在多个类别上测试正常图像和异常图像。现有基于重建的方法通常采用金字塔形网络作为编码器和解码器,以获取多分辨率特征,这往往涉及复杂子模块以及大量手工工程。相比之下,具有更简单架构的普通 Vision Transformer(ViT)已在检测和分割任务等多个领域被证明有效。它更简单、更高效且更优雅。遵循这一精神,我们探索仅将普通 ViT 特征用于 MUAD。我们首先通过综合当前基于重建的方法,抽象出 Meta-AD 概念。随后,我们实例化了一种新颖的基于 ViT 的 ViTAD 结构,该结构从全局和局部两个视角进行增量式设计。该模型提供了一个强大的基线,以促进未来研究。此外,本文揭示了若干值得进一步研究的有趣发现。最后,我们使用八项指标对各种方法进行了全面且公平的基准评测。利用仅包含 MSE 损失的基础训练方案,ViTAD 在 MVTec AD、VisA 和 Uni-Medical 数据集上取得了最先进的结果与效率。例如,在 MVTec AD 数据集上达到 85.4 mAD,比 UniAD 高出 3.0;并且在单张 V100 上完成模型训练仅需 1.1 小时和 2.3G GPU 显存,可作为强大基线促进未来研究发展。完整代码位于 https://zhangzjn.github.io/projects/ViTAD/。

英文摘要:

This work studies a challenging and practical issue known as multi-class unsupervised anomaly detection (MUAD). This problem requires only normal images for training while simultaneously testing both normal and anomaly images across multiple classes. Existing reconstruction-based methods typically adopt pyramidal networks as encoders and decoders to obtain multi-resolution features, often involving complex sub-modules with extensive handcraft engineering. In contrast, a plain Vision Transformer (ViT) showcasing a more straightforward architecture has proven effective in multiple domains, including detection and segmentation tasks. It is simpler, more effective, and elegant. Following this spirit, we explore the use of only plain ViT features for MUAD. We first abstract a Meta-AD concept by synthesizing current reconstruction-based methods. Subsequently, we instantiate a novel ViT-based ViTAD structure, designed incrementally from both global and local perspectives. This model provide a strong baseline to facilitate future research. Additionally, this paper uncovers several intriguing findings for further investigation. Finally, we comprehensively and fairly benchmark various approaches using eight metrics. Utilizing a basic training regimen with only an MSE loss, ViTAD achieves state-of-the-art results and efficiency on MVTec AD, VisA, and Uni-Medical datasets. \Eg, achieving 85.4 mAD that surpasses UniAD by +3.0 for the MVTec AD dataset, and it requires only 1.1 hours and 2.3G GPU memory to complete model training on a single V100 that can serve as a strong baseline to facilitate the development of future research. Full code is available at https://zhangzjn.github.io/projects/ViTAD/.

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

↑