Comparing Selective Masking Methods for Depression Detection in Social Media
Open Access
- 1 September 2023
- journal article
- research article
- Published by MIT Press in Computational Linguistics
- Vol. 49 (3) , 525-553
Abstract
Identifying those at risk for depression is a crucial issue and social media provides an excellent platform for examining the linguistic patterns of depressed individuals. A significant challenge in depression classification problems is ensuring that prediction models are not overly dependent on topic keywords (i.e., depression keywords) such that it fails to predict when such keywords are unavailable. One promising approach is masking—that is, by selectively masking various words and asking the model to predict the masked words, the model is forced to learn the inherent language patterns of depression. This study evaluates seven masking techniques. Moreover, predicting the masked words during the pre-training or fine-tuning phase was also examined. Last, six class imbalanced ratios were compared to determine the robustness of masked words selection methods. Key findings demonstrate that selective masking outperforms random masking in terms of F1-score. The most accurate and robust models are identified. Our research also indicates that reconstructing the masked words during the pre-training phase is more advantageous than during the fine-tuning phase. Further discussion and implications are discussed. This is the first study to comprehensively compare masked words selection methods, which has broad implications for the field of depression classification and general NLP. Our code can be found at: https://github.com/chanapapan/Depression-Detection.Keywords
This publication has 35 references indexed in Scilit:
- SenseMood: Depression Detection on Social Media2020
- MGL-CNN: A Hierarchical Posts Representations Model for Identifying Depressed Individuals in Online ForumsIEEE Access, 2020
- How to Fine-Tune BERT for Text Classification?2019
- Facebook language predicts depression in medical recordsProceedings of the National Academy of Sciences of the United States of America, 2018
- Overview of eRisk: Early Risk Prediction on the Internet2018
- Evaluating and improving lexical resources for detecting signs of depression in textLanguage Resources and Evaluation, 2018
- A Test Collection for Research on Depression and Language Use2016
- Discovering Shifts to Suicidal Ideation from Mental Health Content in Social Media2016
- Language use of depressed and depression-vulnerable college studentsCognition and Emotion, 2004
- Word Use in the Poetry of Suicidal and Nonsuicidal PoetsPsychosomatic Medicine, 2001