用GPT-3.5 Turbo自动识别推特中的仇恨与攻击性言论
HateGPT: Unleashing GPT-3.5 Turbo to Combat Hate Speech on X
- 通过提示工程让GPT-3.5 Turbo分类英文推文
- 三次运行的宏平均F1均在0.75以上,波动极小
- 适合需要多语言上下文分析的社交媒体内容审核场景
Twitter等社交媒体平台的普及使用户生成内容激增,但同时也面临仇恨言论和攻击性内容的挑战,威胁理性讨论与民主价值。为应对这一问题,亟需自动化检测方法,尤其在涉及多种语言甚至混合语言(如印英混杂语、德英混杂语、孟加拉语)的复杂对话中。本文参与英语任务,将英文推文分为仇恨/攻击性与非仇恨/非攻击性两类。我们采用GPT-3.5 Turbo模型,通过提示工程实现分类。在三个独立运行中,模型的宏平均F1得分分别为0.756、0.751和0.754,表现稳定且优异,表明其在精度与召回率上均具高可靠性。
原文摘要 · Abstract (English)
The widespread use of social media platforms like Twitter and Facebook has enabled people of all ages to share their thoughts and experiences, leading to an immense accumulation of user-generated content. However, alongside the benefits, these platforms also face the challenge of managing hate speech and offensive content, which can undermine rational discourse and threaten democratic values. As a result, there is a growing need for automated methods to detect and mitigate such content, especially given the complexity of conversations that may require contextual analysis across multiple languages, including code-mixed languages like Hinglish, German-English, and Bangla. We participated in the English task where we have to classify English tweets into two categories namely Hate and Offensive and Non Hate-Offensive. In this work, we experiment with state-of-the-art large language models like GPT-3.5 Turbo via prompting to classify tweets into Hate and Offensive or Non Hate-Offensive. In this study, we evaluate the performance of a classification model using Macro-F1 scores across three distinct runs. The Macro-F1 score, which balances precision and recall across all classes, is used as the primary metric for model evaluation. The scores obtained are 0.756 for run 1, 0.751 for run 2, and 0.754 for run 3, indicating a high level of performance with minimal variance among the runs. The results suggest that the model consistently performs well in terms of precision and recall, with run 1 showing the highest performance. These findings highlight the robustness and reliability of the model across different runs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。