arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01905cs.CV
收藏

通过双重条件扩散细化增强多类别异常检测

Enhancing Multi-Class Anomaly Detection via Diffusion Refinement with Dual Conditioning

Tencent Youtu Lab(腾讯优图实验室)

Jiawei Zhan, Jinxiang Lai, Bin-Bin Gao, Jun Liu, Xiaochen Chen, Chengjie Wang

AI总结:

针对单类别模型泛化不足及特征重建易复制异常、结果模糊的问题,本文提出结合扩散模型与 transformer 的双重条件图像修复框架,并通过时空融合提升多类别异常检测性能。

摘要:

异常检测是一种仅使用正常样本识别异常样本的技术,已在工业界引起广泛兴趣。现有的每类别一个模型方法由于聚焦单一类别,往往存在泛化能力有限的问题,并且在遇到产品变化时可能失效。近期的特征重建方法作为单模型覆盖所有类别方案的代表,面临包括重建异常样本和重建结果模糊在内的挑战。本文创造性地将扩散模型与 transformer 相结合,用于多类别异常检测。该方法利用扩散获取高频信息以进行细化,在保持反向扩散过程采样效率的同时,显著缓解重建模糊问题。任务被转化为图像修复,以断开输入与输出之间的关联,从而缓解“同一捷径”问题,并避免模型重建异常样本。此外,我们使用双重条件引入类别感知,以确保反向扩散过程中预测和重建的准确性,防止过度偏离目标类别,从而有效实现多类别异常检测。另外,还采用时空融合来融合在不同时间步和尺度上预测的热图,提升多类别异常检测性能。在基准数据集上的大量实验表明,与其他方法相比,本文提出的方法具有优越性能和出色的多类别异常检测能力。

英文摘要:

Anomaly detection, the technique of identifying abnormal samples using only normal samples, has attracted widespread interest in industry. Existing one-model-per-category methods often struggle with limited generalization capabilities due to their focus on a single category, and can fail when encountering variations in product. Recent feature reconstruction methods, as representatives in one-model-all-categories schemes, face challenges including reconstructing anomalous samples and blurry reconstructions. In this paper, we creatively combine a diffusion model and a transformer for multi-class anomaly detection. This approach leverages diffusion to obtain high-frequency information for refinement, greatly alleviating the blurry reconstruction problem while maintaining the sampling efficiency of the reverse diffusion process. The task is transformed into image inpainting to disconnect the input-output correlation, thereby mitigating the "identical shortcuts" problem and avoiding the model from reconstructing anomalous samples. Besides, we introduce category-awareness using dual conditioning to ensure the accuracy of prediction and reconstruction in the reverse diffusion process, preventing excessive deviation from the target category, thus effectively enabling multi-class anomaly detection. Futhermore, Spatio-temporal fusion is also employed to fuse heatmaps predicted at different timesteps and scales, enhancing the performance of multi-class anomaly detection. Extensive experiments on benchmark datasets demonstrate the superior performance and exceptional multi-class anomaly detection capabilities of our proposed method compared to others.

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

↑