Recent directions for offensive language detection are hierarchical modeling, identifying the type and the target of offensive language, and interpretability with offensive span annotation and prediction. These improvements are focused on English and do not transfer well to other languages because of cultural and linguistic differences. In this paper, we present the Korean Offensive Language Dataset (KOLD) comprising 40,429 comments, which are annotated hierarchically with the type and the target of offensive language, accompanied by annotations of the corresponding text spans. We collect the comments from NAVER news and YouTube platform and provide the titles of the articles and videos as the context information for the annotation process. We use these annotated comments as training data for Korean BERT and RoBERTa models and find that they are effective at offensiveness detection, target classification, and target span detection while having room for improvement for target group classification and offensive span detection. We discover that the target group distribution differs drastically from the existing English datasets, and observe that providing the context information improves the model performance in offensiveness detection (+0.3), target classification (+1.5), and target group classification (+13.1). We publicly release the dataset and baseline models.
翻译:最近对攻击性语言的探测方向是分级建模,确定攻击性语言的类型和目标,并以攻击性说明和预测加以解释。这些改进的重点是英语,由于文化和语言差异,没有很好地转移到其他语言。在本文件中,我们介绍了朝鲜进攻性语言数据集(KOLD),由40 429条评论组成,与攻击性语言的类型和目标有分级说明,并附有相应文字的注释。我们收集了来自NAVER新闻和YouTube平台的评论,并提供了文章和视频的标题,作为说明过程的背景信息。我们将这些附加说明的评论作为韩国BERT和ROBERTA模型的培训数据,发现它们在攻击性检测、目标分类和目标探测方面是有效的,同时有改进目标群体分类和攻击性范围探测的空间。我们发现,目标群体分布与现有的英文数据集有很大差异,我们发现提供背景信息可以改进攻击性检测(+0.3)、目标分类(+1.5)和目标群体分类(+131)的示范性表现。我们公开公布数据集和基线模型。