NLP with Transformers for toxicity detection: corpus construction and evaluation for MisProfesores.com platform

The growth of social networks as mass media has enabled faster and closer interaction between users, but it also presents challenges, such as the risk of spreading hate speech. Early detection of such harmful posts is critical. This article presents a methodology to create a unique corpus of Spanish-language comments collected from MisProfesores.com platform, covering all states in Mexico. This process resulted in a dataset of 18,000 unlabeled samples and 853 manually labeled samples. In addition to describing the corpus construction process, the results of the evaluation of different models trained with these data are presented, as well as their comparison with previous works for toxicity detection, highlighting the relevance of the Spanish corpus development for specific tasks. As a result, our Transformer-based model performed better than the state-of-the-art models in the binary toxicity classification, reaching a value of 0.9649 in accuracy and 0.9645 in F1 score.

Authors

Institutions

Publication Details

Journal
International Journal of Combinatorial Optimization Problems and Informatics.
Published
2025-03-25
DOI
https://doi.org/10.61467/2007.1558.2025.v16i2.534
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NLP with Transformers for toxicity detection: corpus construction and evaluation for MisProfesores.com platform

Ramón Zataraín Cabada, María Lucía Barrón Estrada, Víctor Manuel Bátiz Beltrán, Ramón Alberto Camacho Sapien et al.
International Journal of Combinatorial Optimization Problems and Informatics.
Hate Speech and Cyberbullying Detection
article

NLP with Transformers for toxicity detection: corpus construction and evaluation for MisProfesores.com platform

Ramón Zataraín Cabada, María Lucía Barrón Estrada, Víctor Manuel Bátiz Beltrán, Ramón Alberto Camacho Sapien, Néstor Leyva López
article en

Abstract

The growth of social networks as mass media has enabled faster and closer interaction between users, but it also presents challenges, such as the risk of spreading hate speech. Early detection of such harmful posts is critical. This article presents a methodology to create a unique corpus of Spanish-language comments collected from MisProfesores.com platform, covering all states in Mexico. This process resulted in a dataset of 18,000 unlabeled samples and 853 manually labeled samples. In addition to describing the corpus construction process, the results of the evaluation of different models trained with these data are presented, as well as their comparison with previous works for toxicity detection, highlighting the relevance of the Spanish corpus development for specific tasks. As a result, our Transformer-based model performed better than the state-of-the-art models in the binary toxicity classification, reaching a value of 0.9649 in accuracy and 0.9645 in F1 score.

International Journal of Combinatorial Optimization Problems and Informatics.Vol. 16(2)
Instituto Tecnológico de Culiacán (MX)
Openalex Percentile: Top 98%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

NLP with Transformers for toxicity detection: corpus construction and evaluation for MisProfesores.com platform — Ramón Zataraín Cabada, María Lucía Barrón Estrada, et al. · International Journal of Combinatorial Optimization Problems and Informatics. (2025) | TGRS Research Map | TGRS