Reverse Engineering of Generative Models: Inferring Model Hyperparameters From Generated Images
- 2 August 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 45 (12) , 15477-15493
Abstract
State-of-the-art (SOTA) Generative Models (GMs) can synthesize photo-realistic images that are hard for humans to distinguish from genuine photos. Identifying and understanding manipulated media are crucial to mitigate the social concerns on the potential misuse of GMs. We propose to perform reverse engineering of GMs to infer model hyperparameters from the images generated by these models. We define a novel problem, “model parsing”, as estimating GM network architectures and training loss functions by examining their generated images - a task seemingly impossible for human beings. To tackle this problem, we propose a framework with two components: a Fingerprint Estimation Network (FEN), which estimates a GM fingerprint from a generated image by training with four constraints to encourage the fingerprint to have desired properties, and a Parsing Network (PN), which predicts network architecture and loss functions from the estimated fingerprints. To evaluate our approach, we collect a fake image dataset with 100K images generated by 116 different GMs. Extensive experiments show encouraging results in parsing the hyperparameters of the unseen models. Finally, our fingerprint estimation can be leveraged for deepfake detection and image attribution, as we show by reporting SOTA results on both the deepfake detection (Celeb-DF) and image attribution benchmarks.Keywords
All Related Versions
Funding Information
- Facebook AI
- Defense Advanced Research Projects Agency (HR00112090131)
- Michigan State University
This publication has 70 references indexed in Scilit:
- Compressed Fingerprint Matching and Camera Identification via Random ProjectionsIEEE Transactions on Information Forensics and Security, 2015
- Spatial Pyramid Pooling in Deep Convolutional Networks for Visual RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2015
- Facing Imbalanced Data--Recommendations for the Use of Performance Metrics2013
- Apples-to-apples in cross-validation studiesACM SIGKDD Explorations Newsletter, 2010
- Digital Camera Identification From Sensor Pattern NoiseIEEE Transactions on Information Forensics and Security, 2006
- CCD fingerprint method-identification of a video camera from videotaped images2003
- The expectation-maximization algorithmIEEE Signal Processing Magazine, 1996
- The coefficient of determination and its adjusted version in linear regression modelsEconometric Reviews, 1995
- Low-dimensional procedure for the characterization of human facesJournal of the Optical Society of America A, 1987
- Random sample consensusCommunications of the ACM, 1981