Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach

BackgroundGelotophobia, the fear of being laughed at, is a social anxiety condition that affects approximately 6% of neurotypical individuals and up to 45% of those with autism spectrum disorder (ASD). This comorbidity can significantly impair the quality of life, particularl...

Full description

Saved in:
Bibliographic Details
Main Authors: Mohamed Eldawansy, Hazem El Bakry, Samaa M Shohieb
Format: Article
Language:English
Published: JMIR Publications 2025-08-01
Series:JMIR Formative Research
Online Access:https://formative.jmir.org/2025/1/e72115
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849239545997950976
author Mohamed Eldawansy
Hazem El Bakry
Samaa M Shohieb
author_facet Mohamed Eldawansy
Hazem El Bakry
Samaa M Shohieb
author_sort Mohamed Eldawansy
collection DOAJ
description BackgroundGelotophobia, the fear of being laughed at, is a social anxiety condition that affects approximately 6% of neurotypical individuals and up to 45% of those with autism spectrum disorder (ASD). This comorbidity can significantly impair the quality of life, particularly in adolescents with high-functioning ASD, where the prevalence reaches 41.98%. Accurate and automated detection tools could enhance early diagnosis and intervention. ObjectiveThis study aimed to develop a deep learning–based diagnostic system that integrates facial emotion recognition with validated questionnaires to detect gelotophobia in individuals with or without ASD. MethodsThe system was trained to identify ASD status using a balanced dataset of 2932 facial images (n=1466; 50% from individuals with ASD and n=1466; 50% from neurotypical individuals). The images were processed using the DeepFace library to extract facial features, which were then used as input for the deep learning classifier. After identifying ASD status, the same images were further analyzed using the pretrained DeepFace model to evaluate facial expressions for signs of gelotophobia. In cases where facial cues were ambiguous, the GELOPH<15> questionnaire, consisting of 15 items, was administered to confirm the diagnosis The system was fully implemented using the Python programming language. Deep learning models were developed using libraries such as PyTorch for training the multilayer perceptron classifier, while CUDA was used to accelerate computations on compatible graphics processing units. Additional libraries from the Python programming language, such as scikit-learn, NumPy, and Pandas, were used for preprocessing, model evaluation, and data manipulation. DeepFace was integrated using its Python application programming interface for facial recognition and emotion classification. ResultsThe dataset comprised 2932 facial images collected from platforms such as Kaggle and ASD-related websites, including 1466 (50%) images of children with ASD and 1466 (50%) images of neurotypical children. The dataset was split into 2653 (90.48%) training samples and 279 (9.51%) testing samples, with each image contributing 100,352 extracted features. We applied various machine learning models for ASD identification. The system achieved an overall prediction accuracy of 92% across both training and testing datasets, with the multilayer perceptron model demonstrating the highest testing accuracy. The system successfully classified gelotophobia in cases where facial expressions were clear. However, in cases of ambiguous facial cues, the DeepFace model alone was insufficient. Incorporating the GELOPH<15> questionnaire improved diagnostic reliability and consistency. ConclusionsThis study demonstrates the effectiveness of combining deep learning techniques with validated diagnostic tools for detecting gelotophobia, particularly in individuals with ASD. The high accuracy achieved highlights the system’s potential for clinical and research applications, contributing to the improved understanding and management of gelotophobia among groups considered socially vulnerable. Future research could expand the system’s applications to broader psychological assessments.
format Article
id doaj-art-cc1c7241dfeb4728a83c6a10c1b0e5dd
institution Kabale University
issn 2561-326X
language English
publishDate 2025-08-01
publisher JMIR Publications
record_format Article
series JMIR Formative Research
spelling doaj-art-cc1c7241dfeb4728a83c6a10c1b0e5dd2025-08-20T04:00:55ZengJMIR PublicationsJMIR Formative Research2561-326X2025-08-019e7211510.2196/72115Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning ApproachMohamed Eldawansyhttps://orcid.org/0000-0002-0473-6045Hazem El Bakryhttps://orcid.org/0000-0002-4798-0427Samaa M Shohiebhttps://orcid.org/0000-0002-2832-6171 BackgroundGelotophobia, the fear of being laughed at, is a social anxiety condition that affects approximately 6% of neurotypical individuals and up to 45% of those with autism spectrum disorder (ASD). This comorbidity can significantly impair the quality of life, particularly in adolescents with high-functioning ASD, where the prevalence reaches 41.98%. Accurate and automated detection tools could enhance early diagnosis and intervention. ObjectiveThis study aimed to develop a deep learning–based diagnostic system that integrates facial emotion recognition with validated questionnaires to detect gelotophobia in individuals with or without ASD. MethodsThe system was trained to identify ASD status using a balanced dataset of 2932 facial images (n=1466; 50% from individuals with ASD and n=1466; 50% from neurotypical individuals). The images were processed using the DeepFace library to extract facial features, which were then used as input for the deep learning classifier. After identifying ASD status, the same images were further analyzed using the pretrained DeepFace model to evaluate facial expressions for signs of gelotophobia. In cases where facial cues were ambiguous, the GELOPH<15> questionnaire, consisting of 15 items, was administered to confirm the diagnosis The system was fully implemented using the Python programming language. Deep learning models were developed using libraries such as PyTorch for training the multilayer perceptron classifier, while CUDA was used to accelerate computations on compatible graphics processing units. Additional libraries from the Python programming language, such as scikit-learn, NumPy, and Pandas, were used for preprocessing, model evaluation, and data manipulation. DeepFace was integrated using its Python application programming interface for facial recognition and emotion classification. ResultsThe dataset comprised 2932 facial images collected from platforms such as Kaggle and ASD-related websites, including 1466 (50%) images of children with ASD and 1466 (50%) images of neurotypical children. The dataset was split into 2653 (90.48%) training samples and 279 (9.51%) testing samples, with each image contributing 100,352 extracted features. We applied various machine learning models for ASD identification. The system achieved an overall prediction accuracy of 92% across both training and testing datasets, with the multilayer perceptron model demonstrating the highest testing accuracy. The system successfully classified gelotophobia in cases where facial expressions were clear. However, in cases of ambiguous facial cues, the DeepFace model alone was insufficient. Incorporating the GELOPH<15> questionnaire improved diagnostic reliability and consistency. ConclusionsThis study demonstrates the effectiveness of combining deep learning techniques with validated diagnostic tools for detecting gelotophobia, particularly in individuals with ASD. The high accuracy achieved highlights the system’s potential for clinical and research applications, contributing to the improved understanding and management of gelotophobia among groups considered socially vulnerable. Future research could expand the system’s applications to broader psychological assessments.https://formative.jmir.org/2025/1/e72115
spellingShingle Mohamed Eldawansy
Hazem El Bakry
Samaa M Shohieb
Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
JMIR Formative Research
title Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
title_full Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
title_fullStr Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
title_full_unstemmed Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
title_short Data Mining–Based Model for Computer-Aided Diagnosis of Autism and Gelotophobia: Mixed Methods Deep Learning Approach
title_sort data mining based model for computer aided diagnosis of autism and gelotophobia mixed methods deep learning approach
url https://formative.jmir.org/2025/1/e72115
work_keys_str_mv AT mohamedeldawansy dataminingbasedmodelforcomputeraideddiagnosisofautismandgelotophobiamixedmethodsdeeplearningapproach
AT hazemelbakry dataminingbasedmodelforcomputeraideddiagnosisofautismandgelotophobiamixedmethodsdeeplearningapproach
AT samaamshohieb dataminingbasedmodelforcomputeraideddiagnosisofautismandgelotophobiamixedmethodsdeeplearningapproach