Home

Awesome

FedForgery: Generalized Face Forgery Detection with Residual Federated Learning

The zip file contains the source code we used in this paper to test the accuracy of face forgery detection in the Hybrid-domain forgery dataset.

Dependencies

More details about dependencies are shown in requirements.txt.

Datasets

[Hybrid-domain forgery dataset] Combine four diverse forgery subtypes of the FF++ dataset and the WildDeepfake dataset into the whole dataset with five different artifact types the training set contains 20,000 images where true images have the same number of fake images; the ratio of the training set and testing set is kept at 7: 3.]

Usage

Download pretrained model

ModelDownload
FedForgeryMEGA

After downloading the pretrained model, we should put the model to ./pretrained

Download dataset

Dataset NameDownloadImages
Hybrid-domain forgery datasetHybrid-domain forgery- dataset4,2800

After downloading the whole dataset, you can unzip test.zip to the ./testset.

Test the model

./run_test.sh

BibTeX


@article{liu2023fedforgery,
  title={FedForgery: generalized face forgery detection with residual federated learning},
  author={Liu, Decheng and Dang, Zhan and Peng, Chunlei and Zheng, Yu and Li, Shuang and Wang, Nannan and Gao, Xinbo},
  journal={IEEE Transactions on Information Forensics and Security},
  year={2023},
  publisher={IEEE}
}