Language Detoxification with Attribute-Discriminative Latent Space
Jin Myung Kwak, Minseon Kim, Sung Ju Hwang
摘要
Transformer-based Language Models (LMs) have achieved impressive results on natural language understanding tasks, but they can also generate toxic text such as insults, threats, and profanity, limiting their real-world applications. To overcome this issue, a few text generation approaches aim to detoxify toxic texts using additional LMs or perturbations. However, previous methods require excessive memory, computations, and time which are serious bottlenecks in their real-world application. To address such limitations, we propose an effective yet efficient method for language detoxification using an attribute-discriminative latent space. Specifically, we project the latent space of an original Transformer LM onto a discriminative latent space that well-separates texts by their attributes using a projection block and an attribute discriminator. This allows the LM to control the text generation to be non-toxic with minimal memory and computation overhead. We validate our model, Attribute-Discriminative Language Model (ADLM) on detoxified language and dialogue generation tasks, on which our method significantly outperforms baselines both in performance and efficiency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Large Language Models can Become Strong Self-Detoxifiers 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Large Language Models can Become Strong Self-Detoxifiers 引用了 Self-Detoxifying Language Models via Toxification Reversal
- Large Language Models can Become Strong Self-Detoxifiers 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
- Large Language Models can Become Strong Self-Detoxifiers 引用了 Language Models are Few-Shot Learners
- Test-Time Detoxification without Training or Learning Anything 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Test-Time Detoxification without Training or Learning Anything 引用了 Large Language Models can Become Strong Self-Detoxifiers
- Test-Time Detoxification without Training or Learning Anything 引用了 Self-Detoxifying Language Models via Toxification Reversal
- Test-Time Detoxification without Training or Learning Anything 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
- Self-Detoxifying Language Models via Toxification Reversal 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Self-Detoxifying Language Models via Toxification Reversal 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias 引用了 Self-Detoxifying Language Models via Toxification Reversal
- Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
- Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias 引用了 Language Models are Few-Shot Learners
- IF-Guide: Influence Function-Guided Detoxification of LLMs 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- IF-Guide: Influence Function-Guided Detoxification of LLMs 引用了 Large Language Models can Become Strong Self-Detoxifiers
- IF-Guide: Influence Function-Guided Detoxification of LLMs 引用了 Self-Detoxifying Language Models via Toxification Reversal
- IF-Guide: Influence Function-Guided Detoxification of LLMs 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
引用它的顶会 Paper7
- Self-Detoxifying Language Models via Toxification ReversalChak Tou Leong, Yi Cheng, Jiashuo Wang, Jian Wang 等EMNLP 2023 · 12 次引用
- IF-Guide: Influence Function-Guided Detoxification of LLMsZachary Coalson, Juhan Bae, Nicholas Carlini, Sanghyun HongNeurIPS 2025 · 9 次引用
- Test-Time Detoxification without Training or Learning AnythingBaturay Saglam, Dionysios KalogeriasICML 2026 · 2 次引用
- Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and BiasRongwu Xu, Zi'an Zhou, Tianwei Zhang, Zehan Qi 等EMNLP 2024 · 2 次引用
- Large Language Models can Become Strong Self-DetoxifiersChing-Yun Ko, Pin-Yu Chen, Payel Das, Youssef Mroueh 等ICLR 2025
它引用的 Paper14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi 等EMNLP Findings 2020 · 692 次引用
相关 Paper
- Leashing the Inner Demons: Self-Detoxification for Language ModelsCanwen Xu, Zexue He, Zhankui He, Julian J. McAuleyAAAI 2022 · 30 次引用
- CFL: Causally Fair Language Models Through Token-level Attribute Controlled GenerationRahul Madhavan, Rishabh Garg, Kahini Wadhawan, Sameep MehtaACL Findings 2023
- Controlled Text Generation with Hidden Representation TransformationsVaibhav Kumar, Hana Koorehdavoudi, Masud Moshtaghi, Amita Misra 等ACL Findings 2023 · 1 次引用
- Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language ModelsBoxin Wang, Wei Ping, Chaowei Xiao, Peng Xu 等NeurIPS 2022 · 89 次引用
- Language Model Detoxification in Dialogue with Contextualized Stance ControlJing Qian, Xifeng YanEMNLP Findings 2022
