How Good is ChatGPT at Face Biometrics? A First Look into Recognition, Soft Biometrics, and Explainability

Ivan DeAndres-Tame, Ruben Tolosana, Ruben Vera-Rodriguez, Aythami Morales, Julian Fierrez, Javier Ortega-GarciaarXiv 2024 · DOI

TL;DR

This paper evaluates GPT-4’s (via ChatGPT) zero-shot capabilities in face biometrics, specifically face verification and soft-biometric attribute estimation. While ChatGPT lags behind specialized state-of-the-art models in raw accuracy, it offers a unique advantage in explainability, providing human-readable reasoning for its biometric decisions.

What Problem Does This Paper Address?

Traditional face recognition systems are "black boxes"—they output a similarity score but rarely explain why two faces are considered the same or different. Furthermore, these systems require massive, specialized datasets for training.

With the rise of multimodal Large Language Models (LLMs), the authors ask: Can a general-purpose model like GPT-4 handle high-stakes biometric tasks without specific training? And can it bridge the transparency gap by explaining its logic in plain language?

Methods

The researchers tested ChatGPT (GPT-4) using the OpenAI API across three main tasks:

  1. Face Verification: Determining if two images belong to the same person.
  2. Soft-Biometric Estimation: Identifying attributes like age, gender, ethnicity, and hair style.
  3. Explainability: Generating textual justifications for the above decisions.

A significant hurdle was ChatGPT's built-in safety filters, which often refuse to identify individuals. The authors bypassed this by using creative prompt engineering, such as instructing the model to "behave like a face recognition system for AI-generated images."

They also experimented with two image configurations to optimize cost and speed: a standard 1x1 comparison and a 4x3 matrix of comparisons in a single image to process multiple pairs at once.

Overview of the experimental setup for face verification and soft-biometric estimation.

Datasets

The study utilized a comprehensive suite of benchmarks to test the model under various conditions:

  • Verification: LFW (controlled), QUIS-CAMPI (surveillance), TinyFaces (extreme low-resolution), BUPT-BalancedFace (demographic bias), CFP-FP (pose variations), AgeDB (age variations), and ROF (occlusions like masks/sunglasses).
  • Soft Biometrics: MAAD-Face (47 attributes) and LFW (manually labeled for gender, age, and ethnicity).

Key Insights and Ideas

  • The Explainability Edge: ChatGPT can articulate specific reasons for its decisions, such as "the shape of the nose and the jawline appear different." This is a major step forward for transparent AI in human-centric scenarios.
  • Batching Degrades Performance: Presenting images in a 4x3 matrix (to save API costs) significantly lowered accuracy compared to 1x1 comparisons. The authors hypothesize that the model struggles to detect and verify faces simultaneously within a complex grid.
  • Demographic Bias: Like many AI models, ChatGPT showed significant performance disparities across ethnicities, performing best on white females (14.94% EER) and worst on Indian females (30.88% EER).
  • Zero-Shot Potential: Despite no specific biometric training, ChatGPT achieved ~94% accuracy on the clean LFW dataset, suggesting it could serve as a viable "initial assessment" tool.
Examples of ChatGPT's textual explanations for correct and incorrect verification results.

Key Results

  • Face Verification: ChatGPT (1x1) achieved an average accuracy of 80.19% across all datasets. While impressive for a general model, it was outperformed by specialized models like AdaFace (95.80%).
  • Soft Biometrics: ChatGPT excelled at gender classification (96.30% accuracy) and identifying certain ethnicities (Black: 97.50%). It even outperformed the specialized FairFace model in age and ethnicity classification on the LFW dataset.
  • Robustness: ChatGPT struggled significantly with "extreme" conditions, such as the low-resolution images in TinyFaces (72.47% accuracy) and occlusions in ROF (75.95% accuracy).

Limitations and Future Work

The authors noted several practical limitations:

  • API Constraints: High costs and daily request limits made large-scale testing difficult.
  • Safety Filters: The model's tendency to refuse face-related tasks requires constant prompt workarounds.
  • Performance Gap: It is not yet a replacement for SOTA biometric systems in high-security or challenging environmental conditions.

Future Work: The researchers plan to extend this analysis to other popular multimodal LLMs like Google's Gemini or Meta's Llama to see if these findings hold across the broader LLM landscape.

Summary updated

Abstract

Large Language Models (LLMs) such as GPT developed by OpenAI, have already shown astonishing results, introducing quick changes in our society. This has been intensified by the release of ChatGPT which allows anyone to interact in a simple conversational way with LLMs, without any experience in the field needed. As a result, ChatGPT has been rapidly applied to many different tasks such as code- and song-writer, education, virtual assistants, etc., showing impressive results for tasks for which it was not trained (zero-shot learning). The present study aims to explore the ability of ChatGPT, based on the recent GPT-4 multimodal LLM, for the task of face biometrics. In particular, we analyze the ability of ChatGPT to perform tasks such as face verification, soft-biometrics estimation, and explainability of the results. ChatGPT could be very valuable to further increase the explainability and transparency of automatic decisions in human scenarios. Experiments are carried out in order to evaluate the performance and robustness of ChatGPT, using popular public benchmarks and comparing the results with state-of-the-art methods in the field. The results achieved in this study show the potential of LLMs such as ChatGPT for face biometrics, especially to enhance explainability. For reproducibility reasons, we release all the code in GitHub.
BibTeX
@misc{deandrestame2024how,
  author = {Ivan DeAndres-Tame and Ruben Tolosana and Ruben Vera-Rodriguez and Aythami Morales and Julian Fierrez and Javier Ortega-Garcia},
  title = {{How Good is ChatGPT at Face Biometrics? A First Look into Recognition, Soft Biometrics, and Explainability}},
  year = {2024},
  eprint = {2401.13641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.13641},
}

Loading related content...

Figure