Double Helix Diffusion for Cross-Domain Anomaly Image Generation

Linchun Wu, Qin Zou, Xianbiao Qi, Bo Du, Zhongyuan Wang +1 more
9/16/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Visual anomaly inspection is critical in manufacturing, yet hampered by the scarcity of real anomaly samples for training robust detectors. Synthetic data generation presents a viable strategy for data augmentation; however, current methods remain constrained by two principal limitations: 1) the generation of anomalies that are structurally inconsistent with the normal background, and 2) the presence of undesirable feature entanglement between synthesized images and their corresponding annotation masks, which undermines the perceptual realism of the output. This paper introduces Double Helix Diffusion (DH-Diff), a novel cross-domain generative framework designed to simultaneously synthesize high-fidelity anomaly images and their pixel-level annotation masks, explicitly addressing these challenges. DH-Diff employs a unique architecture inspired by a double helix, cycling through distinct modules for feature separation, connection, and merging. Specifically, a domain-decoupled attention mechanism mitigates feature entanglement by enhancing image and annotation features independently, and meanwhile a semantic score map alignment module ensures structural authenticity by coherently integrating anomaly foregrounds. DH-Diff offers flexible control via text prompts and optional graphical guidance. Extensive experiments demonstrate that DH-Diff significantly outperforms state-of-the-art methods in diversity and authenticity, leading to significant improvements in downstream anomaly detection performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2025double,
  title  = {Double Helix Diffusion for Cross-Domain Anomaly Image Generation},
  author = {Linchun Wu and Qin Zou and Xianbiao Qi and Bo Du and Zhongyuan Wang and Qingquan Li},
  year   = {2025},
  eprint = {2509.12787},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.12787v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.12787.svg)](https://codeofpaper.com/paper/2509.12787)

Discussion