Skip to the main content

Original scientific paper

https://doi.org/10.17559/TV-20210325125414

A Hybrid Model for Monolingual and Multilingual Toxic Comment Detection

Guizhe Song ; Dalian University of Technology, School of Computer Science and Technology, No. 2 Linggong Road, Ganjingzi District, Dalian City, Liaoning Province, P. R. China, 116024
Degen Huang ; Dalian University of Technology, School of Computer Science and Technology, No. 2 Linggong Road, Ganjingzi District, Dalian City, Liaoning Province, P. R. China, 116024
Yanping Zhang* ; Gonzaga University, Department of Computer Science, 502 East Boone Avenue, Spokane, WA 99258-0102, Canada


Full text: english pdf 962 Kb

page 1667-1673

downloads: 574

cite


Abstract

Social media provides a public and convenient platform for people to communicate. However, it is also open to hateful behavior and toxic comments. Social networks, like Facebook, Twitter, and many others, have been working on developing effective toxic comment detection methods to provide better service. Monolingual language model focuses on a single-language and provides high accuracy in detection. Multilingual language model provides better generalization performance. In order to improve the effectiveness of detecting toxic comments in multiple languages, we propose a hybrid model, which fuses monolingual model and multilingual model. We use labeled data to fine-tune the monolingual pre-trained model. We use masked language modeling to semi-supervise the fine-tuning of multilingual pre-trained model on unlabeled data and then use labeled data to fine-tune the model. Through this way, we can fully utilize the large amount of unlabeled data; reduce dependence on labeled comment data; and improve the effectiveness of detection. We also design several comparative experiments. The results demonstrate the effectiveness and advantage of our proposed model, especially compared to the XLM-RoBERTa multilingual fine-tuning model.

Keywords

masked language modelling; model fusion; toxic commenting; XLM-RoBERTa

Hrčak ID:

261344

URI

https://hrcak.srce.hr/261344

Publication date:

15.8.2021.

Visits: 1.380 *