mlsanityData to 14 Oct 2026

Just Say No: Analyzing the Stance of Neural Dialogue Generation in Offensive Contexts

arXiv 2108.11830 ↗First posted 26 Aug 2021cs.CLcited by 56

Not on the map. Why?

Abstract (arXiv)

Dialogue models trained on human conversations inadvertently learn to generate toxic responses. In addition to producing explicitly offensive utterances, these models can also implicitly insult a group or individual by aligning themselves with an offensive statement. To better understand the dynamics of contextually offensive language, we investigate the stance of dialogue model responses in offensive Reddit conversations. Specifically, we create ToxiChat, a crowd-annotated dataset of 2,000 Reddit threads and model responses labeled with offensive language and stance. Our analysis reveals that 42% of human responses agree with toxic comments, whereas only 13% agree with safe comments. This undesirable behavior is learned by neural dialogue models, such as DialoGPT, which we show are two times more likely to agree with offensive comments. To enable automatic detection of offensive language, we fine-tuned transformer-based classifiers on ToxiChat that achieve 0.71 F1 for offensive labels and 0.53 Macro-F1 for stance labels. Finally, we quantify the effectiveness of controllable text generation (CTG) methods to mitigate the tendency of neural dialogue models to agree with offensive comments. Compared to the baseline, our best CTG model achieves a 19% reduction in agreement with offensive comments and produces 29% fewer offensive replies. Our work highlights the need for further efforts to characterize and analyze inappropriate behavior in dialogue models, in order to help make them safer. Our code and corpus are available at https://github.com/abaheti95/ToxiChat .

Key facts. Cited by 56 papers in the map (data through 14 Oct 2026). Builds on 38 of its 63 references that are in the map. First posted on arXiv 26 Aug 2021.

Builds on

38 of 63 references.

References · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  5. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  6. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  7. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  8. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  9. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
  10. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  11. 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 828
  12. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
26 more
  1. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  2. 2020Recipes for building an open-domain chatbotcited by 593
  3. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  4. 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 380
  5. 2020The Pushshift Reddit Datasetcited by 292
  6. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 271
  7. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
  8. 2019The Second Conversational Intelligence Challenge (ConvAI2)cited by 179
  9. 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
  10. 2020Recipes for Safety in Open-domain Chatbotscited by 170
  11. 2019Queens are Powerful too: Mitigating Gender Bias in Dialogue Generationcited by 152
  12. 2021RedditBias: A Real-World Resource for Bias Evaluation and Debiasing of Conversational Language Modelscited by 149
  13. 2019What makes a good conversation? How controllable attributes affect human judgmentscited by 140
  14. 2019Multilingual and Multi-Aspect Hate Speech Analysiscited by 133
  15. 2020Can You Put it All Together: Evaluating Conversational Agents' Ability to Blend Skillscited by 131
  16. 2020Towards Controllable Biases in Language Generationcited by 112
  17. 2019CONAN -- COunter NArratives through Nichesourcing: a Multilingual Dataset of Responses to Fight Online Hate Speechcited by 110
  18. 2021Challenges in Automated Debiasing for Toxic Language Detectioncited by 96
  19. 2020Toxicity Detection: Does Context Really Matter?cited by 93
  20. 2017SemEval-2017 Task 8: RumourEval: Determining rumour veracity and support for rumourscited by 77
  21. 2018Conversations Gone Awry: Detecting Early Signs of Conversational Failurecited by 73
  22. 2015Analysing How People Orient to and Spread Rumours in Social Media by Looking at Conversational Threadscited by 64
  23. 2018Polite Dialogue Generation Without Parallel Datacited by 59
  24. 2020Mitigating Gender Bias for Neural Dialogue Generation with Adversarial Learningcited by 44
  25. 2019Hierarchical Reinforcement Learning for Open-Domain Dialogcited by 27
  26. 2021Ruddit: Norms of Offensiveness for English Reddit Commentscited by 27

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 2; 2022: 15; 2023: 16; 2024: 14; 2025: 7; 2026: 2.

56 papers.

Sort:

By area:

  1. 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 244
  2. 2022SODA: Million-scale Dialogue Distillation with Social Commonsense Contextualizationcited by 168
  3. 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 162
  4. 2022ProsocialDialog: A Prosocial Backbone for Conversational Agentscited by 109
  5. 2022COLD: A Benchmark for Chinese Offensive Language Detectioncited by 76
  6. 2021On the Safety of Conversational Models: Taxonomy, Dataset, and Benchmarkcited by 73
  7. 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 68
  8. 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
  9. 2023A Survey on Proactive Dialogue Systems: Problems, Methods, and Prospectscited by 66
  10. 2023BiasAsker: Measuring the Bias in Conversational AI Systemcited by 53
  11. 2023Using In-Context Learning to Improve Dialogue Safetycited by 42
  12. 2022InstructDial: Improving Zero and Few-shot Generalization in Dialogue through Instruction Tuningcited by 39
38 more
  1. 2022Towards Identifying Social Bias in Dialog Systems: Frame, Datasets, and Benchmarkscited by 36
  2. 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversationscited by 25
  3. 2022Robust Conversational Agents against Imperceptible Toxicity Triggerscited by 23
  4. 2024MentalManip: A Dataset For Fine-grained Analysis of Mental Manipulation in Conversationscited by 21
  5. 2024Granular Privacy Control for Geolocation with Vision Language Modelscited by 21
  6. 2024PolygloToxicityPrompts: Multilingual Evaluation of Neural Toxic Degeneration in Large Language Modelscited by 20
  7. 2023Leftover Lunch: Advantage-based Offline Reinforcement Learning for Language Modelscited by 17
  8. 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
  9. 2023A Benchmark for Understanding Dialogue Safety in Mental Health Supportcited by 13
  10. 2023Through the Lens of Core Competency: Survey on Evaluation of Large Language Modelscited by 12
  11. 2022Language Detoxification with Attribute-Discriminative Latent Spacecited by 11
  12. 2022PanGu-Bot: Efficient Generative Dialogue Pre-training from Pre-trained Language Modelcited by 9
  13. 2022Target-Guided Dialogue Response Generation Using Commonsense and Data Augmentationcited by 8
  14. 2022Stanceosaurus: Classifying Stance Towards Multilingual Misinformationcited by 8
  15. 2024Stark: Social Long-Term Multi-Modal Conversation with Persona Commonsense Knowledgecited by 8
  16. 2023Improved Instruction Ordering in Recipe-Grounded Conversationcited by 7
  17. 2023A Block Metropolis-Hastings Sampler for Controllable Energy-based Text Generationcited by 6
  18. 2024The Unseen Targets of Hate -- A Systematic Review of Hateful Communication Datasetscited by 6
  19. 2024Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspectivecited by 6
  20. 2024Purple-teaming LLMs with Adversarial Defender Trainingcited by 6
  21. 2025What is Stigma Attributed to? A Theory-Grounded, Expert-Annotated Interview Corpus for Demystifying Mental-Health Stigmacited by 6
  22. 2023Transcending the "Male Code": Implicit Masculine Biases in NLP Contextscited by 5
  23. 2023Large Language Models can Share Images, Too!cited by 5
  24. 2024Knowledge-Enhanced Conversational Recommendation via Transformer-based Sequential Modellingcited by 5
  25. 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarioscited by 5
  26. 2022The State of Profanity Obfuscation in Natural Language Processingcited by 4
  27. 2022DialGuide: Aligning Dialogue Model Behavior with Developer Guidelinescited by 4
  28. 2023CESAR: Automatic Induction of Compositional Instructions for Multi-turn Dialogscited by 3
  29. 2025Moderating Harm: Benchmarking Large Language Models for Cyberbullying Detection in YouTube Commentscited by 3
  30. 2024Stanceosaurus 2.0: Classifying Stance Towards Russian and Spanish Misinformationcited by 2
  31. 2025Effectiveness of Counter-Speech against Abusive Content: A Multidimensional Annotation and Classification Studycited by 2
  32. 2026Safety-Flag: A Unified Benchmark for the Reliability and Calibration of LLM Content Moderatorscited by 2
  33. 2021Partner Personas Generation for Diverse Dialogue Generationcited by 1
  34. 2023Language Model Detoxification in Dialogue with Contextualized Stance Controlcited by 1
  35. 2023Reducing Sensitivity on Speaker Names for Text Generation from Dialoguescited by 1
  36. 2023Healing Unsafe Dialogue Responses with Weak Supervision Signalscited by 1
  37. 2024FarExStance: Explainable Stance Detection for Farsicited by 1
  38. 2025Let Them Down Easy! Contextual Effects of LLM Guardrails on User Perceptions and Preferencescited by 1

50 most cited of 56 All 56 (JSON)