Ayodeji O.J. Ibitoye , Oladosu O. Oladimeji , Oluwaseyi F. Afe
{"title":"Clustering digital mental health perceptions using transformer-based models","authors":"Ayodeji O.J. Ibitoye , Oladosu O. Oladimeji , Oluwaseyi F. Afe","doi":"10.1016/j.fraope.2025.100262","DOIUrl":null,"url":null,"abstract":"<div><div>The rise in online mental health discussions underscores the need to understand diverse perspectives to inform targeted interventions. Addressing the granularity of existing research on mapping such perspectives, this study proposes a model combining contextual and sentiment analysis, keyword scoring, and clustering techniques to identify themes in online comments. Using transformer-based models (BERT, ALBERT, ELECTRA), the study achieved high-quality clustering of seven distinct mental health perspectives: stigma, empowerment, treatment approaches, recovery, social/environmental factors, advocacy, and cultural dimensions. ELECTRA outperformed others in clustering quality (silhouette score: 0.73; Davies-Bouldin Index: 0.34). The findings reveal cohesive, well-separated clusters that enhance understanding of digital mental health discourse. These insights provide a foundation for data-driven advocacy, tailored interventions, and broader awareness, addressing the complex dynamics of mental health narratives in online spaces. This study bridges a critical research gap by offering a systematic approach to analysing and interpreting mental health perspectives in digital environments.</div></div>","PeriodicalId":100554,"journal":{"name":"Franklin Open","volume":"11 ","pages":"Article 100262"},"PeriodicalIF":0.0000,"publicationDate":"2025-04-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Franklin Open","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2773186325000520","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The rise in online mental health discussions underscores the need to understand diverse perspectives to inform targeted interventions. Addressing the granularity of existing research on mapping such perspectives, this study proposes a model combining contextual and sentiment analysis, keyword scoring, and clustering techniques to identify themes in online comments. Using transformer-based models (BERT, ALBERT, ELECTRA), the study achieved high-quality clustering of seven distinct mental health perspectives: stigma, empowerment, treatment approaches, recovery, social/environmental factors, advocacy, and cultural dimensions. ELECTRA outperformed others in clustering quality (silhouette score: 0.73; Davies-Bouldin Index: 0.34). The findings reveal cohesive, well-separated clusters that enhance understanding of digital mental health discourse. These insights provide a foundation for data-driven advocacy, tailored interventions, and broader awareness, addressing the complex dynamics of mental health narratives in online spaces. This study bridges a critical research gap by offering a systematic approach to analysing and interpreting mental health perspectives in digital environments.