CVAICRMay 24, 2025

Think Twice before Adaptation: Improving Adaptability of DeepFake Detection via Online Test-Time Adaptation

arXiv:2505.18787v21 citationsh-index: 34Has CodeIJCAI
Originality Highly original
AI Analysis

This addresses the challenge of maintaining DeepFake detection accuracy in dynamic, real-world scenarios, representing a novel method for a known bottleneck in deployment.

The paper tackles the problem of DeepFake detectors degrading in real-world environments due to postprocessing or distribution shifts, and proposes T^2A, an online test-time adaptation method that improves adaptability without source data or labels, achieving state-of-the-art results.

Deepfake (DF) detectors face significant challenges when deployed in real-world environments, particularly when encountering test samples deviated from training data through either postprocessing manipulations or distribution shifts. We demonstrate postprocessing techniques can completely obscure generation artifacts presented in DF samples, leading to performance degradation of DF detectors. To address these challenges, we propose Think Twice before Adaptation (\texttt{T$^2$A}), a novel online test-time adaptation method that enhances the adaptability of detectors during inference without requiring access to source training data or labels. Our key idea is to enable the model to explore alternative options through an Uncertainty-aware Negative Learning objective rather than solely relying on its initial predictions as commonly seen in entropy minimization (EM)-based approaches. We also introduce an Uncertain Sample Prioritization strategy and Gradients Masking technique to improve the adaptation by focusing on important samples and model parameters. Our theoretical analysis demonstrates that the proposed negative learning objective exhibits complementary behavior to EM, facilitating better adaptation capability. Empirically, our method achieves state-of-the-art results compared to existing test-time adaptation (TTA) approaches and significantly enhances the resilience and generalization of DF detectors during inference. Code is available \href{https://github.com/HongHanh2104/T2A-Think-Twice-Before-Adaptation}{here}.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes