Understanding and Predicting Derailment in Toxic Conversations on GitHub

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Imran, Mia Mohammad, Zita, Robert, Copeland, Rebekah, Chatterjee, Preetha, Rahman, Rahat Rizvi, Damevski, Kostadin
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910883983130624
author Imran, Mia Mohammad
Zita, Robert
Copeland, Rebekah
Chatterjee, Preetha
Rahman, Rahat Rizvi
Damevski, Kostadin
author_facet Imran, Mia Mohammad
Zita, Robert
Copeland, Rebekah
Chatterjee, Preetha
Rahman, Rahat Rizvi
Damevski, Kostadin
contents Software projects thrive on the involvement and contributions of individuals from different backgrounds. However, toxic language and negative interactions can hinder the participation and retention of contributors and alienate newcomers. Proactive moderation strategies aim to prevent toxicity from occurring by addressing conversations that have derailed from their intended purpose. This study aims to understand and predict conversational derailment leading to toxicity on GitHub. To facilitate this research, we curate a novel dataset comprising 202 toxic conversations from GitHub with annotated derailment points, along with 696 non-toxic conversations as a baseline. Based on this dataset, we identify unique characteristics of toxic conversations and derailment points, including linguistic markers such as second-person pronouns, negation terms, and tones of Bitter Frustration and Impatience, as well as patterns in conversational dynamics between project contributors and external participants. Leveraging these empirical observations, we propose a proactive moderation approach to automatically detect and address potentially harmful conversations before escalation. By utilizing modern LLMs, we develop a conversation trajectory summary technique that captures the evolution of discussions and identifies early signs of derailment. Our experiments demonstrate that LLM prompts tailored to provide summaries of GitHub conversations achieve 70% F1-Score in predicting conversational derailment, strongly improving over a set of baseline approaches.
format Preprint
id arxiv_https___arxiv_org_abs_2503_02191
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding and Predicting Derailment in Toxic Conversations on GitHub
Imran, Mia Mohammad
Zita, Robert
Copeland, Rebekah
Chatterjee, Preetha
Rahman, Rahat Rizvi
Damevski, Kostadin
Software Engineering
Software projects thrive on the involvement and contributions of individuals from different backgrounds. However, toxic language and negative interactions can hinder the participation and retention of contributors and alienate newcomers. Proactive moderation strategies aim to prevent toxicity from occurring by addressing conversations that have derailed from their intended purpose. This study aims to understand and predict conversational derailment leading to toxicity on GitHub. To facilitate this research, we curate a novel dataset comprising 202 toxic conversations from GitHub with annotated derailment points, along with 696 non-toxic conversations as a baseline. Based on this dataset, we identify unique characteristics of toxic conversations and derailment points, including linguistic markers such as second-person pronouns, negation terms, and tones of Bitter Frustration and Impatience, as well as patterns in conversational dynamics between project contributors and external participants. Leveraging these empirical observations, we propose a proactive moderation approach to automatically detect and address potentially harmful conversations before escalation. By utilizing modern LLMs, we develop a conversation trajectory summary technique that captures the evolution of discussions and identifies early signs of derailment. Our experiments demonstrate that LLM prompts tailored to provide summaries of GitHub conversations achieve 70% F1-Score in predicting conversational derailment, strongly improving over a set of baseline approaches.
title Understanding and Predicting Derailment in Toxic Conversations on GitHub
topic Software Engineering
url https://arxiv.org/abs/2503.02191