arXiv:2609.07670cs.CVSep 2026

Manuscript Offprint

arXiv:2609.07670

Harnessing CLIP and DINO: An Uncertainty-Aware Cascaded Fusion Network for Generalizable Deepfake Image Detection

Xuechao Zou, Yi Zhou, Kai Li, Shun Zhang, Yuhui Chen, Congyan Lang, Junliang Xing

Abstract

The growing realism and accessibility of manipulated and generated faces threaten the trustworthiness of digital media. To detect such forgeries, deepfake detectors based on vision foundation models have shown promising performance, but they typically rely on a single pretrained representation and are prone to overfitting to particular training distributions. To improve generalization to unseen forgeries, we propose UCF-Net, an uncertainty-aware cascaded fusion network that harnesses CLIP's language-aligned semantic priors and DINO's self-supervised visual-structure priors. UCF-Net extracts hierarchical features across Transformer depths, uses layer-wise expert aggregation to adaptively combine each encoder's multi-level cues, and performs weighted fusion of the resulting representations based on entropy-derived uncertainty. We further consolidate public deepfake datasets into a unified benchmark of approximately 4M images and construct a separate cross-generator evaluation set with over 8K face images from eight recent generators. On the unified benchmark, UCF-Net achieves the best mean AUC among the evaluated methods in both in-domain and cross-domain evaluations. On the cross-generator set, it adapts effectively with limited target-domain data, although zero-shot transfer remains challenging.

Introduction

Rapid advances in facial manipulation and controllable face generation have made synthetic face content increasingly realistic and accessible (Cao et al. 2026; Shen et al. 2025; Cheng et al. 2026a; Li et al. 2024b). This progress raises concerns about trust in digital media and the spread of misinformation. Deepfake image detection has therefore become important for safeguarding the authenticity of visual content. In practice, detectors must recognize known manipulations and generalize to unseen forgery techniques, data distributions, and image generators (Yermakov et al. 2026; Cheng et al. 2026b).

Existing detectors can be broadly divided into task-specific methods and approaches based on vision foundation models. Task-specific methods learn forensic representations from spatial artifacts, frequency patterns, reconstruction discrepancies, or other manipulation-related cues (Liu et al. 2021; Cao et al. 2022; Nguyen et al. 2024; Yan et al. 2024a). Although effective on known manipulations, such cues may not transfer reliably when the underlying generation process

Figure

Figure 1: Motivation for harnessing CLIP and DINO. Previous foundation-model-based detectors typically rely on either CLIP or DINO alone. UCF-Net, however, harnesses both. It integrates CLIP's language-aligned semantic priors with DINO's self-supervised visual-structure priors, enabling correct predictions when either or both individual encoders fail.

changes. More recent approaches adapt vision foundation models to exploit broadly pretrained visual knowledge (Khan and Dang-Nguyen 2024; Cui et al. 2025; Yan et al. 2025; Wang et al. 2025; Zhang et al. 2026). These detectors have shown promising performance, but they typically depend on a single pretrained representation. Consequently, they can inherit the blind spots of one pretraining objective and overfit to the particular distributions observed during detector training, limiting their generalization to unseen forgeries.

Combining diverse pretrained representations may reduce objective-specific blind spots and improve generalization to unseen forgeries. CLIP and DINO are learned with different pretraining objectives: CLIP provides language-aligned semantic priors, whereas DINO captures self-supervised visual-structure priors (Radford et al. 2021; Oquab et al. 2024). Their joint use has also been explored in other vi-

Project page: https://xavierjiezou.github.io/UCF-Net/ sual tasks (Zhou et al. 2026; Wysoczańska et al. 2024), motivating us to investigate both representations for deep-fake detection. As illustrated in Figure 1, harnessing both representations can correct predictions for which either or both individual encoders fail. Motivated by this representational diversity, we propose UCF-Net, an uncertainty-aware cascaded fusion network. Its cascaded design first aggregates hierarchical features within each encoder and then fuses the resulting encoder-level representations according to their sample-dependent uncertainty. Our main contributions are summarized below.

  • We propose an uncertainty-aware cascaded fusion network for deepfake image detection that harnesses CLIP's language-aligned semantic priors with DINO's self-supervised visual-structure priors to reduce dependence on a single pretrained representation and improve generalization to unseen forgeries.

  • We introduce a layer-wise expert aggregation module that adaptively combines multi-level cues from each encoder, leveraging hierarchical features extracted from CLIP and DINO across Transformer depths.

  • We design an uncertainty-aware feature fusion mechanism that estimates entropy-derived uncertainty and uses it to assign sample-dependent weights to the aggregated CLIP and DINO representations.

  • Additionally, we consolidate public deepfake datasets into a unified benchmark of 4,081,316 images and construct a cross-generator evaluation set of 8,807 generated face images from eight recent generators.

On the unified benchmark, UCF-Net achieves the highest mean AUC among the evaluated methods in both in-domain and cross-domain evaluations. On the separate cross-generator set, it achieves the highest AUC across all evaluated few-shot settings, although zero-shot transfer to recent generators remains challenging.

References (57)