Beyond Architectures: Evaluating the Role of Contextual Embeddings in Detecting Bipolar Disorder on Social Media

Bipolar disorder is a chronic mental illness frequently underdiagnosed due to subtle early symptoms and social stigma.This paper explores the advanced natural language processing (NLP) models for recognizing signs of bipolar disorder based on user-generated social media text.We conduct a comprehensive evaluation of transformer-based models (BERT, RoBERTa, ALBERT, ELECTRA, DistilBERT) and Long Short Term Memory (LSTM) models based on contextualized (BERT) and static (GloVe, Word2Vec) word embeddings.Experiments were performed on a large, annotated dataset of Reddit posts after confirming their validity through sentiment variance and judgmental analysis.Our results demonstrate that RoBERTa achieves the highest performance among transformer models with an F1 score of 98% while LSTM models using BERT embeddings yield nearly identical results.In contrast, LSTMs trained on static embeddings fail to capture meaningful patterns, scoring near-zero F1.These findings underscore the critical role of contextual language modeling in detecting bipolar disorder.In addition, we report model training times and highlight that DistilBERT offers an optimal balance between efficiency and accuracy.In general, our study offers actionable insights for model selection in mental health NLP applications and validates the potential of contextualized language models to support early bipolar disorder screening.

Authors

Publication Details

Journal
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Published
2025-09-29
DOI
https://doi.org/10.18293/seke2025-083
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Beyond Architectures: Evaluating the Role of Contextual Embeddings in Detecting Bipolar Disorder on Social Media

Jamil Saquer, Khalid Hasan
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Mental Health via Writing
article

Beyond Architectures: Evaluating the Role of Contextual Embeddings in Detecting Bipolar Disorder on Social Media

Jamil Saquer, Khalid Hasan
article en

Abstract

Bipolar disorder is a chronic mental illness frequently underdiagnosed due to subtle early symptoms and social stigma.This paper explores the advanced natural language processing (NLP) models for recognizing signs of bipolar disorder based on user-generated social media text.We conduct a comprehensive evaluation of transformer-based models (BERT, RoBERTa, ALBERT, ELECTRA, DistilBERT) and Long Short Term Memory (LSTM) models based on contextualized (BERT) and static (GloVe, Word2Vec) word embeddings.Experiments were performed on a large, annotated dataset of Reddit posts after confirming their validity through sentiment variance and judgmental analysis.Our results demonstrate that RoBERTa achieves the highest performance among transformer models with an F1 score of 98% while LSTM models using BERT embeddings yield nearly identical results.In contrast, LSTMs trained on static embeddings fail to capture meaningful patterns, scoring near-zero F1.These findings underscore the critical role of contextual language modeling in detecting bipolar disorder.In addition, we report model training times and highlight that DistilBERT offers an optimal balance between efficiency and accuracy.In general, our study offers actionable insights for model selection in mental health NLP applications and validates the potential of contextualized language models to support early bipolar disorder screening.

Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge EngineeringVol. 2025
Openalex Percentile: Top 66%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.