Towards Robust Toxic Content Classification

By Keita Kurita, Anna Belova, Antonios Anastasopoulos. 2019

41 citations recorded by the source corpus.

Toxic content detection aims to identify content that can offend or harm its recipients. Automated classifiers of toxic content need to be robust against adversaries who deliberately try to bypass filters. We propose a method of generating realistic model-agnostic attacks using a lexicon of toxic tokens, which attempts to mislead toxicity classifiers by diluting the toxicity signal either by obfuscating toxic tokens through character-level perturbations, or by injecting non-toxic distractor tokens. We show that these realistic attacks reduce the detection recall of state-of-the-art neural toxicity detectors, including those using ELMo and BERT, by more than 50% in some cases. We explore two approaches for defending against such attacks. First, we examine the effect of training on synthetically noised data. Second, we propose the Contextual Denoising Autoencoder (CDAE): a method for learning robust representations that uses character-level and contextual information to denoise perturbed tokens. We show that the two approaches are complementary, improving robustness to both character-level perturbations and distractors, recovering a considerable portion of the lost accuracy. Finally, we analyze the robustness characteristics of the most competitive methods and outline practical considerations for improving toxicity detectors.

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

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. Yi Tay
  3. Donald Metzler
  4. Vinodkumar Prabhakaran
  5. Vidhisha Balachandran
  6. Sachin Kumar
  7. Antonios Anastasopoulos
  8. Lucille Njoo

In Natural Language Processing

  1. Yulia Tsvetkov
  2. Sachin Kumar
  3. Vidhisha Balachandran
  4. Antonios Anastasopoulos
  5. Lucille Njoo
  6. Vinodkumar Prabhakaran
  7. Donald Metzler
  8. Yi Tay

In Safety, Robustness & Interpretability

  1. Yulia Tsvetkov
  2. Vinodkumar Prabhakaran
  3. Sachin Kumar
  4. Vidhisha Balachandran
  5. Lucille Njoo
  6. Antonios Anastasopoulos
  7. Dylan Baker
  8. David Jurgens

In Signal Processing

  1. Vidhisha Balachandran
  2. Yi Tay
  3. Yulia Tsvetkov
  4. Donald Metzler
  5. David Jurgens
  6. Vinodkumar Prabhakaran
  7. Antonios Anastasopoulos
  8. Sachin Kumar

Citations in the corpus