Information Technology for Toxicity Detection in Text
Open Access
- 17 May 2026
- journal article
- Published by Lviv Polytechnic National University in Computer systems and network
- Vol. 19, 169-179
Abstract
This paper addresses the challenge of automating toxic content detection within the Ukrainian segment of the Internet, a critical task given the scarcity of specialized linguistic resources for this language. The study focuses on developing and evaluating an information technology framework capable of effectively classifying toxic messages using foundational machine learning algorithms. For the experimental phase, a dataset comprising 4,600 records was compiled by aggregating data from YouTube and Google Play with existing open-source datasets. The methodology involved a comparative analysis of six machine learning models, including Logistic Regression, Support Vector Machines (SVM), Random Forest, and Gradient Boosting, combined with TF-IDF vectorization and the SMOTE technique for class balancing. Experimental results indicate that Logistic Regression offers the optimal balance for moderating comments and reviews on social media platforms, achieving the highest F1-score of 0.6775 and identifying over 64% of harmful content. Notably, both Logistic Regression and the Support Vector Classifier (SVC) attained an identical ROC-AUC score of 0.78. However, the SVC operated as a highly conservative classifier; it yielded a superior precision of 0.8398 but missed a significant portion of positive instances, resulting in a substantially lower recall of 0.4974. Ultimately, Logistic Regression demonstrates greater suitability for deployment in real-time moderation systems due to its balanced performance, whereas the SVC remains a viable option for specialized applications that require the strict minimization of false positives.Keywords
This publication has 8 references indexed in Scilit:
- Improving multi-class opinion classification in social networks by combining Fuzzy SVM and CNNProcedia Computer Science, 2024
- Toxicity Classification in Ukrainian2024
- Toxic Comment Classification Implementing CNN Combining Word Embedding Technique2021
- Toxic Text Classification2020
- A Machine Learning Approach to Comment Toxicity Classification2019
- Vocabulary-based community detection and characterization2019
- Convolutional Neural Networks for Toxic Comment Classification2018
- A Review of Standard Text Classification Practices for Multi-label Toxicity Identification of Online Content2018