Abstract
Face Anti-Spoofing (FAS) plays a critical role in safeguarding face recognition systems, while previous FAS methods suffer from poor generalization when applied to unseen domains. Although recent methods have made progress via domain generalization technology, they are still sensitive to variations in face quality caused by task-irrelevant factors like camera and illumination. In this paper, we propose a novel Quality-Invariant Domain Generalization method (QIDG) with a teacher-student architecture, which aligns liveness features into a quality-invariant space to alleviate interference from task-irrelated factors. Specifically, QIDG utilizes the teacher model to produce face quality representations, which serve as the guidance for the student model to explore the quality-invariant space. To seek this space, the student model devises two novel modules, i.e., a dual adversarial learning module (DAL) and a quality feature assembly module (QFA). The former produces domain-invariant liveness features and task-irrelated quality features. While the latter assembles these two features from the same faces into complete quality representations, as well as assembles these two features from living faces in different domains. In this way, QIDG not only achieves the alignment of the domain-invariant liveness features to the quality-invariant space, but also promotes compactness of living faces from different domains in the feature space. Extensive cross-domain experiments demonstrate the superiority of our method on five public databases.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data Availibility Statement
The data that support the findings of this study are available from the authors upon reasonable request.
Notes
In this paper, target domains refer the unseen testing datasets, while training datasets are regarded as source domains.
References
Bojjagani, S., Sastry, V., Chen, C.-M., Kumari, S., & Khan, M. K. (2023). Systematic survey of mobile payments, protocols, and security infrastructure. Journal of Ambient Intelligence and Humanized Computing, 14(1), 609–654.
Boulkenafet, Z., Komulainen, J., & Hadid, A. (2015). Face anti-spoofing based on color texture analysis. In: IEEE International Conference on Image Processing, 2636–2640.
Boulkenafet, Z., Komulainen, J., Li, L., Feng, X., & Hadid, A. (2017). Oulu-npu: A mobile face presentation attack database with real-world variations. In: 2017 12th IEEE International Conference on Automatic Face & Gesture Recognition, 612–618.
Boulkenafet, Z., Komulainen, J., & Hadid, A. (2016). Face spoofing detection using colour texture analysis. IEEE Transactions on Information Forensics and Security, 11(8), 1818–1830.
Chen, Z., Yao, T., Sheng, K., Ding, S., Tai, Y., Li, J., Huang, F., & Jin, X. (2021). Generalizable representation learning for mixture domain face anti-spoofing. In: Proceedings of the AAAI Conference on Artificial Intelligence, 35, 1132–1139.
Chen, X., Xu, S., Ji, Q., & Cao, S. (2021). A dataset and benchmark towards multi-modal face anti-spoofing under surveillance scenarios. IEEE Access, 9, 28140–28155.
Chingovska, I., Anjos, A., & Marcel, S. (2012). On the effectiveness of local binary patterns in face anti-spoofing. In: 2012 BIOSIG-proceedings of the International Conference of Biometrics Special Interest Group, 1–7.
Chingovska, I., Anjos, A., & Marcel, S. On the effectiveness of local binary patterns in face anti-spoofing. In: 2012 BIOSIG-proceedings of the International Conference of Biometrics Special Interest Group, pp. 1–7 (2012).
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit J. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929
Escalera, S., Escalante, H.J., Lei, Z., Fang, H., Liu, A., & Wan, J. (2023). Surveillance face presentation attack detection challenge. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6360–6370.
Fang, H., Liu, A., Wan, J., Escalera, S., Escalante, H.J., & Lei, Z. (2023). Surveillance face presentation attack detection challenge. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6360–6370.
Fang, H., Liu, A., Wan, J., Escalera, S., Zhao, C., Zhang, X., Li, S. Z., & Lei, Z. (2024). Surveillance face anti-spoofing. IEEE Transactions on Information Forensics and Security, 19, 1535–1546.
Galbally, J., & Marcel, S. (2014). Face anti-spoofing based on general image quality assessment. In: International Conference on Pattern Recognition, 1173–1178.
Galbally, J., Marcel, S., & Fierrez, J. (2013). Image quality assessment for fake biometric detection: Application to iris, fingerprint, and face recognition. IEEE Transactions on Image Processing, 23(2), 710–724.
Ganin, Y., & Lempitsky, V. (2015). Unsupervised domain adaptation by backpropagation. In: International Conference on Machine Learning, 1180–1189.
He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 770–778.
He, Y., Peng, F., & Long, M. (2023). Dynamic residual distillation network for face anti-spoofing with feature attention learning. IEEE Transactions on Biometrics, Behavior, and Identity Science, 5(4), 579–592.
Hermans, A., Beyer, L., & Leibe, B. (2017). In defense of the triplet loss for person re-identification. arXiv preprint arXiv:1703.07737
Huang, H., Xiang, Y., Yang, G., Lv, L., Li, X., Weng, Z., & Fu, Y. (2022). Generalized face anti-spoofing via cross-adversarial disentanglement with mixing augmentation. In: IEEE International Conference on Acoustics, Speech and Signal Processing, 2939–2943.
International Organization for Standardization (2010). ISO/IEC TR 29794-4:2010 information technology–Biometric sample quality–Part 5: Face image data.
Jia, Y., Zhang, J., Shan, S., & Chen, X. (2020). Single-side domain generalization for face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 8484–8493.
Jiang, F., Li, Q., Liu, P., Zhou, X.-D., & Sun, Z. (2023). Adversarial learning domain-invariant conditional features for robust face anti-spoofing. International Journal of Computer Vision, 1–24.
Jia, Y., Zhang, J., & Shan, S. (2021). Dual-branch meta-learning network with distribution alignment for face anti-spoofing. IEEE Transactions on Information Forensics and Security, 17, 138–151.
Kim, T., Kim, Y., Kim, I., & Kim, D. (2019). Basn: Enriching feature representation using bipartite auxiliary supervisions for face anti-spoofing. In: Proceedings of the IEEE International Conference on Computer Vision Workshops, 0–0.
Kinga, D., & Adam, J.B. (2015). A method for stochastic optimization. In: International Conference on Learning Representations, 5, 6.
Li, H., Pan, S.J., Wang, S., & Kot, A.C. (2018). Domain generalization with adversarial feature learning. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 5400–5409.
Li, H., Li, W., Cao, H., Wang, S., Huang, F., & Kot, A. C. (2018). Unsupervised domain adaptation for face anti-spoofing. IEEE Transactions on Information Forensics and Security, 13(7), 1794–1809.
Liu, A., Tan, Z., Wan, J., Escalera, S., Guo, G., & Li, S.Z. (2021). Casia-surf cefa: A benchmark for multi-modal cross-ethnicity face anti-spoofing. In: Proceedings of the IEEE Winter Conference on Applications of Computer Vision, 1179–1187.
Liu, A., Wan, J., Escalera, S., Jair Escalante, H., Tan, Z., Yuan, Q., Wang, K., Lin, C., Guo, G., & Guyon, I., Li, S.Z. (2019). Multi-modal face anti-spoofing attack detection challenge at cvpr2019. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, 1–10.
Liu, A., Wan, J., Jiang, N., Wang, H., & Liang, Y. (2022). Disentangling facial pose and appearance information for face anti-spoofing. In: 2022 26th International Conference on Pattern Recognition, 4537–4543.
Liu, Y., Xu, Y., Zou, Z., Wang, Z., Zhang, b., Wu, L., Guo, Z., & He, Z. (2023). Adversarial domain generalization for surveillance face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6351–6359.
Liu, S., Zhang, K.-Y., Yao, T., Bi, M., Ding, S., Li, J., Huang, F., & Ma, L. (2021). Adaptive normalized representation learning for generalizable face anti-spoofing. In: Proceedings of the 29th ACM International Conference on Multimedia, 1469–1477.
Liu, S., Zhang, K.-Y., Yao, T., Sheng, K., Ding, S., Tai, Y., Li, J., Xie, Y., & Ma, L. (2021). Dual reweighting domain generalization for face presentation attack detection. arXiv preprint arXiv:2106.16128
Liu, A., Zhao, C., Yu, Z., Su, A., Liu, X., Kong, Z., Wan, J., Escalera, S., Escalante, H.J., & Lei, Z., Guo, G. (2021). 3d high-fidelity mask face presentation attack detection challenge. In: Proceedings of the IEEE International Conference on Computer Vision, 814–823.
Liu, A., Li, X., Wan, J., Liang, Y., Escalera, S., Escalante, H. J., Madadi, M., Jin, Y., Wu, Z., Yu, X., et al. (2021). Cross-ethnicity face anti-spoofing recognition challenge: A review. IET Biometrics, 10(1), 24–43.
Liu, A., Tan, Z., Wan, J., Liang, Y., Lei, Z., Guo, G., & Li, S. Z. (2021). Face anti-spoofing via adversarial cross-modality translation. IEEE Transactions on Information Forensics and Security, 16, 2759–2772.
Liu, A., Zhao, C., Yu, Z., Wan, J., Su, A., Liu, X., Tan, Z., Escalera, S., Xing, J., Liang, Y., et al. (2022). Contrastive context-aware learning for 3d high-fidelity mask face presentation attack detection. IEEE Transactions on Information Forensics and Security, 17, 2497–2507.
Maaten, L., & Hinton, G. (2008). Visualizing data using t-sne. Journal of Machine Learning Research, 9(11), 2579–2605.
Määttä, J., Hadid, A., & Pietikäinen, M. (2011). Face spoofing detection from single images using micro-texture analysis. In: International Joint Conference on Biometrics, 1–7.
Ou, F.-Z., Chen, X., Zhang, R., Huang, Y., Li, S., Li, J., Li, Y., Cao, L., & Wang, Y.-G. (2021). Sdd-fiqa: unsupervised face image quality assessment with similarity distribution distance. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 7670–7679.
Patel, K., Han, H., & Jain, A. K. (2016). Secure face unlock: Spoof detection on smartphones. IEEE Transactions on Information Forensics and Security, 11(10), 2268–2283.
Saha, S., Xu, W., Kanakis, M., Georgoulis, S., Chen, Y., Paudel, D.P., & Van Gool, L. (2020). Domain agnostic feature learning for image and video based face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, 802–803.
Sarfraz, M. S., & Stiefelhagen, R. (2017). Deep perceptual mapping for cross-modal face recognition. International Journal of Computer Vision, 122, 426–438.
Schlett, T., Rathgeb, C., Henniger, O., Galbally, J., Fierrez, J., & Busch, C. (2022). Face image quality assessment: A literature survey. ACM Computing Surveys, 54(10s), 1–49.
Shao, R., Lan, X., & Yuen, P.C. (2020). Regularized fine-grained meta face anti-spoofing. In: Proceedings of the AAAI Conference on Artificial Intelligence, 34, 11974–11981.
Shao, R., Lan, X., Li, J., & Yuen, P.C. (2019). Multi-adversarial discriminative deep domain generalization for face presentation attack detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 10023–10031.
Stehouwer, J., Jourabloo, A., Liu, Y., & Liu, X. (2020). Noise modeling, synthesis and classification for generic object anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 7294–7303.
Sun, Y., Liu, Y., Liu, X., Li, Y., & Chu, W.-S. (2023). Rethinking domain generalization for face anti-spoofing: Separability and alignment. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 24563–24574.
Torralba, A., & Efros, A.A. (2011). Unbiased look at dataset bias. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1521–1528.
Wang, G., Han, H., Shan, S., & Chen, X. (2020). Cross-domain face presentation attack detection via multi-domain disentangled representation learning. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6678–6687.
Wang, K., Huang, M., Zhang, G., Yue, H., Zhang, G., & Qiao, Y. (2023). Dynamic feature queue for surveillance face anti-spoofing via progressive training. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 6371–6378.
Wang, C.-Y., Lu, Y.-D., Yang, S.-T., & Lai, S.-H. (2022). Patchnet: A simple face anti-spoofing framework via fine-grained patch recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 20281–20290.
Wang, Z., Wang, Z., Yu, Z., Deng, W., Li, J., Gao, T., & Wang, Z. (2022). Domain generalization via shuffled style assembly for face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 4123–4133.
Wang, J., Zhang, J., Bian, Y., Cai, Y., Wang, C., & Pu, S. (2021). Self-domain adaptation for face anti-spoofing. In: Proceedings of the AAAI Conference on Artificial Intelligence, 35, 2746–2754.
Wang, Z., Wang, Q., Deng, W., & Guo, G. (2022). Face anti-spoofing using transformers with relation-aware mechanism. IEEE Transactions on Biometrics, Behavior, and Identity Science, 4(3), 439–450.
Wang, Z., Yu, Z., Wang, X., Qin, Y., Li, J., Zhao, C., Liu, X., & Lei, Z. (2023). Consistency regularization for deep face anti-spoofing. IEEE Transactions on Information Forensics and Security, 18, 1127–1140.
Wen, D., Han, H., & Jain, A. K. (2015). Face spoof detection with image distortion analysis. IEEE Transactions on Information Forensics and Security, 10(4), 746–761.
Xu, Y., Wu, L., Liu, Y., Wang, Z., & Li, Z. (2022). A face anti-spoofing algorithm based on anomaly detection in disentangling space. Journal of Signal Processing, 38(12), 2469–2485.
Yang, J., Lei, Z., & Li, S.Z. (2014). Learn convolutional neural network for face anti-spoofing. arXiv preprint arXiv:1408.5601
Yu, Z., Zhao, C., Wang, Z., Qin, Y., Su, Z., Li, X., Zhou, F., & Zhao, G. (2020). Searching central difference convolutional networks for face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 5295–5305.
Yu, Z., Li, X., Shi, J., Xia, Z., & Zhao, G. (2021). Revisiting pixel-wise supervision for face anti-spoofing. IEEE Transactions on Biometrics, Behavior, and Identity Science, 3(3), 285–295.
Yu, Z., Wan, J., Qin, Y., Li, X., Li, S. Z., & Zhao, G. (2020). Nas-fas: Static-dynamic central difference network search for face anti-spoofing. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(9), 3005–3023.
Yu, Z., Xu, E., Du, H., Guo, B., & Yao, L. (2019). Inferring user profile attributes from multidimensional mobile phone sensory data. IEEE Internet of Things Journal, 6(3), 5152–5162.
Zhang, Z., Yan, J., Liu, S., Lei, Z., Yi, D., & Li, S.Z. (2012). A face antispoofing database with diverse attacks. In: 2012 5th IAPR International Conference on Biometrics, 26–31.
Zhang, K.-Y., Yao, T., Zhang, J., Tai, Y., Ding, S., Li, J., Huang, F., Song, H., & Ma, L. (2020). Face anti-spoofing via disentangled representation learning. In: Proceedings of the European Conference on Computer Vision, 641–657.
Zhang, S., Liu, A., Wan, J., Liang, Y., Guo, G., Escalera, S., Escalante, H. J., & Li, S. Z. (2020). Casia-surf: A large-scale multi-modal benchmark for face anti-spoofing. IEEE Transactions on Biometrics, Behavior, and Identity Science, 2(2), 182–193.
Zhang, K., Zhang, Z., Li, Z., & Qiao, Y. (2016). Joint face detection and alignment using multitask cascaded convolutional networks. IEEE Signal Processing Letters, 23(10), 1499–1503.
Zhou, Q., Zhang, K.-Y., Yao, T., Lu, X., Yi, R., Ding, S., & Ma, L. (2023). Instance-aware domain generalization for face anti-spoofing. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 20453–20463.
Acknowledgements
This work was funded by the National Natural Science Foundation of China under Grant Nos. 62236010, 62306022, 62306021, China Postdoctoral Science Foundation under Grant No. 2022M720318, and Beijing Natural Science Foundation under Grant No. L233008.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that the publication of this paper has no conflict of interest.
Additional information
Communicated by Segio Escalera.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Liu, Y., Li, Z., Xu, Y. et al. Quality-Invariant Domain Generalization for Face Anti-Spoofing. Int J Comput Vis 132, 5239–5254 (2024). https://doi.org/10.1007/s11263-024-02092-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11263-024-02092-w