arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.20048cs.CL
收藏

使用基于Transformer的模型和辅助特征进行社交媒体帖子中的抑郁症检测

Depression detection in social media posts using transformer-based models and auxiliary features

National Technical University of Athens(雅典国家技术大学)

Marios Kerasiotis, Loukas Ilias, Dimitris Askounis

AI总结:

本文提出一种结合DistilBERT、元数据、语言标记和EDA数据增强的神经网络方法,用于社交媒体抑郁症检测,将加权F1分数从72.59%提升至84.15%。

摘要:

由于心理健康问题的日益普遍,社交媒体帖子中的抑郁症检测至关重要。传统机器学习算法往往无法捕捉复杂的文本模式,限制了它们在识别抑郁症方面的有效性。现有研究已探索了多种方法来解决这一问题,但在准确性和鲁棒性方面往往存在不足。为了解决这些局限性,本研究提出了一种神经网络架构,利用基于Transformer的模型并结合元数据和语言标记。该研究采用DistilBERT,从Transformer的最后四层提取信息,应用学习到的权重,并对它们进行平均,以创建输入文本的丰富表示。该表示通过元数据和语言标记进行增强,提升了模型对每条帖子的理解能力。Dropout层用于防止过拟合,并使用多层感知机(MLP)进行最终分类。此外,还采用了受简易数据增强(EDA)方法启发的数据增强技术来提高模型性能。利用BERT,通过随机插入和替换短语生成额外的训练数据,重点是通过增强代表性不足的类别来平衡数据集。所提出的模型达到了加权精确率、召回率和F1分数分别为84.26%、84.18%和84.15%。增强技术显著提升了模型性能,将加权F1分数从72.59%提高到84.15%。

英文摘要:

The detection of depression in social media posts is crucial due to the increasing prevalence of mental health issues. Traditional machine learning algorithms often fail to capture intricate textual patterns, limiting their effectiveness in identifying depression. Existing studies have explored various approaches to this problem but often fall short in terms of accuracy and robustness. To address these limitations, this research proposes a neural network architecture leveraging transformer-based models combined with metadata and linguistic markers. The study employs DistilBERT, extracting information from the last four layers of the transformer, applying learned weights, and averaging them to create a rich representation of the input text. This representation, augmented by metadata and linguistic markers, enhances the model's comprehension of each post. Dropout layers prevent overfitting, and a Multilayer Perceptron (MLP) is used for final classification. Data augmentation techniques, inspired by the Easy Data Augmentation (EDA) methods, are also employed to improve model performance. Using BERT, random insertion and substitution of phrases generate additional training data, focusing on balancing the dataset by augmenting underrepresented classes. The proposed model achieves weighted Precision, Recall, and F1-scores of 84.26%, 84.18%, and 84.15%, respectively. The augmentation techniques significantly enhance model performance, increasing the weighted F1-score from 72.59% to 84.15%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑