Embedding Hidden Adversarial Capabilities in Pre-Trained Diffusion Models

Lucas Beerens, Desmond J. Higham
4/5/2025
cs.LGcs.AIcs.CR

Official code: LucasBeerens/CRAFTed-Diffusion (0 stars, MIT, last commit 2025-04-05).

Abstract

We introduce a new attack paradigm that embeds hidden adversarial capabilities directly into diffusion models via fine-tuning, without altering their observable behavior or requiring modifications during inference. Unlike prior approaches that target specific images or adjust the generation process to produce adversarial outputs, our method integrates adversarial functionality into the model itself. The resulting tampered model generates high-quality images indistinguishable from those of the original, yet these images cause misclassification in downstream classifiers at a high rate. The misclassification can be targeted to specific output classes. Users can employ this compromised model unaware of its embedded adversarial nature, as it functions identically to a standard diffusion model. We demonstrate the effectiveness and stealthiness of our approach, uncovering a covert attack vector that raises new security concerns. These findings expose a risk arising from the use of externally-supplied models and highlight the urgent need for robust model verification and defense mechanisms against hidden threats in generative models. The code is available at https://github.com/LucasBeerens/CRAFTed-Diffusion .

View on arXivView PDF

Code Implementations(1)

MIT
00Apr 5, 20251 years agoMIT

Similar Papers

Cite this paper

@article{beerens2025embedding,
  title  = {Embedding Hidden Adversarial Capabilities in Pre-Trained Diffusion Models},
  author = {Lucas Beerens and Desmond J. Higham},
  year   = {2025},
  eprint = {2504.08782},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.08782v1}
}

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/2504.08782.svg)](https://codeofpaper.com/paper/2504.08782)

Discussion