arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.02123cs.SIcs.AI
收藏

社交网络中攻击性语言的检测--一种基于图注意力网络的端到端检测方法

Detecting Offensive Language on Social Networks: An End-to-end Detection Method based on Graph Attention Networks

Sichuan University(四川大学);Cyber Science Research Institute, Sichuan University(四川大学网络空间安全研究院)

Zhenxiong Miao, Xingshu Chen, Haizhou Wang, Rui Tang, Zhou Yang, Wenyi Tang

摘要:

社交网络上攻击性语言的普遍存在对社会造成了不良影响,如网上辱骂行为。检测攻击性语言并遏制其传播是当务之急。已有的研究表明,具有社团结构特征的方法可以有效地提高攻击性语言检测的性能。然而,现有的模型都是独立处理社区结构,严重影响了检测模型的有效性。本文提出了一种基于社区结构和文本特征的端到端攻击性语言检测方法(CT-OLD)。具体地说,社区结构特征直接由图注意力网络层捕获,文本嵌入取自BERT的最后一个隐藏层。注意力机制和位置编码被用来融合这些特征。同时,我们加入用户意见的社区结构来表示用户的功能。用户意见由用户历史行为信息表示,其优于由文本信息表示。除此之外,用户和推文在流行数据集中的分布是不平衡的,这限制了模型的泛化能力。为了解决这个问题,我们构建并发布了一个具有合理用户分布的数据集。我们的方法优于基线,F1得分为89.94%。结果表明,端到端模型有效地学习了社区结构和文本的潜在信息,用户历史行为信息更适合用户意见表示。

英文摘要:

The pervasiveness of offensive language on the social network has caused adverse effects on society, such as abusive behavior online. It is urgent to detect offensive language and curb its spread. Existing research shows that methods with community structure features effectively improve the performance of offensive language detection. However, the existing models deal with community structure independently, which seriously affects the effectiveness of detection models. In this paper, we propose an end-to-end method based on community structure and text features for offensive language detection (CT-OLD). Specifically, the community structure features are directly captured by the graph attention network layer, and the text embeddings are taken from the last hidden layer of BERT. Attention mechanisms and position encoding are used to fuse these features. Meanwhile, we add user opinion to the community structure for representing user features. The user opinion is represented by user historical behavior information, which outperforms that represented by text information. Besides the above point, the distribution of users and tweets is unbalanced in the popular datasets, which limits the generalization ability of the model. To address this issue, we construct and release a dataset with reasonable user distribution. Our method outperforms baselines with the F1 score of 89.94%. The results show that the end-to-end model effectively learns the potential information of community structure and text, and user historical behavior information is more suitable for user opinion representation.

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

↑