Mitigating Biases in Toxic Language Detection through Invariant Rationalization

Yung-Sung Chuang, Mingye Gao, Hongyin Luo, James Glass, Hung-yi Lee +2 more
6/14/2021
cs.CL

Official code: voidism/invrat_debias (4 stars, Python, last commit 2021-06-12).

Abstract

Automatic detection of toxic language plays an essential role in protecting social media users, especially minority groups, from verbal abuse. However, biases toward some attributes, including gender, race, and dialect, exist in most training datasets for toxicity detection.

Show full abstract

The biases make the learned models unfair and can even exacerbate the marginalization of people. Considering that current debiasing methods for general natural language understanding tasks cannot effectively mitigate the biases in the toxicity detectors, we propose to use invariant rationalization (InvRat), a game-theoretic framework consisting of a rationale generator and a predictor, to rule out the spurious correlation of certain syntactic patterns (e.g., identity mentions, dialect) to toxicity labels. We empirically show that our method yields lower false positive rate in both lexical and dialectal attributes than previous debiasing methods.

View on arXivView PDF

Code Implementations(1)

Code for "Mitigating Biases in Toxic Language Detection through Invariant Rationalization"

40Python, ShellJun 12, 20215 years ago

Similar Papers

Cite this paper

@article{chuang2021mitigating,
  title  = {Mitigating Biases in Toxic Language Detection through Invariant Rationalization},
  author = {Yung-Sung Chuang and Mingye Gao and Hongyin Luo and James Glass and Hung-yi Lee and Yun-Nung Chen and Shang-Wen Li},
  year   = {2021},
  eprint = {2106.07240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07240}
}

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

Discussion