S-Adapter:利用统计Token实现用于人脸反欺骗的视觉Transformer泛化
S-Adapter: Generalizing Vision Transformer for Face Anti-Spoofing with Statistical Tokens
AI总结:
针对人脸反欺骗的域偏移问题,提出带统计Token的S-Adapter和Token风格正则化,在EPTL范式下适配预训练ViT,显著提升零样本与少样本跨域测试性能。
摘要:
人脸反欺骗(Face Anti-Spoofing, FAS)旨在检测通过呈现欺骗人脸入侵人脸识别系统的恶意尝试。当前最先进的FAS技术主要依赖深度学习模型,但其跨域泛化能力常受域偏移问题阻碍,该问题由训练数据与测试数据的分布差异导致。本研究在高效参数迁移学习(Efficient Parameter Transfer Learning, EPTL)范式下开发了一种泛化型FAS方法,将预训练视觉Transformer(Vision Transformer, ViT)模型适配于FAS任务。训练过程中,适配器模块被插入预训练ViT模型,仅更新适配器参数,其余预训练参数保持固定。我们发现以往普通适配器的局限性:它们基于线性层构建,缺乏欺骗感知的归纳偏置,因而限制了跨域泛化能力。为解决这一局限并实现跨域泛化的FAS,我们提出了一种新颖的统计适配器(Statistical Adapter, S-Adapter),该适配器从局部Token直方图中收集局部判别性信息与统计信息。为进一步提升统计Token的泛化性,我们提出了新颖的Token风格正则化(Token Style Regularization, TSR),该方法通过对不同域Token提取的Gram矩阵进行正则化,以降低域风格方差。实验结果表明,我们提出的S-Adapter与TSR在零样本和少样本跨域测试中均带来显著增益,在多项基准测试中性能优于当前最先进的方法。我们将在论文被接收后发布源代码。
英文摘要:
Face Anti-Spoofing (FAS) aims to detect malicious attempts to invade a face recognition system by presenting spoofed faces. State-of-the-art FAS techniques predominantly rely on deep learning models but their cross-domain generalization capabilities are often hindered by the domain shift problem, which arises due to different distributions between training and testing data. In this study, we develop a generalized FAS method under the Efficient Parameter Transfer Learning (EPTL) paradigm, where we adapt the pre-trained Vision Transformer models for the FAS task. During training, the adapter modules are inserted into the pre-trained ViT model, and the adapters are updated while other pre-trained parameters remain fixed. We find the limitations of previous vanilla adapters in that they are based on linear layers, which lack a spoofing-aware inductive bias and thus restrict the cross-domain generalization. To address this limitation and achieve cross-domain generalized FAS, we propose a novel Statistical Adapter (S-Adapter) that gathers local discriminative and statistical information from localized token histograms. To further improve the generalization of the statistical tokens, we propose a novel Token Style Regularization (TSR), which aims to reduce domain style variance by regularizing Gram matrices extracted from tokens across different domains. Our experimental results demonstrate that our proposed S-Adapter and TSR provide significant benefits in both zero-shot and few-shot cross-domain testing, outperforming state-of-the-art methods on several benchmark tests. We will release the source code upon acceptance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。