Instance-Aware Domain Generalization for Face Anti-Spoofing

Qianyu Zhou, Ke-Yue Zhang, Taiping Yao, Xuequan Lu, Ran Yi +2 more
2/14/2026

No official code found. Best implementation: qianyuzqy/IADG (96 stars, last commit 2023-10-19).

Abstract

Face anti-spoofing (FAS) based on domain generalization (DG) has been recently studied to improve the generalization on unseen scenarios. Previous methods typically rely on domain labels to align the distribution of each domain for learning domain-invariant representations. However, artificial domain labels are coarse-grained and subjective, which cannot reflect real domain distributions accurately. Besides, such domain-aware methods focus on domain-level alignment, which is not fine-grained enough to ensure that learned representations are insensitive to domain styles. To address these issues, we propose a novel perspective for DG FAS that aligns features on the instance level without the need for domain labels. Specifically, Instance-Aware Domain Generalization framework is proposed to learn the generalizable feature by weakening the features' sensitivity to instance-specific styles. Concretely, we propose Asymmetric Instance Adaptive Whitening to adaptively eliminate the style-sensitive feature correlation, boosting the generalization. Moreover, Dynamic Kernel Generator and Categorical Style Assembly are proposed to first extract the instance-specific features and then generate the style-diversified features with large style shifts, respectively, further facilitating the learning of style-insensitive features. Extensive experiments and analysis demonstrate the superiority of our method over state-of-the-art competitors. Code will be publicly available at this link.

View on arXivView PDF

Code Implementations(1)

qianyuzqy/IADGCommunity100%

(CVPR 2023) Instance-Aware Domain Generalization for Face Anti-Spoofing

966PythonMar 22, 20233 years ago

Similar Papers

Cite this paper

@article{zhou2026instanceaware,
  title  = {Instance-Aware Domain Generalization for Face Anti-Spoofing},
  author = {Qianyu Zhou and Ke-Yue Zhang and Taiping Yao and Xuequan Lu and Ran Yi and Shouhong Ding and Lizhuang Ma},
  year   = {2026},
  eprint = {2304.05640},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2304.05640},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.05640.svg)](https://codeofpaper.com/paper/2304.05640)

Discussion