paper-with-me

홈 › Papers

Reward Modeling for Mitigating Toxicity in Transformer-based Language Models

2022-02-19 · Farshid Faal, Ketra Schmitt, Jia Yuan Yu

Transformer-based language models are able to generate fluent text and be efficiently adapted across various natural language generation tasks. However, language models that are pretrained on large unlabeled web text corpora have been shown to suffer from degenerating toxic content and social bias behaviors, consequently hindering their safe deployment. Various detoxification methods were proposed to mitigate the language model's toxicity; however, these methods struggled to detoxify language models when conditioned on prompts that contain specific social identities related to gender, race, or religion. In this study, we propose Reinforce-Detoxify; A reinforcement learning-based method for mitigating toxicity in language models. We address the challenge of safety in language models and propose a new reward model that is able to detect toxic content and mitigate unintended bias towards social identities in toxicity prediction. The experiments demonstrate that the Reinforce-Detoxify method for language model detoxification outperforms existing detoxification approaches in automatic evaluation metrics, indicating the ability of our approach in language model detoxification and less prone to unintended bias toward social identities in generated content.

📄 PDF Abstract BibTeX arXiv:2202.09662

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingText Generation

Similar Papers 제목 키워드 기반

AI-UPV at IberLEF-2021 DETOXIS task: Toxicity Detection in Immigration-Related Web News Comments Using Transformers and Statistical Models

2021-11-08 · Angel Felipe Magnossão de Paula, Ipek Baris Schlicht

This paper describes our participation in the DEtection of TOXicity in comments In Spanish (DETOXIS) shared task 2021 at the 3rd Workshop on Iberian Languages Evaluation Forum. The shared task is divided into two related…

ArticlesTask 2

Cross-Lingual Transfer of Debiasing and Detoxification in Multilingual LLMs: An Extensive Investigation

2024-12-18 · Vera Neplenbroek, Arianna Bisazza, Raquel Fernández

Recent generative large language models (LLMs) show remarkable performance in non-English languages, but when prompted in those languages they tend to express higher harmful social biases and toxicity levels. Prior work …

Cross-Lingual TransferText Generation

FrenchToxicityPrompts: a Large Benchmark for Evaluating and Mitigating Toxicity in French Texts

2024-06-25 · Caroline Brun, Vassilina Nikoulina

Large language models (LLMs) are increasingly popular but are also prone to generating bias, toxic or harmful language, which can have detrimental effects on individuals and communities. Although most efforts is put to a…

TuneShield: Mitigating Toxicity in Conversational AI while Fine-tuning on Untrusted Data

2025-07-08 · Aravind Cheruvu, Shravya Kanchi, Sifat Muhammad Abdullah, Nicholas Kong 외

Recent advances in foundation models, such as LLMs, have revolutionized conversational AI. Chatbots are increasingly being developed by customizing LLMs on specific conversational datasets. However, mitigating toxicity d…

ChatbotInstruction FollowingSafety Alignment

Quark: Controllable Text Generation with Reinforced Unlearning

2022-05-26 · Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang 외

Large-scale language models often learn behaviors that are misaligned with user expectations. Generated text may contain offensive or toxic language, contain significant repetition, or be of a different sentiment than de…

Language ModelingLanguage ModellingText Generation