Deepfake detectors often perform well on the dataset they are trained on, but their performance drops when tested on videos from different datasets. In this paper, we study whether a predictive video model can provide a signal that generalizes better across datasets. Instead of relying only on generator-specific artifacts, as many existing detectors do, we use a model trained to predict natural video and measure the difference between what it predicts and what it observes in a video. Using V-JEPA 2.1, we keep the encoder frozen and adapt the predictor using rank-16 LoRA. We define the difference between the predictor output and the frozen encoder target as the prediction residual. We hypothesize that manipulated clips produce, on average, larger prediction residuals than authentic clips, and use this as our consistency-margin prior. We process these residuals using a lightweight Latent Consistency Head (LCH), which separates residual magnitude from direction for training and classification. To test whether the direction of the consistency margin affects cross-dataset generalization, we compare standard and reversed margin objectives while keeping the remaining training setup fixed. We match the two settings on FF++ validation performance before evaluating them on unseen data. The reversed-margin setting exhibits a larger cross dataset generalization gap on average, providing evidence that the direction of the consistency margin affects cross-dataset transfer. Our complete model adds only 8.25M trainable parameters, which is 2.47% of the total 334M parameters. Trained only on FF++, it achieves an AUC of 90.5 on Celeb-DFv2 and performs well across several other cross-dataset benchmarks. Our ablations show that separating residual magnitude from direction, reducing dataset-specific variation, and using a low-rank projection improve cross-dataset generalization in our experiments.
Figures & tables
Figure 1: Spatial distribution of prediction errors. Average spatial maps of large forecast errors for real and forged videos, together with their difference.
Figure 2: Overview of ConsistencyNet. V-JEPA 2.1 constructs prediction residuals for prediction lengths δ∈{2,4} . LCH processes the residual using PASC, ℓ2 normalization, parallel projections, SAP, and temporal aggregation before real/fake classification. Residual magnitude is used separately by the consistency-margin objective.
Method
Venue
CDF-v2
DFDC
DFDCP
WildDF
DE-2024 ∗
Frame-based
CDFA ( Lin et al., 2024 )
ECCV’24
97.2
83.8
97.0
84.5
—
Real appearance modelling ( Tian et al., 2024 )
ECCV’24
95.5
80.2
89.5
88.4
—
RepDFD ( Lin et al., 2025 )
AAAI’25
89.9
81.0
95.0
88.1
—
FSFM ( Wang et al., 2025 )
CVPR’25
91.4
83.5
89.7
87.0
65.4
Effort ( Yan et al., 2025a )
ICML’25
95.6
84.3
90.9
84.8
65.7
Table 1: Cross-dataset generalization. Video-level AUC (%) on unseen datasets. All methods are trained on FF++. For DE-2024 ∗ , values unavailable in the original papers are evaluated by us using the authors’ released checkpoints and inference pipelines.
Method
Venue
Blend
e4s
FD
FSGAN
IS
MS
SS
UF
Avg.
RECCE ( Cao et al., 2022 )
CVPR’22
83.2
68.3
84.8
94.9
84.8
92.5
76.8
89.8
84.4
SLADD ( Chen et al., 2022 )
CVPR’22
88.2
76.5
82.5
94.3
87.9
95.4
79.4
87.8
86.5
ProDet ( Cheng et al., 2024 )
NeurIPS’24
92.9
77.1
74.7
92.8
83.7
97.5
84.4
90.8
86.7
Effort ( Yan et al., 2025a )
ICML’25
87.3
98.3
92.6
95.7
93.6
95.3
92.6
96.2
94.0
Forensics Adapter ( Cui et al., 2025 )
CVPR’25
87.2
96.3
94.1
96.8
94.6
97.4
91.4
94.2
94.0
TSRL ( Lei et al., 2026 )
CVPR’26
90.2
98.3
94.8
97.5
93.7
93.3
90.4
95.4
94.2
Table 2: Cross-manipulation evaluation on DF40 face swap. Video-level AUC (%) on eight unseen face-swap generators.
Figure 3: Prediction residuals before and after LCH on unseen Celeb-DFv2 videos. t-SNE visualization of (a) raw video-level prediction residuals and (b) the final consistency representations used for classification. Real and forged samples largely overlap before LCH, while the learned representations show clearer class separation after LCH.
#
Variant
CDF-v2
DFDC
DFDCP
WildDF
Avg.
Δ
—
ConsistencyNet
90.5
87.1
90.4
88.2
89.0
—
A. Training objective
A1
No prior: random groups
91.2
82.1
89.1
83.7
86.5
−2.5
A2
Prior on class means
86.0
85.2
87.7
84.9
86.0
−3.0
A3
Reversed prior: real above forged
88.8
84.7
88.5
85.2
86.8
−2.2
B. Architecture
Table 3: Ablation study. Video-level AUC (%) on four unseen datasets. Avg. is the mean across datasets and Δ is the change from the full model.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Visualization of prediction residuals for real and forged clips. (a) Real clip and (b) its prediction-error map; (c) forged clip and (d) its prediction-error map. (e) Difference between the forged and real prediction-error maps, computed as forged minus real. Positive values indicate regions with larger prediction error for the forged clip.
Component
Layer
Trainable
Frozen
Encoder
V-JEPA 2.1 ViT-L (24 blocks)
—
304,680,960
Predictor
Base weights (12 blocks)
—
21,937,664
Predictor LoRA on query–key–value and output projections ( A : 147,456; B : 294,912)
442,368
—
Input embedding, 1024→384
393,600
—
Output projection, 384→1664
640,640
—
Final layer normalization and mask token
1,152
—
Appendix
Table 4: Parameter accounting for ConsistencyNet. Trainable and frozen parameters are counted from the stated architecture. LCH uses four parallel projection heads for each prediction length, together with learned projection-head, SAP, and cross-length gates.
Group
Hyperparameter
Value
Model
Backbone
V-JEPA 2.1 ViT-L/16 ( Bardes et al., 2026 ) , distilled from ViT-G; encoder frozen
Input
16-frame face clip, 384×384 ; tubelet size 2, yielding T′=8 temporal positions with 576 spatial tokens per position
Prediction lengths δ
{2,4}
Predictor adaptation
LoRA on the query–key–value and output projections of all 12 predictor blocks; rank r=16 , α=16
LoRA initialization
A : Kaiming-uniform; B∼N(0,10−6)
Predictor layers trained in full
Input embedding, output projection, final layer normalization, and mask token
Appendix
Table 5: Training hyperparameters of ConsistencyNet. The same configuration is used across all reported runs.