Redefining Generalization in Visual Domains: A Two-Axis Framework for Fake Image Detection with FusionDetect

Amirtaha Amanzadi, Zahra Dehghanian, Hamid Beigy, Hamid R. Rabiee · DOI

Abstract

As AI image generators achieve unprecedented photorealism, the challenge of synthetic media detection has evolved. Traditional methods often fail when encountering new generator architectures or unfamiliar visual concepts. This paper formalizes a "two-axis" generalization framework—cross-generator and cross-semantic—and introduces FusionDetect. By leveraging the complementary strengths of CLIP and DINOv2, FusionDetect achieves state-of-the-art performance on a new, diverse benchmark called OmniGen, demonstrating exceptional resilience to real-world image degradations.

Introduction: The Generalization Crisis

The rapid advancement of generative AI has turned fake image detection into a high-stakes game of cat-and-mouse. Most existing research focuses on cross-generator generalization: the ability of a detector trained on one model (e.g., Stable Diffusion) to identify fakes from another (e.g., Midjourney). However, this focus is narrow. Real-world synthetic media spans a vast array of visual domains, from photorealistic portraits to abstract digital art and satellite imagery.

The authors identify a second, equally critical dimension: cross-semantic generalization. A detector trained solely on human faces may fail when presented with synthetic landscapes or medical imagery. Furthermore, many current detectors rely on high-frequency "artifacts"—microscopic noise patterns unique to specific generation processes. These artifacts are notoriously fragile; common operations like JPEG compression or slight blurring can erase them, rendering the detector useless.

The Semantic Gap in Visual Domains

To illustrate the challenge of cross-semantic generalization, the researchers analyzed the feature spaces of popular detection datasets using t-SNE projections.

t-SNE projections of the Chameleon, ImagiNet, and GenImage datasets reveal distinct, non-overlapping clusters, highlighting the semantic gap between different visual domains.

As shown in Figure 2, the feature spaces of datasets like GenImage, ImagiNet, and Chameleon reveal distinct, non-overlapping clusters. This visualization confirms that a model trained on one dataset's visual domain will likely be "blind" to the patterns of another, regardless of the underlying generator. Bridging this gap requires features that capture high-level semantic context alongside low-level structural cues.

FusionDetect: Leveraging Foundation Models

FusionDetect addresses the two-axis challenge by fusing features from two powerful, pre-trained foundation models. Instead of hand-crafting filters for specific artifacts, it leverages:

  1. Semantic Encoder (CLIP): A frozen CLIP vision encoder (ViT-L/14) extracts high-level semantic, contextual, and object-level information. This helps the model understand what is in the image, bridging the cross-semantic gap.
  2. Structural Encoder (DINOv2): A frozen DINOv2 vision transformer (ViT-L/14) captures fine-grained structural and textural details. Because it's a self-supervised model, it is highly sensitive to the low-level patterns that betray synthetic origins, bridging the cross-generator gap.

The embeddings from these two frozen backbones are concatenated and passed through a lightweight, trainable 4-layer Multi-Layer Perceptron (MLP) classifier. Keeping the massive backbones frozen prevents the model from overfitting to the training data and preserves their broad, world-knowledge features.

Experimental Results and the OmniGen Benchmark

To provide a more realistic testbed, the authors introduce the OmniGen Benchmark. It contains 11,550 fake images generated by 12 state-of-the-art models, including closed-source APIs (GPT-4o, Midjourney v7, Imagen 4), open-source models (FLUX 1 dev, SD3.5-medium), and community fine-tunes.

A summary of performance across the two axes of generalization. FusionDetect (Ours) occupies the top-right corner, demonstrating superior accuracy on both the OmniGen benchmark and the combined established datasets.

As summarized in Figure 1, FusionDetect (Ours) dominates the field. It achieved a massive 97.38% mean accuracy across all 12 modern generators in the OmniGen benchmark. On established benchmarks (GenImage, ImagiNet, and Chameleon), FusionDetect achieved an average of 80.86% accuracy (+3.87% over the closest competitor) and 87.40% Average Precision (+6.13%). It also exhibited the lowest standard deviation, proving its consistency across domains.

Robustness and Practical Considerations

A key strength of FusionDetect is its resilience. While artifact-based detectors see their performance plummet under standard web degradations, FusionDetect remains stable. For instance, when subjected to heavy JPEG compression (Quality Factor = 50), competing models like DNF saw accuracy drop from 71% to 41%. In contrast, FusionDetect maintained performance in the 78-80% range. This robustness stems from the use of foundation model features, which are fundamentally more invariant to pixel-level noise than specialized artifact detectors.

While FusionDetect offers superior accuracy and robustness, it does come with increased computational requirements. Running inference through two large Vision Transformer (ViT-L/14) backbones simultaneously requires more memory and compute than smaller, CNN-based models. However, the authors argue that this trade-off is necessary for achieving the level of generalization required in real-world scenarios.

Conclusion

FusionDetect represents a paradigm shift in synthetic media detection. By moving away from fragile artifact hunting and toward the fusion of robust foundation models, the researchers have created a detector capable of generalizing across both new generators and new visual domains. The introduction of the two-axis framework and the OmniGen benchmark provides a new standard for evaluating the next generation of universal fake image detectors.

Summary updated

BibTeX
@misc{amanzadi2025redefining,
  author = {Amirtaha Amanzadi and Zahra Dehghanian and Hamid Beigy and Hamid R. Rabiee},
  title = {{Redefining Generalization in Visual Domains: A Two-Axis Framework for Fake Image Detection with FusionDetect}},
  year = {2025},
  eprint = {2510.05740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.05740},
}
Figure