BERT and fastText Embeddings for Automatic Detection of Toxic Speech

By Ashwin Geet D'Sa, Irina Illina, Dominique Fohr. 2020

96 citations recorded by the source corpus.

With the expansion of Internet usage, catering to the dissemination of thoughts and expressions of an individual, there has been an immense increase in the spread of online hate speech. Social media, community forums, discussion platforms are few examples of common playground of online discussions where people are freely allowed to communicate. However, the freedom of speech may be misused by some people by arguing aggressively, offending others and spreading verbal violence. As there is no clear distinction between the terms offensive, abusive, hate and toxic speech, in this paper we consider the above mentioned terms as toxic speech. In many countries, online toxic speech is punishable by the law. Thus, it is important to automatically detect and remove toxic speech from online medias. Through this work, we propose automatic classification of toxic speech using embedding representations of words and deep-learning techniques. We perform binary and multi-class classification using a Twitter corpus and study two approaches: (a) a method which consists in extracting of word embeddings and then using a DNN classifier; (b) fine-tuning the pre-trained BERT model. We observed that BERT fine-tuning performed much better. Proposed methodology can be used for any other type of social media comments.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yulia Tsvetkov
  2. Vidhisha Balachandran
  3. Sachin Kumar
  4. Antonios Anastasopoulos
  5. Lucille Njoo
  6. Mohit Bansal
  7. Anjalie Field
  8. Hinrich Schütze

In Natural Language Processing

  1. Yulia Tsvetkov
  2. Sachin Kumar
  3. Vidhisha Balachandran
  4. Antonios Anastasopoulos
  5. Lucille Njoo
  6. Anjalie Field
  7. Hinrich Schütze
  8. Mohit Bansal

In Safety, Robustness & Interpretability

  1. Sachin Kumar
  2. Vidhisha Balachandran
  3. Lucille Njoo
  4. Antonios Anastasopoulos
  5. Yulia Tsvetkov

Citations in the corpus