arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.13897cs.CV
收藏

用于异常检测的Transformer图像修复

Inpainting Transformer for Anomaly Detection

Fujitsu Technology Solutions GmbH(富士通科技解决方案股份有限公司)

Jonathan Pirnay, Keng Chai

摘要:

计算机视觉中的异常检测是指识别偏离正常图像集的图像。一种常见的方法是训练深度卷积自动编码器来修复图像的被覆盖部分,并将输出与原始图像进行比较。通过仅对无异常样本进行训练,假设模型无法正确重建异常区域。对于通过修复进行的异常检测,我们建议将来自潜在遥远区域的信息结合起来是有益的。特别是,我们把异常检测作为补丁修复问题,并建议用一种纯粹的基于自我注意力的方法来解决它,丢弃卷积。所提出的修复Transformer(InTra)被训练为在一个大的图像补丁序列中修复被覆盖的补丁,从而在输入图像的大区域上集成信息。当从头开始训练时,与不使用额外训练数据的其他方法相比,InTra在MVTec AD数据集上实现了与当前最先进水平相当的检测结果,并在分割方面超越了它们。

英文摘要:

Anomaly detection in computer vision is the task of identifying images which deviate from a set of normal images. A common approach is to train deep convolutional autoencoders to inpaint covered parts of an image and compare the output with the original image. By training on anomaly-free samples only, the model is assumed to not being able to reconstruct anomalous regions properly. For anomaly detection by inpainting we suggest it to be beneficial to incorporate information from potentially distant regions. In particular we pose anomaly detection as a patch-inpainting problem and propose to solve it with a purely self-attention based approach discarding convolutions. The proposed Inpainting Transformer (InTra) is trained to inpaint covered patches in a large sequence of image patches, thereby integrating information across large regions of the input image. When training from scratch, in comparison to other methods not using extra training data, InTra achieves results on par with the current state-of-the-art on the MVTec AD dataset for detection and surpassing them on segmentation.

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

↑