Neural network hate deletion: Developing a machine learning model to eliminate hate from online comments

Joni Salminen, Juhani Luotolahti, Hind Almerekhi, Bernard James Jansen, Soon Gyo Jung

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Scopus citations

Abstract

We propose a method for modifying hateful online comments to non-hateful comments without losing the understandability and original meaning of the comments. To accomplish this, we retrieve and classify 301,153 hateful and 1,041,490 non-hateful comments from Facebook and YouTube channels of a large international media organization that is a target of considerable online hate. We supplement this dataset by 10,000 Reddit comments manually labeled for hatefulness. Using these two datasets, we train a neural network to distinguish linguistic patterns. The model we develop, Neural Network Hate Deletion (NNHD), computes how hateful the sentences of a social media comment are and if they are above a given threshold, it deletes them using a language dependency tree. We evaluate the results by comparing crowd workers’ perceptions of hatefulness and understandability before and after transformation and find that our method reduces hatefulness without resulting in a significant loss of understandability. In some cases, removing hateful elements improves understandability by reducing the linguistic complexity of the comment. In addition, we find that NNHD can satisfactorily retain the original meaning on average but is not perfect in this regard. In terms of practical implications, NNHD could be used in social media platforms to suggest more neutral use of language to agitated online users.

Original languageEnglish (US)
Title of host publicationInternet Science - 5th International Conference, INSCI 2018, Proceedings
EditorsSvetlana S. Bodrunova
PublisherSpringer Verlag
Pages25-39
Number of pages15
ISBN (Print)9783030014360
DOIs
StatePublished - Jan 1 2018
Event5th International Conference on Internet Science, INSCI 2018 - St. Petersburg, Russian Federation
Duration: Oct 24 2018Oct 26 2018

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11193 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other5th International Conference on Internet Science, INSCI 2018
CountryRussian Federation
CitySt. Petersburg
Period10/24/1810/26/18

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint Dive into the research topics of 'Neural network hate deletion: Developing a machine learning model to eliminate hate from online comments'. Together they form a unique fingerprint.

Cite this