AI-Driven Early Mental Health Screening with Limited Data: Analyzing Selfies of Pregnant Women

Gustavo A. Basílio, Thiago B. Pereira, Alessandro L. Koerich, Ludmila Dias, Maria das Graças da Silva Teixeira, Rafael Teixeira Sousa, Wilian H. Hisatugu, Amanda S. Mota, Anilton S. Garcia, Marco Aurélio K. Galletta, Hermano Tavares, Thiago M. Paixão · DOI

Introduction

Mental health disorders, particularly depression and anxiety, are leading causes of disability worldwide. Pregnant women are especially vulnerable due to significant hormonal, physical, and social changes. If left untreated, these conditions can lead to severe obstetric complications, such as preterm birth or low birth weight.

While AI has shown promise in "affective computing" (detecting emotions), most existing models require controlled laboratory settings. Furthermore, clinical data is often "thin," making it difficult to collect the thousands of labeled images typically required for deep learning. This research addresses the challenge of ubiquitous screening: creating a reliable tool that works with standard smartphone selfies taken in real-world, uncontrolled environments, even with limited training data.

Methodology

The researchers compared two distinct AI strategies for analyzing selfies paired with Patient Health Questionnaire-4 (PHQ-4) results:

  1. Traditional CNN-based Approach: Standard architectures (ResNet, VGG, EfficientNet) were pre-trained on massive facial expression datasets and then fine-tuned to detect "normal" vs. "abnormal" mental health states.
  2. Innovative VLM-based Approach: Instead of direct pixel classification, Vision-Language Models (VLMs) like GPT-4o, LLaVA-NeXT, and Kosmos-2 acted as "facial analysts." The VLM generates a detailed text description of the emotional state (e.g., "Her eyebrows are slightly furrowed"), which is then converted into numerical embeddings and classified by a simple Feed-Forward Neural Network (FFNN).
Overview of the training and testing pipelines for CNN-based and VLM-based screening approaches.

Dataset and Evaluation

The study utilized a unique clinical dataset from 108 high-risk pregnant patients at the Clinical Hospital of the University of São Paulo, Brazil. The final dataset consisted of 147 valid selfies paired with PHQ-4 responses. A PHQ-4 score of 6 or higher was defined as the threshold for "abnormal" symptoms.

Distribution of samples per participant and PHQ-4 scores across the dataset, highlighting the class imbalance.

The dataset was notably imbalanced, with 106 negative samples and 41 positive samples, reflecting the reality of clinical screening environments where "abnormal" cases are less frequent than "normal" ones.

Key Results and Insights

  • VLM Superiority: The VLM-based pipeline (GPT-4o + FFNN) achieved 77.6% accuracy, outperforming the best CNN (EfficientNetV2 at 66.7%) by approximately 10 percentage points.
  • Handling Imbalance: The VLM approach reached an F1-score of 56.0%, significantly higher than the CNNs (max 45.0%), proving more effective at handling class imbalance.
  • Text as a Robust Intermediate: In low-data regimes, raw pixels are noisy. Converting images into text descriptions effectively filters visual data into high-level semantic features that are easier for simple classifiers to interpret.
  • Analyst vs. Judge: VLMs performed better as "analysts" (describing features) than as "judges" (direct diagnosis). Direct zero-shot screening with GPT-4o yielded a lower recall (34.2%) compared to the multi-stage VLM-text-classifier pipeline (51.2%).

Limitations and Future Work

A primary challenge identified was the "smile problem." Approximately 12% of errors occurred when patients presented "posed" smiles despite high PHQ-4 scores; the AI often misinterpreted these as genuine happiness. Additionally, with only 147 images, this study serves as a proof of concept. Future work will focus on larger, more diverse datasets and multi-modal fusion, incorporating audio and text transcriptions from patient interviews to enhance screening accuracy.

Summary updated

BibTeX
@inproceedings{basilio2025ai,
  author = {Gustavo A. Basílio and Thiago B. Pereira and Alessandro L. Koerich and Ludmila Dias and Maria das Graças da Silva Teixeira and Rafael Teixeira Sousa and Wilian H. Hisatugu and Amanda S. Mota and Anilton S. Garcia and Marco Aurélio K. Galletta and Hermano Tavares and Thiago M. Paixão},
  title = {{AI-Driven Early Mental Health Screening with Limited Data: Analyzing Selfies of Pregnant Women}},
  booktitle = {Biostec (2): Healthinf},
  year = {2025},
  doi = {10.5220/0013372100003911},
}
Figure