arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.04501cs.CLcs.AIcs.LG
收藏

利用大语言模型在标签有限的社交媒体场景下进行自杀检测

Leveraging Large Language Models for Suicide Detection on Social Media with Limited Labels

Northeastern University(东北大学);Boston University(波士顿大学)

Vy Nguyen, Chau Pham

AI总结:

针对社交媒体自杀检测标签有限、人工审核不现实的问题,提出结合LLM提示生成伪标签与微调的集成检测方法,在IEEE Big Data 2024相关挑战赛数据集上取得优于单模型的效果,为社交媒体自杀内容检测提供可行方案。

摘要:

自杀意念出现频率的不断攀升凸显了早期检测与干预的重要性。社交媒体平台是用户常分享个人经历、寻求帮助的场所,可用于识别有风险的个体,但每日发布的帖子数量庞大,人工审核并不现实。本文探索利用大语言模型(Large Language Models, LLMs)自动检测文本类社交媒体帖子中的自杀相关内容。我们提出一种新方法,通过提示LLMs为无标注数据生成伪标签,同时结合传统分类微调技术提升标签准确率。为构建性能优异的自杀检测模型,我们开发了一种集成方法,涉及对Qwen2-72B-Instruct进行提示调用,以及使用Llama3-8B、Llama3.1-8B和Gemma2-9B等微调模型。我们在“IEEE Big Data 2024大数据杯”的赛道“社交媒体自杀意念检测挑战赛”的数据集上评估所提方法,还开展了综合分析,评估不同模型与微调策略对检测性能的影响。实验结果表明,集成模型显著提升了检测准确率,较单个模型提升5个百分点;其在公开测试集上的加权F1值为0.770,在私有测试集上为0.731,为识别社交媒体中的自杀相关内容提供了有前景的解决方案。分析显示,LLM的选择会影响提示性能,更大的模型准确率更高。我们的代码和模型检查点已公开在https://github.com/khanhvynguyen/Suicide_Detection_LLMs。

英文摘要:

The increasing frequency of suicidal thoughts highlights the importance of early detection and intervention. Social media platforms, where users often share personal experiences and seek help, could be utilized to identify individuals at risk. However, the large volume of daily posts makes manual review impractical. This paper explores the use of Large Language Models (LLMs) to automatically detect suicidal content in text-based social media posts. We propose a novel method for generating pseudo-labels for unlabeled data by prompting LLMs, along with traditional classification fine-tuning techniques to enhance label accuracy. To create a strong suicide detection model, we develop an ensemble approach involving prompting with Qwen2-72B-Instruct, and using fine-tuned models such as Llama3-8B, Llama3.1-8B, and Gemma2-9B. We evaluate our approach on the dataset of the Suicide Ideation Detection on Social Media Challenge, a track of the IEEE Big Data 2024 Big Data Cup. Additionally, we conduct a comprehensive analysis to assess the impact of different models and fine-tuning strategies on detection performance. Experimental results show that the ensemble model significantly improves the detection accuracy, by 5% points compared with the individual models. It achieves a weight F1 score of 0.770 on the public test set, and 0.731 on the private test set, providing a promising solution for identifying suicidal content in social media. Our analysis shows that the choice of LLMs affects the prompting performance, with larger models providing better accuracy. Our code and checkpoints are publicly available at https://github.com/khanhvynguyen/Suicide_Detection_LLMs.

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

↑