Toxicity Detection: Does Context Really Matter?

John Pavlopoulos, Jeffrey Sorensen, Lucas Dixon, Nithum Thain, Ion Androutsopoulos
6/1/2020
cs.CL

Official code: ipavlopoulos/context_toxicity (29 stars, Python, Apache-2.0, last commit 2023-07-21).

Abstract

Moderation is crucial to promoting healthy on-line discussions. Although several `toxicity' detection datasets and models have been published, most of them ignore the context of the posts, implicitly assuming that comments maybe judged independently.

Show full abstract

We investigate this assumption by focusing on two questions: (a) does context affect the human judgement, and (b) does conditioning on context improve performance of toxicity detection systems? We experiment with Wikipedia conversations, limiting the notion of context to the previous post in the thread and the discussion title. We find that context can both amplify or mitigate the perceived toxicity of posts. Moreover, a small but significant subset of manually labeled posts (5% in one of our experiments) end up having the opposite toxicity labels if the annotators are not provided with context. Surprisingly, we also find no evidence that context actually improves the performance of toxicity classifiers, having tried a range of classifiers and mechanisms to make them context aware. This points to the need for larger datasets of comments annotated in context. We make our code and data publicly available.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Toxicity Detection in Context: Assuming that the comment exists in a thread and that the parent comment or/and the discussion topic are enough context provided to humans/systems detecting toxicity.

297Python, ShellNov 29, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{pavlopoulos2020toxicity,
  title  = {Toxicity Detection: Does Context Really Matter?},
  author = {John Pavlopoulos and Jeffrey Sorensen and Lucas Dixon and Nithum Thain and Ion Androutsopoulos},
  year   = {2020},
  eprint = {2006.00998},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.00998}
}

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/2006.00998.svg)](https://codeofpaper.com/paper/2006.00998)

Discussion