Skip to content

πŸ”₯ [AAAI'25] Official implementation of "Pixel Is Not A Barrier: An Effective Evasion Attack for Pixel-Domain Diffusion Models" https://alexpeng517.github.io/AtkPDM/

Notifications You must be signed in to change notification settings

AlexPeng517/AtkPDM

Repository files navigation

Pixel Is Not A Barrier: An Effective Evasion Attack for Pixel-Domain Diffusion Models (AtkPDM)

Python MIT license arXiv

Association for the Advancement of Artificial Intelligence (AAAI) 2025

Author: Chun-Yen Shih, Li-Xuan Peng, Jia-Wei Liao, Ernie Chu, Cheng-Fu Chou, Jun-Cheng Chen

πŸ”§ Setup

To set up the virtual environment and install the required packages, use the following commands:

virtualenv --python=python3.10 atkpdm
source atkpdm/bin/activate
pip install -r requirements.txt

πŸš€ Problem Overview

Diffusion-based image editing can generate high-quality image variation based on the clean input image. However, by adding carefully crafted perturbation to the clean image, the diffusion process will be disrupted, producing a corrupted image or unrelated image semantics to the original image.

twllm

πŸ’‘ Proposed Pipeline

Starting from the latent, z adv , of the initial adversarial image, we first decode back to pixel-domain to perform forward diffusion with both x and x adv and feed them to frozen victim UNet. We then extract the feature representation of the middle block in UNet to calculate our L attack , aiming to distract the recognition of image semantics. We also calculate our L fidelity in pixel-domain to constrain the optimization. Finally, the z adv is being alternatively updated by loss gradients.

twllm

🎯 Citation

If you use this code, please cite the following:

@inproceedings{shih2024atkpdm,
  title     = {Pixel Is Not A Barrier: An Effective Evasion Attack for Pixel-Domain Diffusion Models},
  author    = {Chun-Yen Shih and Li-Xuan Peng and Jia-Wei Liao and Ernie Chu and Cheng-Fu Chou and Jun-Cheng Chen},
  booktitle = {Annual AAAI Conference on Artificial Intelligence (AAAI)},
  year      = {2025},
}

About

πŸ”₯ [AAAI'25] Official implementation of "Pixel Is Not A Barrier: An Effective Evasion Attack for Pixel-Domain Diffusion Models" https://alexpeng517.github.io/AtkPDM/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages