论文标题
自我监督的蒙版卷积变压器块,用于异常检测
Self-Supervised Masked Convolutional Transformer Block for Anomaly Detection
论文作者
论文摘要
在计算机视觉领域,异常检测最近引起了人们的关注,这可能是由于其广泛的应用程序从工业生产线上的产品故障检测以及视频监视中即将发生的事件检测到在医疗扫描中发现病变。不管域如何,通常将异常检测构架为一级分类任务,其中仅在正常示例上进行学习。整个成功的异常检测方法的家庭基于学习重建掩盖的正常输入(例如贴片,未来帧等),并施加重建误差的幅度,作为异常水平的指标。与其他基于重建的方法不同,我们提出了一种新颖的自我监督蒙面的卷积变压器块(SSMCTB),该卷积变压器块(SSMCTB)在核心架构层面上包括基于重建的功能。提出的自我监督块非常灵活,可以在神经网络的任何层面上掩盖信息,并与广泛的神经体系结构兼容。在这项工作中,我们扩展了以前的自我监管的预测性卷积专注块(SSPCAB),并具有3D掩盖的卷积层,频道关注的变压器以及基于Huber损失的新型自我监督目标。此外,我们表明我们的块适用于多种多样的任务,在医学图像和热视频中添加异常检测到基于RGB图像和监视视频的先前考虑的任务。我们通过将SSMCTB的一般性和灵活性整合到多种最新的神经模型中,以进行异常检测,从而实现了经验结果,从而证实了对五个基准的绩效改善。我们将代码和数据作为开源发布:https://github.com/ristea/ssmctb。
Anomaly detection has recently gained increasing attention in the field of computer vision, likely due to its broad set of applications ranging from product fault detection on industrial production lines and impending event detection in video surveillance to finding lesions in medical scans. Regardless of the domain, anomaly detection is typically framed as a one-class classification task, where the learning is conducted on normal examples only. An entire family of successful anomaly detection methods is based on learning to reconstruct masked normal inputs (e.g. patches, future frames, etc.) and exerting the magnitude of the reconstruction error as an indicator for the abnormality level. Unlike other reconstruction-based methods, we present a novel self-supervised masked convolutional transformer block (SSMCTB) that comprises the reconstruction-based functionality at a core architectural level. The proposed self-supervised block is extremely flexible, enabling information masking at any layer of a neural network and being compatible with a wide range of neural architectures. In this work, we extend our previous self-supervised predictive convolutional attentive block (SSPCAB) with a 3D masked convolutional layer, a transformer for channel-wise attention, as well as a novel self-supervised objective based on Huber loss. Furthermore, we show that our block is applicable to a wider variety of tasks, adding anomaly detection in medical images and thermal videos to the previously considered tasks based on RGB images and surveillance videos. We exhibit the generality and flexibility of SSMCTB by integrating it into multiple state-of-the-art neural models for anomaly detection, bringing forth empirical results that confirm considerable performance improvements on five benchmarks. We release our code and data as open source at: https://github.com/ristea/ssmctb.