Mitigating harm in language models with conditional-likelihood filtration (2108.07790v3)
Abstract: LLMs 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 LLM 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 LLMing 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 LLMing benchmarks. Finally, we discuss the generalization of this method and how trigger phrases which reflect specific values can be used by researchers to build LLMs which are more closely aligned with their values.
- Helen Ngo (6 papers)
- Cooper Raterink (2 papers)
- João G. M. Araújo (8 papers)
- Ivan Zhang (8 papers)
- Carol Chen (7 papers)
- Adrien Morisot (8 papers)
- Nicholas Frosst (10 papers)