cs.CVNov 26, 2026

Spatiotemporal Message Flow Adapter for Generalizable Face Forgery Detection

Authors: Kairui Shang, Xiang Wang, Jiaran Zhou, Yuezun Li

Organizations: School of Computer Science and Technology, Ocean University of China

Abstract

Adapting CLIP has emerged as a promising direction for generalizable face forgery detection. Recent methods typically design spatial adapters to identify forgery traces within individual frames or temporal adapters to detect inconsistencies across frames. As this line is still in its early stages, how to jointly model spatiotemporal cues with CLIP remains an open challenge. In this paper, we propose the Spatiotemporal Message Flow Adapter (STFlow), a framework that integrates spatial and temporal forgery evidence through bidirectional message flow between CLIP and its adapters. Our method contains three key designs: 1) a Spatial Adapter that uses two groups of learnable queries to provide precise guidance toward facial components and capture diverse forgery traces. 2) a Temporal Adapter that captures inter-frame inconsistencies by applying self-attention along the temporal dimension. 3) a Bidirectional Message Flow mechanism that allows both adapters to exchange information with CLIP and thereby enables indirect communication between adapters. We evaluate our method on five widely used datasets and compare it with recent representative detectors. Experimental results demonstrate its effectiveness in improving generalization. We have released the code at https://github.com/OUC-VAS/STFlow.

Figures & tables

Explore similar work

CardsList
  1. Generalizable Face Forgery Detection via Separable Prompt Learning

    Apr 19, 2026Enrui Yang, Yuezun LiPrompt LearningImage Forgery Detection

  2. Beyond Shortcut Learning: Hierarchical Spatial Prototype Regularization for Face Forgery Detection

    Oct 21, 2026Chao Shuai, Shaojing Fan, Kun Pan +5Deepfake DetectionShortcut Learning

  3. EviStress: Evidence Stress Learning for Generalizable Face Forgery Detection with Textual Explanations

    Oct 12, 2026Jiuyao Jing, Xuanyu Yi, Yu Zheng +1Image Forgery DetectionDeepfake Detection