paper-with-me

홈 › Papers

S-Adapter: Generalizing Vision Transformer for Face Anti-Spoofing with Statistical Tokens

2023-09-07 · Rizhao Cai, Zitong Yu, Chenqi Kong, Haoliang Li, Changsheng chen, Yongjian Hu, Alex Kot

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.

📄 PDF Abstract BibTeX arXiv:2309.04038

Code (3)

FaceOnLive/Face-Liveness-Detection-SDK-Linux
Hazqeel09/ellzaf_ml pytorch
Recognito-Vision/Face-SDK-Linux-Demos

Tasks

Domain GeneralizationFace Anti-SpoofingFace RecognitionInductive BiasTransfer Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Vision Transformer Adapter for Dense Predictions

2022-05-17 · Zhe Chen, Yuchen Duan, Wenhai Wang, Junjun He 외

This work investigates a simple yet powerful dense prediction task adapter for Vision Transformer (ViT). Unlike recently advanced variants that incorporate vision-specific inductive biases into their architectures, the p…

Instance SegmentationObject DetectionPanoptic SegmentationReal-Time Object Detection+1

Delta-Adapter: Scalable Exemplar-Based Image Editing with Single-Pair Supervision

2026-05-08 · Jiacheng Chen, Songze Li, Han Fu, Baoquan Zhao 외 arxiv

Exemplar-based image editing applies a transformation defined by a source-target image pair to a new query image. Existing methods rely on a pair-of-pairs supervision paradigm, requiring two image pairs sharing the same …

Image Editing

Decoupling Language Guidance from Backbones for Text-Guided Medical Segmentation

2026-07-10 · Yungeng Liu, Xuanzi Fang, Haijin Zeng, Qi Dai 외 arxiv

Text-guided medical image segmentation leverages clinical semantics to improve lesion delineation, yet many existing models bind cross-modal fusion, supervision, and decoder design into a task-specific architecture. Such…

Medical Image Segmentation

AdapterTune: Zero-Initialized Low-Rank Adapters for Frozen Vision Transformers

2026-03-16 · Salim Khazem arxiv

Frozen-backbone transfer with Vision Transformers faces two under-addressed issues: optimization instability when adapters are naively inserted into a fixed feature extractor, and the absence of principled guidance for s…

Adaptive Transformers for Robust Few-shot Cross-domain Face Anti-spoofing

2022-03-23 · Hsin-Ping Huang, Deqing Sun, Yaojie Liu, Wen-Sheng Chu 외

While recent face anti-spoofing methods perform well under the intra-domain setups, an effective approach needs to account for much larger appearance variations of images acquired in complex scenes with different sensors…

Face Anti-Spoofing