arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.04698cs.CLcs.AI

使用大型语言模型进行仇恨言论检测:结合数据增强与特征增强

Hate Speech Detection using Large Language Models with Data Augmentation and Feature Enhancement

AiLECS Lab Monash University Melbourne, Australia(AiLECS实验室 墨尔本大学 澳大利亚);School of Social Sciences Monash University Melbourne, Australia(社会科学学院 墨尔本大学 澳大利亚)

Brian Jing Hong Nge, Stefan Su, Thanh Thi Nguyen, Campbell Wilson, Alexandra Phelan, Naomi Pfitzner

AI总结:

本文研究了数据增强与特征增强在仇恨言论检测中的应用,发现gpt-oss-20b模型表现最佳,Delta TF-IDF在数据增强下准确率高达98.2%。

摘要:

本文评估了数据增强和特征增强技术在仇恨言论检测中的效果,比较了传统分类器(如Delta TF-IDF)与基于Transformer的模型(DistilBERT、RoBERTa、DeBERTa、Gemma-7B、gpt-oss-20b)在多种数据集上的表现。研究探讨了Synthetic Minority Over-sampling Technique(SMOTE)、根据逆类比例确定的加权损失、词性标注(POS)标记以及文本数据增强对模型性能的影响。开源的gpt-oss-20b模型始终取得最高成绩。另一方面,Delta TF-IDF对数据增强反应强烈,在Stormfront数据集上达到98.2%的准确率。研究表明,隐性仇恨言论比显性仇恨内容更难检测,且增强效果取决于数据集、模型和技术的相互作用。本研究通过揭示数据集属性、模型架构和增强策略的相互作用,为仇恨言论检测的发展提供了指导,支持更准确和上下文感知的自动检测。

英文摘要:

This paper evaluates data augmentation and feature enhancement techniques for hate speech detection, comparing traditional classifiers, e.g., Delta Term Frequency-Inverse Document Frequency (Delta TF-IDF), with transformer-based models (DistilBERT, RoBERTa, DeBERTa, Gemma-7B, gpt-oss-20b) across diverse datasets. It examines the impact of Synthetic Minority Over-sampling Technique (SMOTE), weighted loss determined by inverse class proportions, Part-of-Speech (POS) tagging, and text data augmentation on model performance. The open-source gpt-oss-20b consistently achieves the highest results. On the other hand, Delta TF-IDF responds strongly to data augmentation, reaching 98.2% accuracy on the Stormfront dataset. The study confirms that implicit hate speech is more difficult to detect than explicit hateful content and that enhancement effectiveness depends on dataset, model, and technique interaction. Our research informs the development of hate speech detection by highlighting how dataset properties, model architectures, and enhancement strategies interact, supporting more accurate and context-aware automated detection.

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

↑