Exploring ChatGPT for Face Presentation Attack Detection in Zero and Few-Shot in-Context Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Komaty, Alain, Shahreza, Hatef Otroshi, George, Anjith, Marcel, Sebastien
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917892991221760
author Komaty, Alain
Shahreza, Hatef Otroshi
George, Anjith
Marcel, Sebastien
author_facet Komaty, Alain
Shahreza, Hatef Otroshi
George, Anjith
Marcel, Sebastien
contents This study highlights the potential of ChatGPT (specifically GPT-4o) as a competitive alternative for Face Presentation Attack Detection (PAD), outperforming several PAD models, including commercial solutions, in specific scenarios. Our results show that GPT-4o demonstrates high consistency, particularly in few-shot in-context learning, where its performance improves as more examples are provided (reference data). We also observe that detailed prompts enable the model to provide scores reliably, a behavior not observed with concise prompts. Additionally, explanation-seeking prompts slightly enhance the model's performance by improving its interpretability. Remarkably, the model exhibits emergent reasoning capabilities, correctly predicting the attack type (print or replay) with high accuracy in few-shot scenarios, despite not being explicitly instructed to classify attack types. Despite these strengths, GPT-4o faces challenges in zero-shot tasks, where its performance is limited compared to specialized PAD systems. Experiments were conducted on a subset of the SOTERIA dataset, ensuring compliance with data privacy regulations by using only data from consenting individuals. These findings underscore GPT-4o's promise in PAD applications, laying the groundwork for future research to address broader data privacy concerns and improve cross-dataset generalization. Code available here: https://gitlab.idiap.ch/bob/bob.paper.wacv2025_chatgpt_face_pad
format Preprint
id arxiv_https___arxiv_org_abs_2501_08799
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exploring ChatGPT for Face Presentation Attack Detection in Zero and Few-Shot in-Context Learning
Komaty, Alain
Shahreza, Hatef Otroshi
George, Anjith
Marcel, Sebastien
Computer Vision and Pattern Recognition
Cryptography and Security
This study highlights the potential of ChatGPT (specifically GPT-4o) as a competitive alternative for Face Presentation Attack Detection (PAD), outperforming several PAD models, including commercial solutions, in specific scenarios. Our results show that GPT-4o demonstrates high consistency, particularly in few-shot in-context learning, where its performance improves as more examples are provided (reference data). We also observe that detailed prompts enable the model to provide scores reliably, a behavior not observed with concise prompts. Additionally, explanation-seeking prompts slightly enhance the model's performance by improving its interpretability. Remarkably, the model exhibits emergent reasoning capabilities, correctly predicting the attack type (print or replay) with high accuracy in few-shot scenarios, despite not being explicitly instructed to classify attack types. Despite these strengths, GPT-4o faces challenges in zero-shot tasks, where its performance is limited compared to specialized PAD systems. Experiments were conducted on a subset of the SOTERIA dataset, ensuring compliance with data privacy regulations by using only data from consenting individuals. These findings underscore GPT-4o's promise in PAD applications, laying the groundwork for future research to address broader data privacy concerns and improve cross-dataset generalization. Code available here: https://gitlab.idiap.ch/bob/bob.paper.wacv2025_chatgpt_face_pad
title Exploring ChatGPT for Face Presentation Attack Detection in Zero and Few-Shot in-Context Learning
topic Computer Vision and Pattern Recognition
Cryptography and Security
url https://arxiv.org/abs/2501.08799