mlsanityData to 7 Oct 2026

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

arXiv 2210.04492 ↗First posted 10 Oct 2022cs.CL cs.AI cs.LGcited by 32

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  4. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  5. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  7. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  8. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  9. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
  10. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  11. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
  12. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
38 more
  1. 2021Ethical and social risks of harm from Language Modelscited by 957
  2. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
  3. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  4. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  5. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  6. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
  7. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  8. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  9. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  10. 2020AdapterHub: A Framework for Adapting Transformerscited by 441
  11. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  12. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  13. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
  14. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 336
  15. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  16. 2021Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detectioncited by 258
  17. 2022A Contrastive Framework for Neural Text Generationcited by 224
  18. 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
  19. 2018Gender Bias in Neural Natural Language Processingcited by 210
  20. 2021Societal Biases in Language Generation: Progress and Challengescited by 201
  21. 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
  22. 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
  23. 2020Towards Debiasing Sentence Representationscited by 170
  24. 2021Challenges in Detoxifying Language Modelscited by 169
  25. 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
  26. 2019Wasserstein Fair Classificationcited by 131
  27. 2018Disentangled Representation Learning for Non-Parallel Text Style Transfercited by 127
  28. 2020Towards Controllable Biases in Language Generationcited by 112
  29. 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 106
  30. 2021Challenges in Automated Debiasing for Toxic Language Detectioncited by 95
  31. 2019Do Massively Pretrained Language Models Make Better Storytellers?cited by 90
  32. 2019Does Gender Matter? Towards Fairness in Dialogue Systemscited by 89
  33. 2020Reducing Gender Bias in Neural Machine Translation as a Domain Adaptation Problemcited by 86
  34. 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
  35. 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 67
  36. 2019Reducing Gender Bias in Word-Level Language Models with a Gender-Equalizing Loss Functioncited by 57
  37. 2020Investigating African-American Vernacular English in Transformer-Based Text Generationcited by 52
  38. 2021Text Detoxification using Large Pre-trained Neural Modelscited by 52

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 10; 2024: 13; 2025: 6; 2026: 1.

32 papers.

Sort:

By area:

  1. 2023Bias and Fairness in Large Language Models: A Surveycited by 626
  2. 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
  3. 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 97
  4. 2024Survey of Bias In Text-to-Image Generation: Definition, Evaluation, and Mitigationcited by 66
  5. 2023TrustGPT: A Benchmark for Trustworthy and Responsible Large Language Modelscited by 56
  6. 2023Controlled Text Generation via Language Model Arithmeticcited by 51
  7. 2024Representation Surgery: Theory and Practice of Affine Steeringcited by 47
  8. 2023On the Challenges of Using Black-Box APIs for Toxicity Evaluation in Researchcited by 44
  9. 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 37
  10. 2022MAUVE Scores for Generative Models: Theory and Practicecited by 34
  11. 2023ToViLaG: Your Visual-Language Generative Model is Also An Evildoercited by 27
  12. 2023Survey of Social Bias in Vision-Language Modelscited by 26
20 more
  1. 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Modelscited by 23
  2. 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
  3. 2024Raising the Bar: Investigating the Values of Large Language Models via Generative Evolving Testingcited by 17
  4. 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Biascited by 17
  5. 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversioncited by 10
  6. 2023Unpacking the Ethical Value Alignment in Big Modelscited by 9
  7. 2022DuNST: Dual Noisy Self Training for Semi-Supervised Controllable Text Generationcited by 5
  8. 2024Towards Effective Discrimination Testing for Generative AIcited by 5
  9. 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulationcited by 5
  10. 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Modelscited by 3
  11. 2024Detecting Bias in Large Language Models: Fine-tuned KcBERTcited by 2
  12. 2024Towards Understanding Task-agnostic Debiasing Through the Lenses of Intrinsic Bias and Forgetfulnesscited by 2
  13. 2024Embedding an Ethical Mind: Aligning Text-to-Image Synthesis via Lightweight Value Optimizationcited by 2
  14. 2025Distributional Surgery for Language Model Activationscited by 2
  15. 2025IRepair: An Intent-Aware Approach to Repair Data-Driven Errors in Large Language Modelscited by 1
  16. 2025Towards Universal Debiasing for Language Models-based Tabular Data Generationcited by 1
  17. 2026Social Bias in LLM-Generated Code: Benchmark and Mitigationcited by 1
  18. 2023KEST: Kernel Distance Based Efficient Self-Training for Improving Controllable Text Generationcited by 0
  19. 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Modelscited by 0
  20. 2025A Critical Review of Predominant Bias in Neural Networkscited by 0