Probing Toxic Content in Large Pre-Trained Language Models

By Nedjma Djouhra Ousidhoum, Xinran Zhao, Tianqing Fang, Yangqiu Song, Dit-Yan Yeung. 2021

148 citations recorded by the source corpus.

Large pre-trained language models (PTLMs) have been shown to carry biases towards different social groups which leads to the reproduction of stereotypical and toxic content by major NLP systems. We propose a method based on logistic regression classifiers to probe English, French, and Arabic PTLMs and quantify the potentially harmful content that they convey with respect to a set of templates. The templates are prompted by a name of a social group followed by a cause-effect relation. We use PTLMs to predict masked tokens at the end of a sentence in order to examine how likely they enable toxicity towards specific communities. We shed the light on how such negative content can be triggered within unrelated and benign contexts based on evidence from a large-scale study, then we explain how to take advantage of our methodology to assess and mitigate the toxicity transmitted by PTLMs.

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

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. Dirk Hovy
  2. Federico Bianchi
  3. Yulia Tsvetkov
  4. Debora Nozza
  5. Vidhisha Balachandran
  6. Sachin Kumar
  7. Antonios Anastasopoulos
  8. Minlie Huang

In Natural Language Processing

  1. Yulia Tsvetkov
  2. Dirk Hovy
  3. Antonios Anastasopoulos
  4. Federico Bianchi
  5. Sachin Kumar
  6. Debora Nozza
  7. Vidhisha Balachandran
  8. Lucille Njoo

In Safety, Robustness & Interpretability

  1. Dirk Hovy
  2. Federico Bianchi
  3. Anne Lauscher
  4. Debora Nozza
  5. Sachin Kumar
  6. Vidhisha Balachandran
  7. Lucille Njoo
  8. Antonios Anastasopoulos

Citations in the corpus