article Open access

Investigating cross-lingual training for offensive language detection

  • PeerJ Computer Science
  • PeerJ, Inc.
Research footprint

At a glance

Citations
23
References
115
Comments
0
Paper overview

Abstract

Platforms that feature user-generated content (social media, online forums, newspaper comment sections etc.) have to detect and filter offensive speech within large, fast-changing datasets. While many automatic methods have been proposed and achieve good accuracies, most of these focus on the English language, and are hard to apply directly to languages in which few labeled datasets exist. Recent work has therefore investigated the use of cross-lingual transfer learning to solve this problem, training a model in a well-resourced language and transferring to a less-resourced target language; but performance has so far been significantly less impressive. In this paper, we investigate the reasons for this performance drop, via a systematic comparison of pre-trained models and intermediate training regimes on five different languages. We show that using a better pre-trained language model results in a large gain in overall performance and in zero-shot transfer, and that intermediate training on other languages is effective when little target-language data is available. We then use multiple analyses of classifier confidence and language model vocabulary to shed light on exactly where these gains come from and gain insight into the sources of the most typical mistakes.

Record transparency

Publication details

DOI
10.7717/peerj-cs.559
OpenAlex
W3177002328
Document type
article
Language
EN
Source
PeerJ Computer Science
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.