Mitigating harm in language models with conditional-likelihood filtration

By Helen Ngo, Cooper D. Raterink, J. Ara'ujo, Ivan Zhang, Carol Chen, Adrien Morisot, Nick Frosst. 2021

51 citations recorded by the source corpus.

Language models trained on large-scale unfiltered datasets curated from the open web acquire systemic biases, prejudices, and harmful views from their training data. We present a methodology for programmatically identifying and removing harmful text from web-scale datasets. A pretrained language model is used to calculate the log-likelihood of researcher-written trigger phrases conditioned on a specific document, which is used to identify and filter documents from the dataset. We demonstrate that models trained on this filtered dataset exhibit lower propensity to generate harmful text, with a marginal decrease in performance on standard language modeling benchmarks compared to unfiltered baselines. We provide a partial explanation for this performance gap by surfacing examples of hate speech and other undesirable content from standard language modeling benchmarks. Finally, we discuss the generalization of this method and how trigger phrases which reflect specific values can be used by researchers to build language models which are more closely aligned with their values.

Subfields: Artificial Intelligence, Large Language Models, 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. Percy Liang
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Jianfeng Gao
  5. Yejin Choi
  6. Sergey Levine
  7. Quoc V. Le
  8. Graham Neubig

In Large Language Models

  1. Yejin Choi
  2. Luke S. Zettlemoyer
  3. Tomasz Korbak
  4. Marc Dymetman
  5. Germán Kruszewski
  6. Yang Liu
  7. Jared Kaplan
  8. Yulia Tsvetkov

In Safety, Robustness & Interpretability

  1. Dan Hendrycks
  2. Mantas Mazeika
  3. Steven Basart
  4. Sachin Kumar
  5. Vidhisha Balachandran
  6. Jan Leike
  7. Jacob Hilton
  8. Andy Zou

Citations in the corpus