Parents and Children: Distinguishing Multimodal Deepfakes from Natural Images

Roberto Amoroso, Davide Morelli, Marcella Cornia, Lorenzo Baraldi, Alberto Del Bimbo, Rita Cucchiara

Introduction

As text-to-image diffusion models like Stable Diffusion and Midjourney become mainstream, the boundary between natural and synthetic imagery is increasingly blurred. While early deepfake research focused heavily on GAN-generated faces, modern diffusion models produce hyper-realistic, general-purpose scenes. This poses a significant challenge for misinformation detection and digital forgery prevention.

A critical question remains: are current detectors successful because they recognize high-level "semantic" errors (e.g., anatomical inconsistencies) or because they detect low-level "perceptual" fingerprints (mathematical artifacts of the generator)? This paper investigates whether real and fake images remain distinguishable when low-level cues are intentionally ignored.

The COCOFake Dataset

To facilitate this study, the authors introduced COCOFake, a massive benchmark for multimodal deepfake detection. Based on the MS-COCO dataset, COCOFake contains approximately 1.2 million synthetic images generated using Stable Diffusion v1.4 and v2.0.

The Parent-Child relationship in COCOFake: a real image (parent) is clustered with synthetic images (children) generated from its captions.

The dataset is structured around a "parent-child" relationship: each real image serves as a parent, and five "children" are generated using the original human-written captions associated with that real image. This creates semantic clusters where real and fake images share the same core meaning, allowing researchers to isolate style from content.

Methodology: Contrastive Disentanglement

The core technical contribution is a contrastive learning approach designed to disentangle low-level "style" artifacts from high-level "semantic" content.

The proposed contrastive disentanglement framework separating style (T) from semantics (S).

Using a Supervised Contrastive Loss, the model projects images into two distinct latent spaces:

  1. Space $T$ (Style): This space is optimized to maximize the distance between real and fake images, regardless of the image content. It captures the unique "fingerprints" left by the generation process.
  2. Space $S$ (Semantics): This space is designed to pull images from the same cluster (parent and children) together, forcing the model to ignore whether an image is real or fake and focus solely on its meaning.

Key Insights and Analysis

The researchers' analysis yielded several surprising findings:

  • Perceptual Percolation: High-level features in models like CLIP, which are primarily trained for semantic understanding, are remarkably effective at spotting low-level fake artifacts. These perceptual cues "percolate" up into the semantic descriptors.
  • The Dominance of Style: In the $T$ (style) space, real and fake images are almost perfectly separable (AUC > 99%). This confirms that current diffusion models leave distinct, easily detectable fingerprints.
  • The Semantic Frontier: When forced to rely only on the $S$ (semantic) space, detection performance drops to 70-80% AUC. While semantic "tells" exist, they are significantly harder to classify than pixel-level artifacts.
  • Cross-Model Generalization: Detectors trained on SD v1.4 generalize well to SD v2.0, suggesting shared underlying flaws across different versions of the same architecture.

Results and Robustness

Using OpenCLIP features, the authors achieved a near-perfect Overall Accuracy of 99.68% in distinguishing real images from Stable Diffusion outputs. The detectors also proved robust against common image perturbations like Gaussian blur and resizing. However, JPEG compression caused the most significant performance degradation, likely by masking the subtle high-frequency artifacts the models rely on.

Conclusion and Future Directions

As generative models evolve, they will likely produce images with fewer low-level traces. If a future "ideal" generator achieves perfect low-level statistics, detection will depend entirely on semantic inconsistencies—an area where current models still struggle. Future research must focus on modeling "common sense" and physical constraints to identify fakes that are perceptually perfect but semantically nonsensical.

Summary updated

BibTeX
@article{amoroso2023parents,
  author = {Roberto Amoroso and Davide Morelli and Marcella Cornia and Lorenzo Baraldi and Alberto Del Bimbo and Rita Cucchiara},
  title = {{Parents and Children: Distinguishing Multimodal Deepfakes from Natural Images}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2023},
}
Figure