mlsanityData to 7 Oct 2026

Language Model Detoxification in Dialogue with Contextualized Stance Control

arXiv 2301.10368 ↗First posted 25 Jan 2023cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

To reduce the toxic degeneration in a pretrained Language Model (LM), previous work on Language Model detoxification has focused on reducing the toxicity of the generation itself (self-toxicity) without consideration of the context. As a result, a type of implicit offensive language where the generations support the offensive language in the context is ignored. Different from the LM controlling tasks in previous work, where the desired attributes are fixed for generation, the desired stance of the generation depends on the offensiveness of the context. Therefore, we propose a novel control method to do context-dependent detoxification with the stance taken into consideration. We introduce meta prefixes to learn the contextualized stance control strategy and to generate the stance control prefix according to the input context. The generated stance prefix is then combined with the toxicity control prefix to guide the response generation. Experimental results show that our proposed method can effectively learn the context-dependent stance control strategies while keeping a low self-toxicity of the underlying LM.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 16 of its 23 references that are in the map. First posted on arXiv 25 Jan 2023.

Builds on

16 of 23 references.

References · 16

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  7. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  8. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  9. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  10. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  11. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
  12. 2020SemEval-2020 Task 12: Multilingual Offensive Language Identification in Social Media (OffensEval 2020)cited by 138
4 more
  1. 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
  2. 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
  3. 2021Just Say No: Analyzing the Stance of Neural Dialogue Generation in Offensive Contextscited by 56
  4. 2020Galileo at SemEval-2020 Task 12: Multi-lingual Learning for Offensive Language Identification using Pre-trained Language Modelscited by 11

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.