Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimization
Not on the map. Why?
Abstract (arXiv)
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 generate fairly fluent text. Nevertheless, these models are observed to capture and reproduce harmful contents in training corpora, typically toxic language and social biases, raising severe moral issues. Prior works on ethical NLG tackle detoxifying and debiasing separately, which is problematic since we find debiased models still exhibit toxicity while detoxified ones even exacerbate social biases. To address such a challenge, we propose the first unified framework of detoxifying and debiasing called UDDIA, which jointly formalizes these two problems as rectifying the output space. We theoretically interpret our framework as learning a text distribution mixing weighted attributes. Besides, UDDIA conducts adaptive optimization of only a few parameters during decoding based on a parameter-efficient tuning schema without any training data. This leads to minimal generation quality loss and improved rectification performance with acceptable computational cost. Experimental results demonstrate that compared to several strong baselines, UDDIA achieves debiasing and detoxifying simultaneously and better balances efficiency and effectiveness, taking a further step towards practical ethical NLG.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 58 of its 139 references that are in the map. First posted on arXiv 10 Oct 2022.
Builds on
58 of 139 references.
References · 58
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
38 more
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 336
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
- 2021Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detectioncited by 258
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
- 2018Gender Bias in Neural Natural Language Processingcited by 210
- 2021Societal Biases in Language Generation: Progress and Challengescited by 201
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
- 2020Towards Debiasing Sentence Representationscited by 170
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
- 2019Wasserstein Fair Classificationcited by 131
- 2018Disentangled Representation Learning for Non-Parallel Text Style Transfercited by 127
- 2020Towards Controllable Biases in Language Generationcited by 112
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 106
- 2021Challenges in Automated Debiasing for Toxic Language Detectioncited by 95
- 2019Do Massively Pretrained Language Models Make Better Storytellers?cited by 90
- 2019Does Gender Matter? Towards Fairness in Dialogue Systemscited by 89
- 2020Reducing Gender Bias in Neural Machine Translation as a Domain Adaptation Problemcited by 86
- 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
- 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 67
- 2019Reducing Gender Bias in Word-Level Language Models with a Gender-Equalizing Loss Functioncited by 57
- 2020Investigating African-American Vernacular English in Transformer-Based Text Generationcited by 52
- 2021Text Detoxification using Large Pre-trained Neural Modelscited by 52
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2022: 2; 2023: 10; 2024: 13; 2025: 6; 2026: 1.
32 papers.
Sort:
By area:
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 97
- 2024Survey of Bias In Text-to-Image Generation: Definition, Evaluation, and Mitigationcited by 66
- 2023TrustGPT: A Benchmark for Trustworthy and Responsible Large Language Modelscited by 56
- 2023Controlled Text Generation via Language Model Arithmeticcited by 51
- 2024Representation Surgery: Theory and Practice of Affine Steeringcited by 47
- 2023On the Challenges of Using Black-Box APIs for Toxicity Evaluation in Researchcited by 44
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 37
- 2022MAUVE Scores for Generative Models: Theory and Practicecited by 34
- 2023ToViLaG: Your Visual-Language Generative Model is Also An Evildoercited by 27
- 2023Survey of Social Bias in Vision-Language Modelscited by 26
20 more
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Modelscited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2024Raising the Bar: Investigating the Values of Large Language Models via Generative Evolving Testingcited by 17
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Biascited by 17
- 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversioncited by 10
- 2023Unpacking the Ethical Value Alignment in Big Modelscited by 9
- 2022DuNST: Dual Noisy Self Training for Semi-Supervised Controllable Text Generationcited by 5
- 2024Towards Effective Discrimination Testing for Generative AIcited by 5
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulationcited by 5
- 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Modelscited by 3
- 2024Detecting Bias in Large Language Models: Fine-tuned KcBERTcited by 2
- 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulnesscited by 2
- 2024Embedding an Ethical Mind: Aligning Text-to-Image Synthesis via Lightweight Value Optimizationcited by 2
- 2025Distributional Surgery for Language Model Activationscited by 2
- 2025IRepair: An Intent-Aware Approach to Repair Data-Driven Errors in Large Language Modelscited by 1
- 2025Towards Universal Debiasing for Language Models-based Tabular Data Generationcited by 1
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigationcited by 1
- 2023KEST: Kernel Distance Based Efficient Self-Training for Improving Controllable Text Generationcited by 0
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Modelscited by 0
- 2025A Critical Review of Predominant Bias in Neural Networkscited by 0
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2025Towards Universal Debiasing for Language Models-based Tabular Data Generation20 Sep 2025
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steering20 Apr 2025
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulation28 Feb 2025
- 2025A Critical Review of Predominant Bias in Neural Networks16 Feb 2025
- 2025IRepair: An Intent-Aware Approach to Repair Data-Driven Errors in Large Language Models10 Feb 2025
- 2025Distributional Surgery for Language Model Activations27 Jan 2025
- 2024Towards Effective Discrimination Testing for Generative AI30 Dec 2024
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models2 Dec 2024
- 2024Embedding an Ethical Mind: Aligning Text-to-Image Synthesis via Lightweight Value Optimization16 Oct 2024
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias22 Jul 2024
- 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversion17 Jul 2024
20 more
- 2024Raising the Bar: Investigating the Values of Large Language Models via Generative Evolving Testing20 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulness6 Jun 2024
- 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Models1 Jun 2024
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Era17 Apr 2024
- 2024Survey of Bias In Text-to-Image Generation: Definition, Evaluation, and Mitigation1 Apr 2024
- 2024Detecting Bias in Large Language Models: Fine-tuned KcBERT16 Mar 2024
- 2024Representation Surgery: Theory and Practice of Affine Steering15 Feb 2024
- 2023ToViLaG: Your Visual-Language Generative Model is Also An Evildoer13 Dec 2023
- 2023Controlled Text Generation via Language Model Arithmetic24 Nov 2023
- 2023Unpacking the Ethical Value Alignment in Big Models26 Oct 2023
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Models11 Oct 2023
- 2023Survey of Social Bias in Vision-Language Models24 Sep 2023
- 2023Bias and Fairness in Large Language Models: A Survey2 Sep 2023
- 2023TrustGPT: A Benchmark for Trustworthy and Responsible Large Language Models20 Jun 2023
- 2023KEST: Kernel Distance Based Efficient Self-Training for Improving Controllable Text Generation17 Jun 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey30 May 2023
- 2023On the Challenges of Using Black-Box APIs for Toxicity Evaluation in Research24 Apr 2023
- 2022MAUVE Scores for Generative Models: Theory and Practice30 Dec 2022
- 2022DuNST: Dual Noisy Self Training for Semi-Supervised Controllable Text Generation16 Dec 2022
- 2023Survey of Social Bias in Vision-Language Modelscited by 26
- 2023Survey of Social Bias in Vision-Language Models24 Sep 2023
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 97
- 2024Survey of Bias In Text-to-Image Generation: Definition, Evaluation, and Mitigationcited by 66
- 2023TrustGPT: A Benchmark for Trustworthy and Responsible Large Language Modelscited by 56
- 2023Controlled Text Generation via Language Model Arithmeticcited by 51
- 2024Representation Surgery: Theory and Practice of Affine Steeringcited by 47
- 2023On the Challenges of Using Black-Box APIs for Toxicity Evaluation in Researchcited by 44
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 37
- 2022MAUVE Scores for Generative Models: Theory and Practicecited by 34
- 2023ToViLaG: Your Visual-Language Generative Model is Also An Evildoercited by 27
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
12 most cited of 25 All 25 (JSON)
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steering20 Apr 2025
- 2025A Critical Review of Predominant Bias in Neural Networks16 Feb 2025
- 2025IRepair: An Intent-Aware Approach to Repair Data-Driven Errors in Large Language Models10 Feb 2025
- 2025Distributional Surgery for Language Model Activations27 Jan 2025
- 2024Towards Effective Discrimination Testing for Generative AI30 Dec 2024
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models2 Dec 2024
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias22 Jul 2024
- 2024Raising the Bar: Investigating the Values of Large Language Models via Generative Evolving Testing20 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulness6 Jun 2024
- 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Models1 Jun 2024
12 newest of 25 All 25 (JSON)