Author
Listed:
- Ksenia Kharitonova
(Department Software Engineering, University of Granada, 18071 Granada, Spain
These authors contributed equally to this work.)
- David Pérez-Fernández
(Department of Mathematics, Universidad Autónoma de Madrid, Ciudad Universitaria de Cantoblanco, 28049 Madrid, Spain
These authors contributed equally to this work.)
- Javier Gutiérrez-Hernando
(Department Software Engineering, University of Granada, 18071 Granada, Spain)
- Asier Gutiérrez-Fandiño
(LHF Labs, 48007 Bilbao, Spain)
- Zoraida Callejas
(Department Software Engineering, University of Granada, 18071 Granada, Spain
Research Centre for Information and Communication Technologies (CITIC-UGR), University of Granada, 18071 Granada, Spain)
- David Griol
(Department Software Engineering, University of Granada, 18071 Granada, Spain
Research Centre for Information and Communication Technologies (CITIC-UGR), University of Granada, 18071 Granada, Spain)
Abstract
The rise in online communication platforms has significantly increased exposure to harmful discourse, presenting ongoing challenges for digital moderation and user well-being. This paper introduces the EsCorpiusBias corpus, designed to enhance the automated detection of sexism and racism within Spanish-language online dialogue, specifically sourced from the Mediavida forum. By means of a systematic, context-sensitive annotation protocol, approximately 1000 three-turn dialogue units per bias category are annotated, ensuring the nuanced recognition of pragmatic and conversational subtleties. Here, annotation guidelines are meticulously developed, covering explicit and implicit manifestations of sexism and racism. Annotations are performed using the Prodigy tool (v1. 16.0) resulting in moderate to substantial inter-annotator agreement (Cohen’s Kappa: 0.55 for sexism and 0.79 for racism). Models including logistic regression, SpaCy’s baseline n-gram bag-of-words model, and transformer-based BETO are trained and evaluated, demonstrating that contextualized transformer-based approaches significantly outperform baseline and general-purpose models. Notably, the single-turn BETO model achieves an ROC-AUC of 0.94 for racism detection, while the contextual BETO model reaches an ROC-AUC of 0.87 for sexism detection, highlighting BETO’s superior effectiveness in capturing nuanced bias in online dialogues. Additionally, lexical overlap analyses indicate a strong reliance on explicit lexical indicators, highlighting limitations in handling implicit biases. This research underscores the importance of contextually grounded, domain-specific fine-tuning for effective automated detection of toxicity, providing robust resources and methodologies to foster socially responsible NLP systems within Spanish-speaking online communities.
Suggested Citation
Ksenia Kharitonova & David Pérez-Fernández & Javier Gutiérrez-Hernando & Asier Gutiérrez-Fandiño & Zoraida Callejas & David Griol, 2025.
"EsCorpiusBias: The Contextual Annotation and Transformer-Based Detection of Racism and Sexism in Spanish Dialogue,"
Future Internet, MDPI, vol. 17(8), pages 1-32, July.
Handle:
RePEc:gam:jftint:v:17:y:2025:i:8:p:340-:d:1711872
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:8:p:340-:d:1711872. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.