Deceiving Google's Perspective API Built for Detecting Toxic Comments

By Hossein Hosseini, Sreeram Kannan, Baosen Zhang, Radha Poovendran. 2017

369 citations recorded by the source corpus.

Social media platforms provide an environment where people can freely engage in discussions. Unfortunately, they also enable several problems, such as online harassment. Recently, Google and Jigsaw started a project called Perspective, which uses machine learning to automatically detect toxic language. A demonstration website has been also launched, which allows anyone to type a phrase in the interface and instantaneously see the toxicity score [1]. In this paper, we propose an attack on the Perspective toxic detection system based on the adversarial examples. We show that an adversary can subtly modify a highly toxic phrase in a way that the system assigns significantly lower toxicity score to it. We apply the attack on the sample phrases provided in the Perspective website and show that we can consistently reduce the toxicity scores to the level of the non-toxic phrases. The existence of such adversarial examples is very harmful for toxic detection systems and seriously undermines their usability.

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. Yejin Choi
  2. Mohit Bansal
  3. Percy Liang
  4. Noah A. Smith
  5. Luke S. Zettlemoyer
  6. Douwe Kiela
  7. Graham Neubig
  8. Yulia Tsvetkov

In Natural Language Processing

  1. Yejin Choi
  2. Mohit Bansal
  3. Noah A. Smith
  4. Yulia Tsvetkov
  5. Douwe Kiela
  6. Luke S. Zettlemoyer
  7. Graham Neubig
  8. Hannaneh Hajishirzi

In Safety, Robustness & Interpretability

  1. Svetlana Kiritchenko
  2. Dirk Hovy
  3. Isar Nejadgholi
  4. Yulia Tsvetkov
  5. Yejin Choi
  6. Bertie Vidgen
  7. Kai-Wei Chang
  8. Zeerak Talat

In Signal Processing

  1. Keita Kurita
  2. Zhijin Qin
  3. Svetlana Kiritchenko
  4. Isar Nejadgholi
  5. Dong Nguyen
  6. Yanjun Qi
  7. Yuji Matsumoto
  8. Jun Suzuki

Citations in the corpus