GTA: Gated Toxicity Avoidance for LM Performance Preservation
Not on the map. Why?
Abstract (arXiv)
Caution: This paper includes offensive words that could potentially cause unpleasantness. The fast-paced evolution of generative language models such as GPT-4 has demonstrated outstanding results in various NLP generation tasks. However, due to the potential generation of offensive words related to race or gender, various Controllable Text Generation (CTG) methods have been proposed to mitigate the occurrence of harmful words. However, existing CTG methods not only reduce toxicity but also negatively impact several aspects of the language model's generation performance, including topic consistency, grammar, and perplexity. This paper explores the limitations of previous methods and introduces a novel solution in the form of a simple Gated Toxicity Avoidance (GTA) that can be applied to any CTG method. We also evaluate the effectiveness of the proposed GTA by comparing it with state-of-the-art CTG methods across various datasets. Our findings reveal that gated toxicity avoidance efficiently achieves comparable levels of toxicity reduction to the original CTG methods while preserving the generation performance of the language model.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 23 references that are in the map. First posted on arXiv 11 Dec 2023.
Builds on
18 of 23 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
6 more
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
- 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 183
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 107
- 2022DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generationcited by 30
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 9
- 2024Correct after Answer: Enhancing Multi-Span Question Answering with Post-Processing Methodcited by 0
- 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Studycited by 0
- 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Study13 May 2026
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2024Correct after Answer: Enhancing Multi-Span Question Answering with Post-Processing Method22 Oct 2024