FaceShield: Explainable Face Anti-Spoofing with Multimodal Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Hongyang, Shi, Yichen, Tao, Zhuofu, Gao, Yuhao, Zhang, Liepiao, Lin, Xun, Feng, Jun, Yuan, Xiaochen, Yu, Zitong, Cao, Xiaochun
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917082414710784
author Wang, Hongyang
Shi, Yichen
Tao, Zhuofu
Gao, Yuhao
Zhang, Liepiao
Lin, Xun
Feng, Jun
Yuan, Xiaochen
Yu, Zitong
Cao, Xiaochun
author_facet Wang, Hongyang
Shi, Yichen
Tao, Zhuofu
Gao, Yuhao
Zhang, Liepiao
Lin, Xun
Feng, Jun
Yuan, Xiaochen
Yu, Zitong
Cao, Xiaochun
contents Face anti-spoofing (FAS) is crucial for protecting facial recognition systems from presentation attacks. Previous methods approached this task as a classification problem, lacking interpretability and reasoning behind the predicted results. Recently, multimodal large language models (MLLMs) have shown strong capabilities in perception, reasoning, and decision-making in visual tasks. However, there is currently no universal and comprehensive MLLM and dataset specifically designed for FAS task. To address this gap, we propose FaceShield, a MLLM for FAS, along with the corresponding pre-training and supervised fine-tuning (SFT) datasets, FaceShield-pre10K and FaceShield-sft45K. FaceShield is capable of determining the authenticity of faces, identifying types of spoofing attacks, providing reasoning for its judgments, and detecting attack areas. Specifically, we employ spoof-aware vision perception (SAVP) that incorporates both the original image and auxiliary information based on prior knowledge. We then use an prompt-guided vision token masking (PVTM) strategy to random mask vision tokens, thereby improving the model's generalization ability. We conducted extensive experiments on three benchmark datasets, demonstrating that FaceShield significantly outperforms previous deep learning models and general MLLMs on four FAS tasks, i.e., coarse-grained classification, fine-grained classification, reasoning, and attack localization. Our instruction datasets, protocols, and codes will be released at https://github.com/Why0912/FaceShield.
format Preprint
id arxiv_https___arxiv_org_abs_2505_09415
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FaceShield: Explainable Face Anti-Spoofing with Multimodal Large Language Models
Wang, Hongyang
Shi, Yichen
Tao, Zhuofu
Gao, Yuhao
Zhang, Liepiao
Lin, Xun
Feng, Jun
Yuan, Xiaochen
Yu, Zitong
Cao, Xiaochun
Computer Vision and Pattern Recognition
Face anti-spoofing (FAS) is crucial for protecting facial recognition systems from presentation attacks. Previous methods approached this task as a classification problem, lacking interpretability and reasoning behind the predicted results. Recently, multimodal large language models (MLLMs) have shown strong capabilities in perception, reasoning, and decision-making in visual tasks. However, there is currently no universal and comprehensive MLLM and dataset specifically designed for FAS task. To address this gap, we propose FaceShield, a MLLM for FAS, along with the corresponding pre-training and supervised fine-tuning (SFT) datasets, FaceShield-pre10K and FaceShield-sft45K. FaceShield is capable of determining the authenticity of faces, identifying types of spoofing attacks, providing reasoning for its judgments, and detecting attack areas. Specifically, we employ spoof-aware vision perception (SAVP) that incorporates both the original image and auxiliary information based on prior knowledge. We then use an prompt-guided vision token masking (PVTM) strategy to random mask vision tokens, thereby improving the model's generalization ability. We conducted extensive experiments on three benchmark datasets, demonstrating that FaceShield significantly outperforms previous deep learning models and general MLLMs on four FAS tasks, i.e., coarse-grained classification, fine-grained classification, reasoning, and attack localization. Our instruction datasets, protocols, and codes will be released at https://github.com/Why0912/FaceShield.
title FaceShield: Explainable Face Anti-Spoofing with Multimodal Large Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.09415