arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.00907cs.SDcs.CLeess.AS
收藏

U-GIFT:少样本场景下基于不确定性引导的有毒言论防火墙

U-GIFT: Uncertainty-Guided Firewall for Toxic Speech in Few-Shot Scenario

Beijing University of Posts and Telecommunications(北京邮电大学);Shanghai Jiao Tong University(上海交通大学)

Jiaxin Song, Xinyu Wang, Yihao Wang, Yifan Tang, Ru Zhang, Jianyi Liu, Gongshen Liu

AI总结:

针对少样本场景下有毒言论检测中标注数据稀缺的问题,本文提出 U-GIFT 框架,结合主动学习与贝叶斯神经网络进行不确定性引导的自训练,在 5-shot 设置下较基础模型提升 14.92%,为自动化内容审核提供高效防火墙方案。

摘要:

随着社交媒体的广泛使用,用户生成内容在在线平台上激增。当这些内容包含仇恨、辱骂、冒犯或网络欺凌行为时,即被归类为有毒言论,对在线生态系统的完整性与安全性构成重大威胁。尽管人工内容审核仍然普遍存在,但内容数量的庞大以及人类审核员承受的心理压力凸显了对自动化有毒言论检测的需求。此前提出的检测方法通常依赖大规模标注数据集;然而,在实际中获取此类数据集既昂贵又困难。为解决这一问题,我们提出了一种面向少样本场景的基于不确定性引导的有毒言论防火墙,即 U-GIFT,该框架利用自训练在标注数据有限的情况下提升检测性能。具体而言,U-GIFT 将主动学习与贝叶斯神经网络(BNNs)相结合,自动从未标注数据中识别高质量样本,并基于模型预测得出的不确定性估计,优先选择置信度更高的伪标签用于训练。大量实验表明,U-GIFT 在少样本检测场景中显著优于具有竞争力的基线方法。在 5-shot 设置下,其性能相较基础模型提升了 14.92%。重要的是,U-GIFT 用户友好,且可适配多种预训练语言模型(PLMs)。它还在样本不平衡和跨域设置场景中展现出鲁棒性能,同时在不同语言应用中表现出强大的泛化能力。我们认为,U-GIFT 为少样本有毒言论检测提供了一种高效解决方案,为网络空间中的自动化内容审核提供了实质性支持,从而充当一道防火墙,推动网络安全领域的进步。

英文摘要:

With the widespread use of social media, user-generated content has surged on online platforms. When such content includes hateful, abusive, offensive, or cyberbullying behavior, it is classified as toxic speech, posing a significant threat to the online ecosystem's integrity and safety. While manual content moderation is still prevalent, the overwhelming volume of content and the psychological strain on human moderators underscore the need for automated toxic speech detection. Previously proposed detection methods often rely on large annotated datasets; however, acquiring such datasets is both costly and challenging in practice. To address this issue, we propose an uncertainty-guided firewall for toxic speech in few-shot scenarios, U-GIFT, that utilizes self-training to enhance detection performance even when labeled data is limited. Specifically, U-GIFT combines active learning with Bayesian Neural Networks (BNNs) to automatically identify high-quality samples from unlabeled data, prioritizing the selection of pseudo-labels with higher confidence for training based on uncertainty estimates derived from model predictions. Extensive experiments demonstrate that U-GIFT significantly outperforms competitive baselines in few-shot detection scenarios. In the 5-shot setting, it achieves a 14.92\% performance improvement over the basic model. Importantly, U-GIFT is user-friendly and adaptable to various pre-trained language models (PLMs). It also exhibits robust performance in scenarios with sample imbalance and cross-domain settings, while showcasing strong generalization across various language applications. We believe that U-GIFT provides an efficient solution for few-shot toxic speech detection, offering substantial support for automated content moderation in cyberspace, thereby acting as a firewall to promote advancements in cybersecurity.

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

↑