arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.07886cs.CL
收藏

结合动量对比学习的标签感知硬负样本采样策略用于隐式仇恨言论检测

Label-aware Hard Negative Sampling Strategies with Momentum Contrastive Learning for Implicit Hate Speech Detection

Hanyang University(汉阳大学)

Jaehoon Kim, Seungwan Jin, Sohyun Park, Someen Park, Kyungsik Han

AI总结:

针对隐式仇恨言论检测中随机对比学习难以利用硬负样本的问题,提出集成动量的 LAHN 标签感知硬负样本采样策略,并在数据集内与跨数据集评测中取得优于现有模型的效果。

摘要:

检测并非直接带有仇恨性质的隐式仇恨言论仍然是一项挑战。近期研究尝试通过将对比学习应用于 BERT 和 RoBERTa 等预训练语言模型来检测隐式仇恨言论,但所提出的模型相对于基于交叉熵损失的学习仍未具备显著优势。我们发现,基于随机采样批次数据的对比学习无法促使模型学习硬负样本。在本工作中,我们提出标签感知硬负样本采样策略(Label-aware Hard Negative sampling strategies,LAHN),利用集成动量的对比学习,鼓励模型从硬负样本中学习细粒度特征,而不是使用随机批次中的普通负样本。LAHN 在数据集内和跨数据集的隐式仇恨言论检测中均优于现有模型。代码可在 https://github.com/Hanyang-HCC-Lab/LAHN 获取。

英文摘要:

Detecting implicit hate speech that is not directly hateful remains a challenge. Recent research has attempted to detect implicit hate speech by applying contrastive learning to pre-trained language models such as BERT and RoBERTa, but the proposed models still do not have a significant advantage over cross-entropy loss-based learning. We found that contrastive learning based on randomly sampled batch data does not encourage the model to learn hard negative samples. In this work, we propose Label-aware Hard Negative sampling strategies (LAHN) that encourage the model to learn detailed features from hard negative samples, instead of naive negative samples in random batch, using momentum-integrated contrastive learning. LAHN outperforms the existing models for implicit hate speech detection both in- and cross-datasets. The code is available at https://github.com/Hanyang-HCC-Lab/LAHN

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

↑