Enhancing explainability and performance of the depression detection model on social media utilizing feature engineering and LLMs

Depression is a mental disorder that negatively affects many people worldwide. The traditional method to help diagnose depression is through questionnaires, and better diagnoses can be obtained by consulting psychiatrists. Because the methods are time-consuming, researchers search for a way to efficiently and effectively diagnose depression before it is too late. Social media data is then utilized for detecting depression since people tend to express their feelings on social media. Different deep learning methods have been proposed for detecting depression on social media. However, the explainability regarding the classification result is limited to identifying negative emotions from the words in the posts. In this research, we aim to enhance the explainability and performance of the depression detection model by utilizing feature engineering and Large Language Models (LLMs). For feature engineering, we compute emotional status, which consists of twelve features representing emotion not just for each post but also before and after the post for some period of time. We also consider language used in the post by using different word embedding models. Different sequence models are also explored, and an attention mechanism is used to help identify the most important posts. The emotional status of the important posts and the classification result are then input to the LLM to describe and relate the emotional status to the characteristics of depression. Based on our experiment, fine-tuning LLM using mental health-related data did help the LLM to produce better explainability by relating easier-understood emotional status to specific characteristics of depression.

Authors

Institutions

Publication Details

Journal
Health Information Science and Systems
Published
2026-03-23
DOI
https://doi.org/10.1007/s13755-026-00446-x
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

Enhancing explainability and performance of the depression detection model on social media utilizing feature engineering and LLMs

Syauki Aulia Thamrin, Arbee L. P. Chen
Health Information Science and Systems
Mental Health via Writing
article

Enhancing explainability and performance of the depression detection model on social media utilizing feature engineering and LLMs

Syauki Aulia Thamrin, Arbee L. P. Chen
article en

Abstract

Depression is a mental disorder that negatively affects many people worldwide. The traditional method to help diagnose depression is through questionnaires, and better diagnoses can be obtained by consulting psychiatrists. Because the methods are time-consuming, researchers search for a way to efficiently and effectively diagnose depression before it is too late. Social media data is then utilized for detecting depression since people tend to express their feelings on social media. Different deep learning methods have been proposed for detecting depression on social media. However, the explainability regarding the classification result is limited to identifying negative emotions from the words in the posts. In this research, we aim to enhance the explainability and performance of the depression detection model by utilizing feature engineering and Large Language Models (LLMs). For feature engineering, we compute emotional status, which consists of twelve features representing emotion not just for each post but also before and after the post for some period of time. We also consider language used in the post by using different word embedding models. Different sequence models are also explored, and an attention mechanism is used to help identify the most important posts. The emotional status of the important posts and the classification result are then input to the LLM to describe and relate the emotional status to the characteristics of depression. Based on our experiment, fine-tuning LLM using mental health-related data did help the LLM to produce better explainability by relating easier-understood emotional status to specific characteristics of depression.

Health Information Science and SystemsVol. 14(1)
Asia University (TW), National Tsing Hua University (TW)
Openalex Percentile: Top 18%
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.