Eldawansy Mohamed, El Bakry Hazem, M Shohieb Samaa
Information Systems, Faculty of Computers and Information, Mansoura University, Mansoura, Egypt.
JMIR Form Res. 2025 Aug 13;9:e72115. doi: 10.2196/72115.
Gelotophobia, 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.
This 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.
The 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.
The 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.
This 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.
恐笑症,即害怕被嘲笑,是一种社交焦虑症,约6%的正常个体以及高达45%的自闭症谱系障碍(ASD)患者受其影响。这种共病会显著损害生活质量,尤其是在高功能ASD青少年中,其患病率高达41.98%。准确且自动化的检测工具能够加强早期诊断和干预。
本研究旨在开发一种基于深度学习的诊断系统,该系统将面部情绪识别与经过验证的问卷相结合,以检测有无ASD个体的恐笑症。
使用一个包含2932张面部图像的平衡数据集(n = 1466;50%来自ASD个体,n = 1466;50%来自正常个体)对系统进行训练以识别ASD状态。使用DeepFace库处理图像以提取面部特征,然后将这些特征用作深度学习分类器的输入。在识别出ASD状态后,使用预训练的DeepFace模型对相同图像进行进一步分析,以评估面部表情是否有恐笑症迹象。在面部线索不明确的情况下,使用由15个项目组成的GELOPH<15>问卷来确诊。该系统使用Python编程语言完全实现。使用诸如PyTorch等库开发深度学习模型以训练多层感知器分类器,而CUDA用于在兼容的图形处理单元上加速计算。使用Python编程语言的其他库,如scikit-learn、NumPy和Pandas进行预处理、模型评估和数据处理。通过其Python应用程序编程接口集成DeepFace进行面部识别和情绪分类。
该数据集由从Kaggle和与ASD相关的网站等平台收集的2932张面部图像组成,包括1466张(50%)ASD儿童图像和1466张(50%)正常儿童图像。数据集被分为2653个(90.48%)训练样本和279个(9.51%)测试样本,每张图像贡献100352个提取特征。我们应用了各种机器学习模型进行ASD识别。该系统在训练和测试数据集上的总体预测准确率达到92%,多层感知器模型的测试准确率最高。在面部表情清晰的情况下,该系统成功地对恐笑症进行了分类。然而,在面部线索不明确的情况下,仅DeepFace模型是不够的。纳入GELOPH<15>问卷提高了诊断的可靠性和一致性。
本研究证明了将深度学习技术与经过验证的诊断工具相结合用于检测恐笑症的有效性,尤其是在ASD个体中。所达到的高精度突出了该系统在临床和研究应用中的潜力,有助于更好地理解和管理被认为处于社会弱势的群体中的恐笑症。未来的研究可以将该系统的应用扩展到更广泛的心理评估中。