Free Lunch of Image-mask Alignment for Anomaly Image Generation and Segmentation
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1449-1457.
https://doi.org/10.24963/ijcai.2025/162
Keywords
- Computer Vision: CV: Segmentation, grouping and shape analysis
Abstract
This paper aims at generating anomalous images and their segmentation labels to address the lack of real-world anomaly samples and privacy issues. Departing from conventional approaches that use masks solely to guide the generation of anomaly images, we propose a dual-branch training strategy for the generative model. This strategy enables the simultaneous production of anomaly images and masks, with an alignment regularization loss that ensures the coherence between the generated images and their masks. During inference, only the image-generation branch is activated to produce synthetic samples for training the downstream segmentation model. Furthermore, we propose to integrate the well-trained generative model into the training of segmentation models, utilizing a generative feedback loss to refine the segmentation model's performance. Experiments show our method's IoU metrics exceed previous methods by 5.03%, 5.68% and 16.63% on Real-IAD (industrial), polyp (medical), and Floor Dirty (indoor) datasets. The code is publicly accessible at https://github.com/huan-yin/anomaly-alignment.
@inproceedings{ijcai2025p162,
title = {Free Lunch of Image-mask Alignment for Anomaly Image Generation and Segmentation},
author = {Li, Xiangyue and Wang, Xiaoyang and Wan, Zhibin and Zhang, Quan and Wu, Yupei and Deng, Tao and Sun, Mingjie},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {1449--1457},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/162},
url = {https://doi.org/10.24963/ijcai.2025/162},
}
TY - CPAPER TI - Free Lunch of Image-mask Alignment for Anomaly Image Generation and Segmentation AU - Li, Xiangyue AU - Wang, Xiaoyang AU - Wan, Zhibin AU - Zhang, Quan AU - Wu, Yupei AU - Deng, Tao AU - Sun, Mingjie T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 1449 EP - 1457 DO - 10.24963/ijcai.2025/162 UR - https://doi.org/10.24963/ijcai.2025/162 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: