Lune

CVPR2024Top-tier venue

Test-Time Domain Generalization for Face Anti-Spoofing

Qianyu Zhou, Ke-Yue Zhang, Taiping Yao, Xuequan Lu, Shouhong Ding, Lizhuang Ma

Abstract

Face Anti-Spoofing (FAS) is pivotal in safeguarding facial recognition systems against presentation attacks. While domain generalization (DG) methods have been developed to enhance FAS performance, they predominantly focus on learning domain-invariant features during training, which may not guarantee generalizability to unseen data that differs largely from the source distributions. Our insight is that testing data can serve as a valuable resource to enhance the generalizability beyond mere evaluation for DG FAS. In this paper, we introduce a novel Test-Time Domain Generalization (TTDG) framework for FAS, which leverages the testing data to boost the model's generalizability. Our method, consisting of Test-Time Style Projection (TTSP) and Diverse Style Shifts Simulation (DSSS), effectively projects the unseen data to the seen domain space. In particular, we first introduce the innovative TTSP to project the styles of the arbitrarily unseen samples of the testing distribution to the known source space of the training distributions. We then design the efficient DSSS to synthesize diverse style shifts via learnable style bases with two specifically designed losses in a hyperspherical feature space. Our method eliminates the need for model updates at the test time and can be seamlessly integrated into not only the CNN but also ViT backbones. Comprehensive experiments on widely used cross-domain FAS benchmarks demonstrate our method's state-of-the-art performance and effectiveness.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DGMamba: Domain Generalization via Generalized State Space Model cites BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Model
  • DGMamba: Domain Generalization via Generalized State Space Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MEMO: Test Time Robustness via Adaptation and Augmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MEMO: Test Time Robustness via Adaptation and Augmentation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites Training data-efficient image transformers & distillation through attention
  • PCoTTA: Continual Test-Time Adaptation for Multi-Task Point Cloud Understanding cites DGMamba: Domain Generalization via Generalized State Space Model
  • PCoTTA: Continual Test-Time Adaptation for Multi-Task Point Cloud Understanding cites Tent: Fully Test-Time Adaptation by Entropy Minimization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything ModelYiran Song, Qianyu Zhou, Xiangtai Li, Deng-Ping Fan et al.CVPR 2024 · 19 citations
  2. PCoTTA: Continual Test-Time Adaptation for Multi-Task Point Cloud UnderstandingJincen Jiang, Qianyu Zhou, Yuhang Li, Xinkui Zhao et al.NeurIPS 2024 · 17 citations
  3. SLIP: Spoof-Aware One-Class Face Anti-Spoofing with Language Image PretrainingPei-Kai Huang, Jun-Xiong Chong, Cheng-Hsuan Chiang, Tzu-Hsien Chen et al.AAAI 2025 · 16 citations
  4. DGMamba: Domain Generalization via Generalized State Space ModelShaocong Long, Qianyu Zhou, Xiangtai Li, Xuequan Lu et al.ACM MM 2024 · 15 citations
  5. Interpretable Face Anti-Spoofing: Enhancing Generalization with Multimodal Large Language ModelsGuosheng Zhang, Keyao Wang, Haixiao Yue, Ajian Liu et al.AAAI 2025 · 13 citations

Builds on32

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  3. MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 citations
  4. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  5. MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 citations

Related papers

  1. Instance-Aware Domain Generalization for Face Anti-SpoofingQianyu Zhou, Ke-Yue Zhang, Taiping Yao, Xuequan Lu et al.CVPR 2023
  2. Domain Generalization via Shuffled Style Assembly for Face Anti-SpoofingZhuo Wang, Zezheng Wang, Zitong Yu, Weihong Deng et al.CVPR 2022 · 195 citations
  3. Towards Unsupervised Domain Generalization for Face Anti-SpoofingYuchen Liu, Yabo Chen, Mengran Gou, Chun-Ting Huang et al.ICCV 2023 · 41 citations
  4. Self-Domain Adaptation for Face Anti-SpoofingJingjing Wang, Jingyi Zhang, Ying Bian, Youyi Cai et al.AAAI 2021 · 111 citations
  5. Feature Generation and Hypothesis Verification for Reliable Face Anti-spoofingShice Liu, Shitao Lu, Hongyi Xu, Jing Yang et al.AAAI 2022 · 47 citations
Dusk over the sea between two cliffs drawn in fine vertical lines