Skip to content

EricGzq/AMTENnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fake face detection via adaptive manipulation traces extraction network

Zhiqing Guo1, Gaobo Yang1, Jiyou Chen1, and Xingming Sun2
1 Hunan University, China; 2 Nanjing University of Information Science and Technology, China

demo

AMTENnet -- This is an official Caffe implementation.

With the proliferation of face image manipulation (FIM) techniques such as Face2Face and Deepfake, more fake face images are spreading over the internet, which brings serious challenges to public confidence. Face image forgery detection has made considerable progresses in exposing specific FIM, but it is still in scarcity of a robust fake face detector to expose face image forgeries under complex scenarios such as with further compression, blurring, scaling, etc. Due to the relatively fixed structure, convolutional neural network (CNN) tends to learn image content representations. However, CNN should learn subtle manipulation traces for image forensics tasks. Thus, we propose an adaptive manipulation traces extraction network (AMTEN), which serves as pre-processing to suppress image content and highlight manipulation traces. AMTEN exploits an adaptive convolution layer to predict manipulation traces in the image, which are reused in subsequent layers to maximize manipulation artifacts by updating weights during the back-propagation pass. A fake face detector, namely AMTENnet, is constructed by integrating AMTEN with CNN. Experimental results prove that the proposed AMTEN achieves desirable pre-processing. When detecting fake face images generated by various FIM techniques, AMTENnet achieves an average accuracy up to 98.52%, which outperforms the state-of-the-art works. When detecting face images with unknown post-processing operations, the detector also achieves an average accuracy of 95.17%.

Please consult our paper for more information.

Requirement

  • python 2.7
  • caffe
  • lmdb

Usage

  • The image data needs to be converted into LMDB format for Caffe.
  • The paths of files in the folder model need to be modified.

Use following command to train the model.

sh train.sh

Datasets

  • Hybrid fake face (HFF) dataset: It is a fake face dataset proposed in our paper. If you want to download it, please refer to this link.
  • FaceForensics++ (FF++) dataset: It is a famous open source fake face video dataset, from which we extract 60k face frames for our experiments. If you want to get these face frames, you need to send us an email according to the requirements of HFF dataset to get the download link.

Citation

Please cite our paper if the code or dataset is used in your research:

@article{AMTEN,
  title={Fake face detection via adaptive manipulation traces extraction network},
  author={Guo, Zhiqing and Yang, Gaobo and Chen, Jiyou and Sun, Xingming},
  journal={Computer Vision and Image Understanding},
  volume={204},
  pages={103170},
  year={2021},
  publisher={Elsevier}
}

Acknowledgments

Our code is inspired by MISLnet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published