mlsanityData to 14 Oct 2026

Exploring ChatGPT for Toxicity Detection in GitHub

arXiv 2312.13105 ↗First posted 20 Dec 2023cs.SEcited by 16

Not on the map. Why?

Abstract (arXiv)

Fostering a collaborative and inclusive environment is crucial for the sustained progress of open source development. However, the prevalence of negative discourse, often manifested as toxic comments, poses significant challenges to developer well-being and productivity. To identify such negativity in project communications, especially within large projects, automated toxicity detection models are necessary. To train these models effectively, we need large software engineering-specific toxicity datasets. However, such datasets are limited in availability and often exhibit imbalance (e.g., only 6 in 1000 GitHub issues are toxic), posing challenges for training effective toxicity detection models. To address this problem, we explore a zero-shot LLM (ChatGPT) that is pre-trained on massive datasets but without being fine-tuned specifically for the task of detecting toxicity in software-related text. Our preliminary evaluation indicates that ChatGPT shows promise in detecting toxicity in GitHub, and warrants further investigation. We experimented with various prompts, including those designed for justifying model outputs, thereby enhancing model interpretability and paving the way for potential integration of ChatGPT-enabled toxicity detection into developer communication channels.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Dec 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 6; 2026: 5.

16 papers.

Sort:

By area:

  1. 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversationscited by 25
  2. 2024ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactionscited by 12
  3. 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
  4. 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorshipcited by 7
  5. 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarioscited by 5
  6. 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platformcited by 3
  7. 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classificationcited by 2
  8. 2025How Toxic Can You Get? Search-based Toxicity Testing for Large Language Modelscited by 2
  9. 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineeringcited by 1
  10. 2025"Harmless to You, Hurtful to Me!": Investigating the Detection of Toxic Languages Grounded in the Perspective of Youthcited by 1
  11. 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Reviewcited by 1
  12. 2026Can AI Agents Synthesize Scientific Conclusions?cited by 1
4 more
  1. 2024Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groupscited by 0
  2. 2026Robust Persona-Aware Toxicity Detection with Prompt Optimization and Learned Ensemblingcited by 0
  3. 2026Power Echoes: Investigating Moderation Biases in Online Power-Asymmetric Conflictscited by 0
  4. 2026Machine Learning Models for the Early Detection of Burnout in Software Engineering: a Systematic Literature Reviewcited by 0