Unsupervised anomaly detection with localization has many practical applications when labeling is infeasible and, moreover, when anomaly examples are completely missing in the train data. While recently proposed models for such data setup achieve high accuracy metrics, their complexity is a limiting factor for real-time processing. In this paper, we propose a real-time model and analytically derive its relationship to prior methods. Our CFLOW-AD model is based on a conditional normalizing flow framework adopted for anomaly detection with localization. In particular, CFLOW-AD consists of a discriminatively pretrained encoder followed by a multi-scale generative decoders where the latter explicitly estimate likelihood of the encoded features. Our approach results in a computationally and memory-efficient model: CFLOW-AD is faster and smaller by a factor of 10x than prior state-of-the-art with the same input setting. Our experiments on the MVTec dataset show that CFLOW-AD outperforms previous methods by 0.36% AUROC in detection task, by 1.12% AUROC and 2.5% AUPRO in localization task, respectively. We open-source our code with fully reproducible experiments.
翻译:当标签不可行,而且火车数据完全缺少异常实例时,未经监督的异常点检测具有许多实际应用。虽然最近为这类数据设置提议的模型具有高精度度,但其复杂性是实时处理的一个限制因素。在本文中,我们建议采用实时模型,分析得出其与先前方法的关系。我们的CFLOOW-AD模型基于一个有条件的正常流框架,以通过本地化检测异常点探测异常点。特别是,CFLOW-AD 模型包括一个有区别的预设培训的编码器,然后是多尺度的基因解码器,后者明确估计编码特征的可能性。我们的方法在计算和记忆高效模型中的结果:CFLOW-AD比先前的状态和输入设置都快10x倍。我们对MVTec数据集的实验表明,CFLOW-AD的实验显示,在检测任务中,CFLOW-AD比AUROC高出0.36%的以往方法,在1.12%的AUROC和2.5%的AUPRO 任务中,分别以1.12%和2.5%的完全的开放的实验结果。