Skip to content

TERD: A Unified Framework to Defend Against Backdoor Attacks on Diffusion ModelsTERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors

arXiv· arXiv:2409.05294· Yichuan Mo, Hui Huang, Mingjie Li, Ang Li, Yisen Wang·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

Researchers propose the TERD framework to defend against backdoor attacks on diffusion models. The framework uniformly models existing backdoor attacks, thereby obtaining an accessible inversion loss, and adopts a trigger inversion strategy: first approximating the trigger with noise sampled from a prior distribution, then refining it through a differential multi-step sampler. Using the inverted trigger, TERD performs backdoor input detection from the noise space, which the authors call the first backdoor input detection method for diffusion models; they also propose a model detection algorithm that computes the KL divergence between the inversion distribution and the benign distribution. The paper reports that TERD achieves 100% TPR and TNR on datasets of different resolutions and can adapt to other SDE-based models; code is open-sourced at https://github.com/PKU-ML/TERD。

Read originalarxiv.org