Challenges in Detoxifying Language Models

By Johannes Welbl, Amelia Glaese, Jonathan Uesato, Sumanth Dathathri, John F. J. Mellor, Lisa Anne Hendricks, Kirsty Anderson, Pushmeet Kohli, Ben Coppin, Po-Sen Huang. 2021

248 citations recorded by the source corpus.

Large language models (LM) generate remarkably fluent text and can be efficiently adapted across NLP tasks. Measuring and guaranteeing the quality of generated text in terms of safety is imperative for deploying LMs in the real world; to this end, prior work often relies on automatic evaluation of LM toxicity. We critically discuss this approach, evaluate several toxicity mitigation strategies with respect to both automatic and human evaluation, and analyze consequences of toxicity mitigation in terms of model bias and LM quality. We demonstrate that while basic intervention strategies can effectively optimize previously established automatic metrics on the RealToxicityPrompts dataset, this comes at the cost of reduced LM coverage for both texts about, and dialects of, marginalized groups. Additionally, we find that human raters often disagree with high automatic toxicity scores after strong toxicity reduction interventions -- highlighting further the nuances involved in careful evaluation of LM toxicity.

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. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Percy Liang
  4. Jianfeng Gao
  5. Quoc V. Le
  6. Yejin Choi
  7. Noah A. Smith
  8. Graham Neubig

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Noah A. Smith
  4. Graham Neubig
  5. Luke S. Zettlemoyer
  6. Richard Socher
  7. Samuel R. Bowman
  8. Jianfeng Gao

In Safety, Robustness & Interpretability

  1. Nicholas Carlini
  2. Florian Tramèr
  3. Prateek Mittal
  4. Jacob Steinhardt
  5. Percy Liang
  6. Sunipa Dev
  7. Kai-Wei Chang
  8. Dirk Hovy

Citations in the corpus