Abstract
The ForensicsForest Family is a novel suite of non-CNN, forest-based models designed for efficient and robust detection of GAN-generated faces. By employing a hierarchical cascade of decision trees and multi-scale feature extraction, this approach addresses the resource intensity and security vulnerabilities of traditional deep learning models. Experimental results demonstrate that ForensicsForest outperforms popular CNNs on difficult datasets like StyleGAN3, achieving 88.4% accuracy while being significantly faster to train on standard CPUs.
Introduction
The rapid advancement of Generative Adversarial Networks (GANs) has made it increasingly difficult to distinguish between real and synthetic human faces. Most state-of-the-art face forgery detectors rely on Convolutional Neural Networks (CNNs). However, CNNs face two major hurdles: high resource intensity requiring expensive GPU hardware, and security vulnerabilities due to their differentiable nature, making them susceptible to adversarial attacks.
The ForensicsForest Family proposes a shift toward a non-differentiable "forest" paradigm. This approach is harder to attack, easier to train, and specifically tuned to capture the artifacts left behind by modern generative models.
Methodology
The core architecture is the Multi-scale Hierarchical Cascade Forest. It processes features in layers, where each layer contains multiple random forests. The class probability outputs from one layer are concatenated with the original features and passed to the next, allowing for iterative refinement.
Feature Extraction
The model utilizes three distinct feature types to identify synthetic traces:
- Appearance: Color histograms (3 × 256) to detect global color distribution anomalies.
- Frequency: Power spectrum via Fast Fourier Transform (FFT) to catch upsampling artifacts often hidden in the frequency domain.
- Biology: Facial landmark coordinates (2 × 68) to detect topological inconsistencies in facial structure.
Multi-scale Ensemble
By processing images at different patch scales (e.g., 1x1, 2x2, 3x3), the model captures both global biological errors and local texture artifacts. Variants like the Hybrid ForensicsForest (integrating Fully Connected layers) and Divide-and-Conquer (D&C) training strategies further enhance performance and memory efficiency.
Datasets and Evaluation
The method was validated against a wide array of generative models, including the StyleGAN series (StyleGAN, StyleGAN2, and the "alias-free" StyleGAN3), ProGAN, StarGAN, and Latent Diffusion Models (LDM). Real face data was sourced from the FFHQ dataset.
Key Results
ForensicsForest demonstrates significant improvements in both accuracy and efficiency:
- StyleGAN3 Performance: While CNNs like ResNet50 (81.5%) and VGG16 (72.3%) struggle with StyleGAN3's design, ForensicsForest achieves 88.4% accuracy.
- Efficiency: The model can be trained in approximately 232 seconds on a standard CPU, whereas CNNs require over 3,000 seconds on high-end GPUs like the Nvidia 2080ti.
- Robustness: The non-differentiable nature of random forests provides inherent resilience against gradient-based adversarial attacks.
Conclusion
The ForensicsForest Family offers a powerful, CPU-friendly alternative to CNN-based forgery detection. By focusing on multi-scale frequency and biological features within a hierarchical forest structure, it provides a robust defense against the latest generation of GANs. Future work will focus on improving robustness to heavy image compression and extending the biological feature set to non-human subjects.
Summary updated