CAGEN: Controllable Anomaly Generator using Diffusion Model.

Bolin Jiang,Yuqiu Xie,Jiawei Li,Naiqi Li,Yong Jiang,Shu-Tao Xia
DOI: https://doi.org/10.1109/ICASSP48485.2024.10447663
2024-01-01
Abstract:Data augmentation has been widely applied in anomaly detection, which generates synthetic anomalous data for training. However, most existing anomaly augmentation methods focus on image-level cut-and-paste techniques, resulting in less realistic synthetic results, and are restricted to a few predefined patterns. In this paper, we propose our Controllable Anomaly Generator (CAGen) for anomaly data augmentation, which can generate high-quality images, and be flexibly controlled with text prompts. Specifically, our method fine-tunes a ControlNet model by using binary masks and textual prompts to control the spatial localization and style of generated anomalies. To further augment the resemblance between the generated features and normal samples, we propose a fusion method that integrates the generated anomalous features with the features of normal samples. Experiments on standard anomaly detection benchmarks show that the proposed data augmentation method significantly leads to a 0.4/3.1 improvement in the AUROC/AP metric.
What problem does this paper attempt to address?