arXiv:2409.20048cs.CL2024-09中稿 · ed被引 62

用Transformer+辅助特征提升社交媒体抑郁检测准确率

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

  • 融合文本、元数据与语言特征的Transformer模型
  • 加权F1达84.15%,较基线提升11.56个百分点
  • 适合心理健康研究与社交平台风险预警场景

社交媒体中的抑郁检测因心理健康问题日益普遍而至关重要。传统机器学习难以捕捉复杂文本模式,限制了其识别效果。现有研究虽尝试多种方法,但准确率与鲁棒性仍不足。为此,本文提出一种基于Transformer的神经网络架构,结合元数据和语言标记。采用DistilBERT,提取最后四层的输出,通过学习权重平均得到丰富文本表示,并融入辅助信息以增强理解。使用Dropout防过拟合,多层感知机完成分类。借鉴易数据增强(EDA)方法,通过随机插入与替换短语生成新训练数据,重点平衡少数类样本。实验表明,该模型在加权精度、召回率与F1分数上分别达到84.26%、84.18%和84.15%。数据增强使加权F1从72.59%显著提升至84.15%。

原文摘要 · Abstract (English)

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%.

抑郁检测Transformer数据增强社交媒体

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。