BadGraph: A Backdoor Attack Against Latent Diffusion Model for Text-Guided Graph Generation

Read full text
Authors: Ye Liang, Shengqin Chen, Jiazhu Dai
Cited by: 0

Abstract

The rapid progress of graph generation has raised new security concerns, particularly regarding backdoor vulnerabilities. Though prior work has explored backdoor attacks against diffusion model for image or unconditional graph generation, those against conditional graph generation models, especially text-guided graph generation models remain largely unexamined. This paper proposes BadGraph, a backdoor attack method against latent diffusion models for text-guided graph generation. BadGraph leverages textual triggers to poison training data, covertly implanting backdoors that induce attacker-specified subgraphs during inference when triggers appear, while preserving normal performance on clean inputs. Extensive experiments on four benchmark datasets (PubChem, ChEBI-20, PCDes, MoMu) demonstrate the effectiveness and stealth of the attack: less than 10% poisoning rate can achieve 50% attack success rate, while 24% suffices for over 80% success rate, with negligible performance degradation on benign samples. Ablation studies further reveal that the backdoor is implanted during VAE and diffusion training rather than pretraining. These findings reveal the security vulnerabilities in latent diffusion models of text-guided graph generation, highlight the serious risks in models’ applications such as drug discovery and underscore the need for robust defenses against the backdoor attack in such diffusion models. The code is available on GitHub.

Fields of Study & Subjects

Advanced Graph Neural Networks Topic Modeling Adversarial Robustness in Machine Learning

Publication details

Journal / source
IEEE Access
Volume
14
Pages
61937–61957
Publication date
1 January 2026
Language
EN