COLD: A Benchmark for Chinese Offensive Language Detection

Jiawen Deng, Jingyan Zhou, Hao Sun, Chujie Zheng, Fei Mi +2 more
1/16/2022
cs.CLcs.AI
benchmark-dataset

Official code: thu-coai/COLDataset (356 stars, Apache-2.0, last commit 2023-03-20).

Abstract

Offensive language detection is increasingly crucial for maintaining a civilized social media platform and deploying pre-trained language models. However, this task in Chinese is still under exploration due to the scarcity of reliable datasets.

Show full abstract

To this end, we propose a benchmark --COLD for Chinese offensive language analysis, including a Chinese Offensive Language Dataset --COLDATASET and a baseline detector --COLDETECTOR which is trained on the dataset. We show that the COLD benchmark contributes to Chinese offensive language detection which is challenging for existing resources. We then deploy the COLDETECTOR and conduct detailed analyses on popular Chinese pre-trained language models. We first analyze the offensiveness of existing generative models and show that these models inevitably expose varying degrees of offensive issues. Furthermore, we investigate the factors that influence the offensive generations, and we find that anti-bias contents and keywords referring to certain groups or revealing negative attitudes trigger offensive outputs easier.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The official repository of the paper: COLD: A Benchmark for Chinese Offensive Language Detection

35630Oct 18, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{deng2022cold,
  title  = {COLD: A Benchmark for Chinese Offensive Language Detection},
  author = {Jiawen Deng and Jingyan Zhou and Hao Sun and Chujie Zheng and Fei Mi and Helen Meng and Minlie Huang},
  year   = {2022},
  eprint = {2201.06025},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.06025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.06025.svg)](https://codeofpaper.com/paper/2201.06025)

Discussion