ZOMIN28 / DF_RAP

[TIFS 2024] DF-RAP: A Robust Adversarial Perturbation for Defending against Deepfakes in Real-world Social Network Scenarios
6 stars 0 forks source link

DF-RAP: A Robust Adversarial Perturbation for Defending against Deepfakes in Real-world Social Network Scenarios

Implementation of "DF-RAP: A Robust Adversarial Perturbation for Defending against Deepfakes in Real-world Social Network Scenarios".

Real-world Scenarios

Usage

You can follow demo.ipynb to implement robust adversarial attacks against Deepfakes.

Pretrained model

The pretrained model of ComGAN and PertG is available in ComGAN & PertG. Put them in DF-RAP/checkpoints/ .

The pretrained model of SimSwap and Arcface is available in SimSwap (old). Put them in DF-RAP/SimSwap/arcface_model/ and DF-RAP/SimSwap/checkpoints/ .

The pretrained model of StarGAN is available in StarGAN. Put it in DF-RAP/checkpoints/stargan_celeba_256/models/.

Acknowledges

Our work is based on:

[1] https://github.com/mlomnitz/DiffJPEG

[2] https://github.com/yunjey/stargan

[3] https://github.com/neuralchen/SimSwap

Dataset

https://github.com/ZOMIN28/OSN-transmission_mini_CelebA

Visualization

PGD-Based

output

Generator-Based

output2

Citation

@article{qu2024df,
  title={DF-RAP: A Robust Adversarial Perturbation for Defending against Deepfakes in Real-world Social Network Scenarios},
  author={Qu, Zuomin and Xi, Zuping and Lu, Wei and Luo, Xiangyang and Wang, Qian and Li, Bin},
  journal={IEEE Transactions on Information Forensics and Security},
  year={2024},
  publisher={IEEE}
}