David Pérez-Fernández
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
David Pérez-Fernández has a total of 22 co-authors. Here are the top co-authors by number of shared publications:
- Asier Gutiérrez-Fandiño
LHF Labs, 48007 Bilbao, Spain
5 shared publications - Zoraida Callejas
University of Granada
4 shared publications - David Griol
Department of Software Engineering, University of Granada, 18071 Granada, Spain
3 shared publications - Ksenia Kharitonova
Department Software Engineering, University of Granada, 18071 Granada, Spain
3 shared publications - Javier Gutiérrez-Hernando
Department Software Engineering, University of Granada, 18071 Granada, Spain
2 shared publications - Jordi Armengol-Estapé
School of Informatics University of Edinburgh
2 shared publications
Latest Publications
- Open Access
- 28 July 2025
- Published by MDPI AG in Future Internet
- Vol. 17 (8) , 340
EsCorpiusBias: The Contextual Annotation and Transformer-Based Detection of Racism and Sexism in Spanish Dialogue
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.
- 28 July 2025
- Published by MDPI AG in Future Internet
- Vol. 17 (8) , 340
Open AccessEsCorpiusBias: The Contextual Annotation and Transformer-Based Detection of Racism and Sexism in Spanish Dialogue
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.
- 9 October 2024
- Published by Springer Nature
- p. 141-153
Leveraging Retrieval-Augmented Generation for Reliable Medical Question Answering Using Large Language Models
- 9 October 2024
- Published by Springer Nature
- p. 141-153
Leveraging Retrieval-Augmented Generation for Reliable Medical Question Answering Using Large Language Models
- Open Access
- 8 November 2023
- Published by MDPI AG in Applied Sciences
- Vol. 13 (22) , 12155
esCorpius-m: A Massive Multilingual Crawling Corpus with a Focus on Spanish
In recent years, transformer-based models have played a significant role in advancing language modeling for natural language processing. However, they require substantial amounts of data and there is a shortage of high-quality non-English corpora. Some recent initiatives have introduced multilingual datasets obtained through web crawling. However, there are notable limitations in the results for some languages, including Spanish. These datasets are either smaller compared to other languages or suffer from lower quality due to insufficient cleaning and deduplication. In this paper, we present esCorpius-m, a multilingual corpus extracted from around 1 petabyte of Common Crawl data. It is the most extensive corpus for some languages with such a level of high-quality content extraction, cleanliness, and deduplication. Our data curation process involves an efficient cleaning pipeline and various deduplication methods that maintain the integrity of document and paragraph boundaries. We also ensure compliance with EU regulations by retaining both the source web page URL and the WARC shared origin URL.
- 8 November 2023
- Published by MDPI AG in Applied Sciences
- Vol. 13 (22) , 12155
Open AccessesCorpius-m: A Massive Multilingual Crawling Corpus with a Focus on Spanish
In recent years, transformer-based models have played a significant role in advancing language modeling for natural language processing. However, they require substantial amounts of data and there is a shortage of high-quality non-English corpora. Some recent initiatives have introduced multilingual datasets obtained through web crawling. However, there are notable limitations in the results for some languages, including Spanish. These datasets are either smaller compared to other languages or suffer from lower quality due to insufficient cleaning and deduplication. In this paper, we present esCorpius-m, a multilingual corpus extracted from around 1 petabyte of Common Crawl data. It is the most extensive corpus for some languages with such a level of high-quality content extraction, cleanliness, and deduplication. Our data curation process involves an efficient cleaning pipeline and various deduplication methods that maintain the integrity of document and paragraph boundaries. We also ensure compliance with EU regulations by retaining both the source web page URL and the WARC shared origin URL.
- Open Access
- 13 September 2023
- Published by Elsevier in Data in Brief
- Vol. 50, 109565
ChatSubs: A dataset of dialogues in Spanish, Catalan, Basque and Galician extracted from movie subtitles for developing advanced conversational models
- 13 September 2023
- Published by Elsevier in Data in Brief
- Vol. 50, 109565
Open AccessChatSubs: A dataset of dialogues in Spanish, Catalan, Basque and Galician extracted from movie subtitles for developing advanced conversational models
- Open Access
- 27 April 2023
- Published by Elsevier in Differential Geometry and its Applications
- Vol. 89
Conformal parametrizations defined by polynomials
- 27 April 2023
- Published by Elsevier in Differential Geometry and its Applications
- Vol. 89
Open AccessConformal parametrizations defined by polynomials
- Open Access
- 29 December 2022
- Published by Elsevier in Computer Methods and Programs in Biomedicine Update
- Vol. 3, 100089
Predicting the evolution of COVID-19 mortality risk: A Recurrent Neural Network approach
- 29 December 2022
- Published by Elsevier in Computer Methods and Programs in Biomedicine Update
- Vol. 3, 100089
Open AccessPredicting the evolution of COVID-19 mortality risk: A Recurrent Neural Network approach
- Open Access
Characterizing and Measuring the Similarity of Neural Networks with Persistent Homology
Characterizing the structural properties of neural networks is crucial yet poorly understood, and there are no well-established similarity measures between networks. In this work, we observe that neural networks can be represented as abstract simplicial complex and analyzed using their topological 'fingerprints' via Persistent Homology (PH). We then describe a PH-based representation proposed for characterizing and measuring similarity of neural networks. We empirically show the effectiveness of this representation as a descriptor of different architectures in several datasets. This approach based on Topological Data Analysis is a step towards better understanding neural networks and serves as a useful similarity measure.
Open AccessCharacterizing and Measuring the Similarity of Neural Networks with Persistent Homology
Characterizing the structural properties of neural networks is crucial yet poorly understood, and there are no well-established similarity measures between networks. In this work, we observe that neural networks can be represented as abstract simplicial complex and analyzed using their topological 'fingerprints' via Persistent Homology (PH). We then describe a PH-based representation proposed for characterizing and measuring similarity of neural networks. We empirically show the effectiveness of this representation as a descriptor of different architectures in several datasets. This approach based on Topological Data Analysis is a step towards better understanding neural networks and serves as a useful similarity measure.
- 29 October 2017
- Published by Springer Nature
- p. 50-60
Spanish Language Technologies Plan