CADiff: Context-Aware Diffusion for Controllable Anomaly Generation in Anomaly Detection
Proceedings of the AAAI Conference on Artificial Intelligence · 14.03.2026 · 40 (12) · 9557-9565
DOI: 10.1609/aaai.v40i12.37917 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 14.03.2026. Verfasst von Xuan Tong und 8 weiteren Autor:innen.
Abstract (Originalsprache)
Generating anomalies is a crucial method to enhance detection and classification performance by expanding anomalous data repository. However, existing anomaly generation methods overlook the intrinsic entanglement between diverse anomaly types and product structures, leading to semantic ambiguity. We propose CADiff, a context-aware generation framework that reframes anomalies as compositional perturbations. Firstly, we propose Context-aware Text Prompt (CTP), a mechanism which contains multiple tokens that characterize anomalies and products separately to enhance the contextual consistency of generated images and refine the local variability of anomalies. Secondly, we develop Self-adaptive Spatial Control (SSC), a self-adaptive interaction design that mitigates anomaly leakage or missing phenomena. Thirdly, we introduce Intensity-controllable Attention Re-weighting (IAR), an inference scheduling scheme with the ability to amplify or attenuate abnormal semantic effects to improve generation diversity. Extensive experiments on MVTec AD and VisA datasets demonstrate the superiority of our proposed method over state-of-the-art methods in both realism and diversity of the generated results, and significantly improve the performance of downstream tasks, including anomaly detection, anomaly localization, and anomaly classification tasks.
Zitieren
APA
Tong, X., Lin, Y., Lin, J., Mai, X., Wang, H., Tao, Z., Yao, Y., Wang, R., & Zhang, W. (2026). CADiff: Context-Aware Diffusion for Controllable Anomaly Generation in Anomaly Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 40(12), 9557-9565. https://doi.org/10.1609/aaai.v40i12.37917
Vancouver
Tong X, Lin Y, Lin J, Mai X, Wang H, Tao Z, et al. CADiff: Context-Aware Diffusion for Controllable Anomaly Generation in Anomaly Detection. Proceedings of the AAAI Conference on Artificial Intelligence. 2026;40(12):9557-9565. doi:10.1609/aaai.v40i12.37917
BibTeX
@article{Tong2026,
author = {Tong, Xuan and Lin, Yuxuan and Lin, Junxiong and Mai, Xinji and Wang, Haoran and Tao, Zeng and Yao, Yang and Wang, Ruofan and Zhang, Wenqiang},
title = {CADiff: Context-Aware Diffusion for Controllable Anomaly Generation in Anomaly Detection},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2026},
volume = {40},
number = {12},
pages = {9557--9565},
doi = {10.1609/aaai.v40i12.37917}
}
EUVIMED