OmniFD:一种多功能面部伪造检测统一模型
OmniFD: A Unified Model for Versatile Face Forgery Detection
AI总结:
OmniFD通过统一框架实现面部伪造检测的多功能任务,提升检测精度与效率。
摘要:
面部伪造检测涵盖多个关键任务,包括识别伪造图像和视频以及定位篡改区域和时间段。当前方法通常采用任务特定模型,具有独立架构,导致计算冗余并忽略了相关任务之间的潜在相关性。我们引入OmniFD,一种统一框架,通过单一模型共同解决四个核心面部伪造检测任务,即图像和视频分类、空间定位和时间定位。我们的架构由三个主要组件组成:(1)一个共享的Swin Transformer编码器,从图像和视频输入中提取统一的4D时空表示;(2)一个跨任务交互模块,具有可学习的查询,通过基于注意力的推理动态捕捉跨任务依赖性;(3)轻量级解码头,将细化的表示转换为所有FFD任务的相应预测。广泛的实验表明,OmniFD在任务特定模型上具有优势。其统一设计利用多任务学习在跨任务中捕捉通用表示,尤其是使细粒度知识转移促进其他任务。例如,当纳入图像数据时,视频分类准确率提高4.63%。此外,通过在一个框架内统一图像、视频和四个任务,OmniFD在多样化的基准测试中实现了优越的性能,具有高效率和可扩展性,例如减少63%的模型参数和50%的训练时间。它为现实应用中的全面面部伪造检测建立了实用且可推广的解决方案。源代码可在https://github.com/haotianll/OmniFD上获得。
英文摘要:
Face forgery detection encompasses multiple critical tasks, including identifying forged images and videos and localizing manipulated regions and temporal segments. Current approaches typically employ task-specific models with independent architectures, leading to computational redundancy and ignoring potential correlations across related tasks. We introduce OmniFD, a unified framework that jointly addresses four core face forgery detection tasks within a single model, i.e., image and video classification, spatial localization, and temporal localization. Our architecture consists of three principal components: (1) a shared Swin Transformer encoder that extracts unified 4D spatiotemporal representations from both images and video inputs, (2) a cross-task interaction module with learnable queries that dynamically captures inter-task dependencies through attention-based reasoning, and (3) lightweight decoding heads that transform refined representations into corresponding predictions for all FFD tasks. Extensive experiments demonstrate OmniFD's advantage over task-specific models. Its unified design leverages multi-task learning to capture generalized representations across tasks, especially enabling fine-grained knowledge transfer that facilitates other tasks. For example, video classification accuracy improves by 4.63% when image data are incorporated. Furthermore, by unifying images, videos and the four tasks within one framework, OmniFD achieves superior performance across diverse benchmarks with high efficiency and scalability, e.g., reducing 63% model parameters and 50% training time. It establishes a practical and generalizable solution for comprehensive face forgery detection in real-world applications. The source code is made available at https://github.com/haotianll/OmniFD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。