paper-with-me

Papers

Challenges in Detoxifying Language Models

2021-09-15 · Findings (EMNLP) 2021 11 · Johannes Welbl, Amelia Glaese, Jonathan Uesato, Sumanth Dathathri, John Mellor, Lisa Anne Hendricks, Kirsty Anderson, Pushmeet Kohli, Ben Coppin, Po-Sen Huang

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.

📄 PDF Abstract BibTeX arXiv:2109.07445

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Detoxifying Large Language Models via Knowledge Editing

2024-03-21 · Mengru Wang, Ningyu Zhang, Ziwen Xu, Zekun Xi 외

This paper investigates using knowledge editing techniques to detoxify Large Language Models (LLMs). We construct a benchmark, SafeEdit, which covers nine unsafe categories with various powerful attack prompts and equips…

knowledge editing

Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimization

2022-10-10 · Zonghan Yang, Xiaoyuan Yi, Peng Li, Yang Liu 외

Warning: this paper contains model outputs exhibiting offensiveness and biases. Recently pre-trained language models (PLMs) have prospered in various natural language generation (NLG) tasks due to their ability to genera…

Text Generation

UniDetox: Universal Detoxification of Large Language Models via Dataset Distillation

2025-04-29 · Huimin Lu, Masaru Isonuma, Junichiro Mori, Ichiro Sakata

We present UniDetox, a universally applicable method designed to mitigate toxicity across various large language models (LLMs). Previous detoxification methods are typically model-specific, addressing only individual mod…

Dataset DistillationLanguage ModelingLanguage Modelling

Preference Tuning For Toxicity Mitigation Generalizes Across Languages

2024-06-23 · Xiaochen Li, Zheng-Xin Yong, Stephen H. Bach

Detoxifying multilingual Large Language Models (LLMs) has become crucial due to their increasing global use. In this work, we explore zero-shot cross-lingual generalization of preference tuning in detoxifying LLMs. Unlik…

RetrievalSentenceSentence Retrieval

Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Models

2022-02-08 · Boxin Wang, Wei Ping, Chaowei Xiao, Peng Xu 외

Pre-trained language models (LMs) are shown to easily generate toxic language. In this work, we systematically explore domain-adaptive training to reduce the toxicity of language models. We conduct this study on three di…