Exploring ChatGPT for Toxicity Detection in GitHub
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
Citing papers per year: 2024: 5; 2025: 6; 2026: 5.
16 papers.
Sort:
By area:
- 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversationscited by 25
- 2024ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactionscited by 12
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorshipcited by 7
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarioscited by 5
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platformcited by 3
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classificationcited by 2
- 2025How Toxic Can You Get? Search-based Toxicity Testing for Large Language Modelscited by 2
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineeringcited by 1
- 2025"Harmless to You, Hurtful to Me!": Investigating the Detection of Toxic Languages Grounded in the Perspective of Youthcited by 1
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Reviewcited by 1
- 2026Can AI Agents Synthesize Scientific Conclusions?cited by 1
4 more
- 2024Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groupscited by 0
- 2026Robust Persona-Aware Toxicity Detection with Prompt Optimization and Learned Ensemblingcited by 0
- 2026Power Echoes: Investigating Moderation Biases in Online Power-Asymmetric Conflictscited by 0
- 2026Machine Learning Models for the Early Detection of Burnout in Software Engineering: a Systematic Literature Reviewcited by 0
- 2026Can AI Agents Synthesize Scientific Conclusions?9 Jun 2026
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Review17 May 2026
- 2026Machine Learning Models for the Early Detection of Burnout in Software Engineering: a Systematic Literature Review24 Mar 2026
- 2026Power Echoes: Investigating Moderation Biases in Online Power-Asymmetric Conflicts2 Mar 2026
- 2026Robust Persona-Aware Toxicity Detection with Prompt Optimization and Learned Ensembling5 Jan 2026
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studies29 Oct 2025
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarios13 Oct 2025
- 2025"Harmless to You, Hurtful to Me!": Investigating the Detection of Toxic Languages Grounded in the Perspective of Youth4 Aug 2025
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platform30 May 2025
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineering21 Apr 2025
- 2025How Toxic Can You Get? Search-based Toxicity Testing for Large Language Models3 Jan 2025
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classification26 Nov 2024
4 more
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorship4 Nov 2024
- 2024ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactions2 Jul 2024
- 2024Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groups13 May 2024
- 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversations8 May 2024
- 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversationscited by 25
- 2024ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactionscited by 12
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorshipcited by 7
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarioscited by 5
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platformcited by 3
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classificationcited by 2
- 2025How Toxic Can You Get? Search-based Toxicity Testing for Large Language Modelscited by 2
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineeringcited by 1
- 2025"Harmless to You, Hurtful to Me!": Investigating the Detection of Toxic Languages Grounded in the Perspective of Youthcited by 1
- 2026Can AI Agents Synthesize Scientific Conclusions?cited by 1
- 2024Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groupscited by 0
12 most cited of 15 All 15 (JSON)
- 2026Can AI Agents Synthesize Scientific Conclusions?9 Jun 2026
- 2026Machine Learning Models for the Early Detection of Burnout in Software Engineering: a Systematic Literature Review24 Mar 2026
- 2026Power Echoes: Investigating Moderation Biases in Online Power-Asymmetric Conflicts2 Mar 2026
- 2026Robust Persona-Aware Toxicity Detection with Prompt Optimization and Learned Ensembling5 Jan 2026
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studies29 Oct 2025
- 2025ABLEIST: Intersectional Disability Bias in LLM-Generated Hiring Scenarios13 Oct 2025
- 2025"Harmless to You, Hurtful to Me!": Investigating the Detection of Toxic Languages Grounded in the Perspective of Youth4 Aug 2025
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platform30 May 2025
- 2025Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineering21 Apr 2025
- 2025How Toxic Can You Get? Search-based Toxicity Testing for Large Language Models3 Jan 2025
- 2024Leveraging Large Language Models and Topic Modeling for Toxicity Classification26 Nov 2024
- 2024DeMod: A Holistic Tool with Explainable Detection and Personalized Modification for Toxicity Censorship4 Nov 2024
12 newest of 15 All 15 (JSON)