Abstract
Anomaly synthesis is one of the effective methods to augment abnormal samplesfor training. However, current anomaly synthesis methods predominantly rely ontexture information as input, which limits the fidelity of synthesized abnormalsamples. Because texture information is insufficient to correctly depict thepattern of anomalies, especially for logical anomalies. To surmount thisobstacle, we present the AnomalyXFusion framework, designed to harnessmulti-modality information to enhance the quality of synthesized abnormalsamples. The AnomalyXFusion framework comprises two distinct yet synergisticmodules: the Multi-modal In-Fusion (MIF) module and the Dynamic Dif-Fusion(DDF) module. The MIF module refines modality alignment by aggregating andintegrating various modality features into a unified embedding space, termedX-embedding, which includes image, text, and mask features. Concurrently, theDDF module facilitates controlled generation through an adaptive adjustment ofX-embedding conditioned on the diffusion steps. In addition, to reveal themulti-modality representational power of AnomalyXFusion, we propose a newdataset, called MVTec Caption. More precisely, MVTec Caption extends 2.2kaccurate image-mask-text annotations for the MVTec AD and LOCO datasets.Comprehensive evaluations demonstrate the effectiveness of AnomalyXFusion,especially regarding the fidelity and diversity for logical anomalies. Projectpage: http:github.com/hujiecpp/MVTec-Caption