DiffSafeMerge prevents backdoor transfer when merging diffusion models
DiffSafeMerge can mitigate inherited backdoors in merged diffusion checkpoints while preserving image quality
AI/ML arXiv 10 Aug 2026 Defense Prototype evidence
Published as “DiffSafeMerge: Mitigating Backdoor Inheritance in Diffusion Model Merging”
Why it matters
Provides a practical, attack-agnostic defense for safely merging public diffusion checkpoints without needing trigger information.
Summary
DiffSafeMerge (DSM) eliminates backdoor inheritance in diffusion model merging, achieving zero worst-target attack success rate (ASR) across four attacks, two datasets, and 21 target conditions where baseline merging had up to 100% ASR, while keeping image quality competitive (case-averaged FID 49.67 on CIFAR-10 and 164.07 on CelebA-HQ). The evidence comes from experiments on CIFAR-10 and CelebA-HQ with three random seeds, comparing against five prior merging and sanitization baselines.
What they found 2
- DSM eliminates all backdoor matches in the previously risky cases.
“DSM preserves the first 10 outcomes and records no target match in the remaining four over three seeds.”
- DSM attains the lowest case-averaged FID among methods that achieve zero worst-target ASR on both datasets.
“Only ANP and DSM have zero worst-target ASR on both datasets; DSM has lower case-averaged FID: 50.2 versus 243.4 on CIFAR-10 and 166.2 versus 418.0 on CelebAHQ.”
Caveats 2
- Clean quality is less uniform: CIFAR-10 FID ranges from 46.38 to 57.11, while the two CelebA-HQ VillanDiffusion cases reach 339.97 and 186.00.
- MaxFusion has lower FID in all three CelebA-HQ S1 cases, but fuses sources at inference rather than producing one checkpoint and retains target matches in S2.
What’s new here 4
- Introduces ratio-scanned stress-safe (R3S) scoring that uses fixed, attack-agnostic stress probes to assess source block risk.
- Applies clean-constrained shrinkage of suspicious contributions without redistributing weights.
- Operates with only a small unlabeled clean set and no knowledge of the compromised source, trigger, or target.
- Selects attenuation strength under a clean denoising-loss budget, preserving utility.