Taming the Online Software Engineering Tongue: Detecting and Reducing Offensive Language in Software Communities
Jithin Cheriyan, Bastin Tony Roy Savarimuthu, Stephen Cranefield
Key points
From the paper's conclusion- The overall utility of the OLRS-SE was evaluated using user studies with 30 participants, which showed that the developed system is easy to use and also effective in reducing offensive language.
Abstract
Online Software Engineering (SE) communities such as Stack Overflow have become unwelcoming and hostile spaces, as evidenced by the presence of rude and offensive comments that are detrimental to the emotional wellbeing of participants. The main objective of this work is to investigate the prevalence and nature of offensive language in online SE communities, and develop approaches to classify them with the ultimate goal of reducing offensive language by proposing an Offensive Language Reduction System (OLRSSE) that has the ability to detect, classify, and explain to the poster why a comment is offensive and also propose non-offensive alternative suggestions. Using data from 130,000 user comments on discussions held in four prominent SE platforms: Stack Overflow, GitHub, Gitter and Slack, we developed six sets of twelve (72 in total) different machine learning models (both traditional and deep learning). The F1-Score of the best performing models in the system ranges from 0.56 to 0.94, with an average F1-Score of 0.85, predominantly using BERT as the primary model for various classification tasks. Also, two language-based models were developed for paraphrasing offensive to non-offensive comments. The overall utility of the OLRS-SE was evaluated using user studies with 30 participants, which showed that the developed system is easy to use and also effective in reducing offensive language. Investigating the capabilities of different large language models for offensive language reduction is a promising avenue for future research.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ToxiShield: Promoting Inclusive Developer Communication through Real-Time Toxicity FilteringProceedings of the ACM on software engineering. · 2026
- On the Effectiveness and Limitations of Open-Weight LLMs for Low-Resource Offensive Language Detection in DanisharXiv · 2026
- Towards a comprehensive taxonomy of online abusive language informed by machine learningComputers in Human Behavior Reports · 2026
- Explainable Cyberbullying Detection for Multilingual Online Platforms Using NLP and Augmentation-Enhanced Deep LearningElectronics · 2026
- Improving the Hate Speech Annotation Process with Large Language ModelsACM SIGMIS Database: the DATABASE for Advances in Information Systems · 2026
- 'Ghaib in Translation' aka Unseen Harm: Measuring Cross-Script Safety Inconsistency with 'Missed-in-Urdu' Scores in LLM Hate Speech DetectionarXiv · 2026