Liveness Detection in Computer Vision: Transformer-Based Self-Supervised Learning for Face Anti-Spoofing


Keresh A. Shamoi P.
2024Institute of Electrical and Electronics Engineers Inc.

IEEE Access
2024#12185673 - 185685 pp.

Face recognition systems are increasingly used in biometric security for convenience and effectiveness. However, they remain vulnerable to spoofing attacks, where attackers use photos, videos, or masks to impersonate legitimate users. This research addresses these vulnerabilities by exploring the Vision Transformer (ViT) architecture, fine-tuned with the DINO framework utilizing CelebA-Spoof, CASIA SURF, and a proprietary dataset. The DINO framework facilitates self-supervised learning, enabling the model to learn distinguishing features from unlabeled data. We compared the performance of the proposed fine-tuned ViT model using the DINO framework against traditional models, including CNN Model EfficientNet b2, EfficientNet b2 (Noisy Student), and Mobile ViT on the face anti-spoofing task. Numerous tests on standard datasets show that the ViT model performs better than other models in terms of accuracy and resistance to different spoofing methods. Our models superior performance, particularly in APCER (1.6%), the most critical metric in this domain, underscores its improved ability to detect spoofing relative to other models. Additionally, we collected our own dataset from a biometric application to validate our findings further. This study highlights the superior performance of transformer-based architecture in identifying complex spoofing cues, leading to significant advancements in biometric security.

Biometric security , computer vision , DINO Framework , face anti-spoofing , liveness detection , self-supervised learning , unsupervised learning , vision transformers

Text of the article Перейти на текст статьи

Kazakh-British Technical University, School of Information Technology and Engineering, Almaty, 050000, Kazakhstan

Kazakh-British Technical University

10 лет помогаем публиковать статьи Международный издатель

Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026