Euskara eta gaztelaniazko kontra-narratiben sorkuntza: datuen sorrera eta ebaluazioa

A.o. Kruts, Itziar Gonzalez-Dios, Rodrigo AgerriIkerGazte 2025 · DOI

TL;DR

This paper introduces CONAN-EUS, the first parallel Basque and Spanish dataset for generating counter-narratives (CNs) against hate speech (HS). They demonstrate that post-editing machine-translated data significantly improves CN generation quality, especially for low-resource languages like Basque, and highlight challenges in multilingual models for such languages.

What Problem Does This Paper Address?

Hate speech (HS) is a growing problem online, and while automatic detection methods exist, they can sometimes infringe on free speech. Counter-narratives (CNs) offer a non-aggressive way to combat HS by providing reasoned responses. However, research on automatically generating CNs is limited, with most work focusing on English due to a lack of data and suitable language models for other languages, particularly low-resource ones like Basque. This paper aims to bridge this gap by creating a valuable resource and exploring effective generation strategies for Basque and Spanish.

Methods

The core of this research involves creating a new dataset and then using it to train and evaluate language models.

  • Dataset Creation (CONAN-EUS): They started with the English CONAN dataset and used Google Translate to automatically translate it into Basque and Spanish. Crucially, these machine-translated texts were then professionally post-edited by human translators. This process resulted in a parallel corpus of hate speech-counter narrative pairs for both Basque and Spanish.
  • Model Training and Evaluation: They employed the mT5, a multilingual text-to-text transformer model, for CN generation. They explored three experimental setups:
  • Monolingual (Elebakarrak): Fine-tuning mT5 separately on English, automatically translated Basque (eu-MT), post-edited Basque (eu-PE), automatically translated Spanish (es-MT), and post-edited Spanish (es-PE) data.
  • Multilingual (Eleaniztunak): Training mT5 on a combined dataset of all three languages (English, Basque, Spanish) to leverage data augmentation.
  • Cross-lingual (Hizkuntza artekoak): Training mT5 on English and then evaluating its ability to generate CNs in Spanish (en2es) and Basque (en2eu), testing cross-lingual transfer capabilities.
  • Evaluation Metrics: They used standard automatic metrics like BLEU, ROUGE-L, and Repetition Rate (RR) for quantitative evaluation. Additionally, they conducted a crucial manual evaluation by native or highly proficient speakers, assessing five criteria: relevance, specificity, richness, coherence, and grammaticality.

Datasets

  • CONAN (English): The original dataset used as a source for translation.
  • CONAN-EUS (Basque & Spanish): A newly introduced parallel dataset for Basque and Spanish counter-narrative generation. It consists of 6654 hate speech-counter narrative pairs for each language, created through machine translation and professional post-editing. This dataset is made publicly available.

Key Insights and Ideas

  • Post-editing is Crucial: The most significant insight is that professional post-editing of machine-translated data dramatically improves the quality of generated counter-narratives, especially for low-resource languages. Simply relying on raw machine translation is insufficient.
  • Low-Resource Languages Face Unique Challenges: While multilingual data augmentation benefits Spanish, it doesn't improve Basque generation. This highlights the difficulties in applying multilingual models to languages with fewer resources and potentially different linguistic structures.
  • Manual Evaluation is Indispensable: Automatic metrics, while useful, don't always align with human judgment. Manual evaluation revealed nuances and quality differences that automatic metrics missed, particularly in aspects like relevance and specificity.
  • Cross-lingual Transfer Varies: Cross-lingual transfer works reasonably well from English to Spanish but fails significantly when transferring to Basque, suggesting that linguistic similarity and model vocabulary play a large role.

Key Results

  • Improved Generation Quality: Post-editing the translated data (eu-PE and es-PE) led to better BLEU and ROUGE-L scores compared to using only machine-translated data (eu-MT and es-MT) in monolingual experiments. For example, es-PE achieved 11.23 BLEU, while es-MT scored 7.94.
  • Multilingual Benefits: Multilingual training (all2es) improved Spanish generation (11.36 BLEU) compared to monolingual Spanish (es-PE at 11.23 BLEU). However, multilingual training (all2eu) worsened Basque generation (6.45 BLEU) compared to post-edited Basque (eu-PE at 6.49 BLEU).
  • Cross-lingual Performance: English-to-Spanish transfer (en2es) performed well, achieving 10.03 BLEU, surpassing monolingual MT Spanish. English-to-Basque transfer (en2eu) was very poor, scoring only 2.81 BLEU.
  • Manual Evaluation Findings: In manual evaluations, post-edited models (eu-PE, es-PE) generally scored higher across all criteria than their machine-translated counterparts (eu-MT, es-MT). For Spanish, the cross-lingual model (en2es) performed competitively with post-edited monolingual models. For Basque, the cross-lingual model (en2eu) performed poorly in relevance and specificity, despite a higher overall score than eu-MT.

Limitations and Future Work

  • Cost of Post-Editing: While effective, professional post-editing is expensive. Future work could explore different combinations of automatically translated and post-edited data to find a balance between quality and cost.
  • Limited Language Scope: The study focused on Basque and Spanish. Future research should investigate the applicability of these methods to other low-resource languages and contexts.
  • Automatic Evaluation for CNs: Developing reliable automatic evaluation metrics for counter-narratives remains an open research question, with potential for leveraging Large Language Models (LLMs) as suggested by other recent work.
  • Model Performance in Low-Resource Languages: The paper acknowledges that mT5, despite being multilingual, shows weaker performance for languages like Basque, suggesting a need for more specialized approaches or further improvements in multilingual model architectures and training data for such languages.

Summary updated

Abstract

Kontra-narratibak (KN) gorroto-diskurtsoen (GD) erantzun ez-negatiboak dira, online gorrotoa eta haren hedapena murrizten laguntzen dutenak. Sare sozialetan GDaren presentzia hazi den arren, KNen sorkuntza automatikoari buruzko ikerketa mugatua da oraindik, eta egindako lan gehienak ingeleserako izan dira. Artikulu honek CONANEUS aurkezten du, euskarazko eta gaztelaniazko KNen sorkuntzarako datu-multzoa, Itzulpen Automatikoa (IA) eta post-edizio profesionala erabiliz sortua. Ingelesezko CONAN datu-multzoaren corpus paralelo gisa, hizkuntza anitzeko eta hizkuntza arteko KNen sorkuntzan ikerketa ahalbidetzen du. mT5 hizkuntza ereduarekin egindako esperimentuetan ikusten da post-editatutako datuek KNen sorkuntza-kalitatea hobetzen dutela. Eskuzko ebaluazioak baieztatu du datuen eskuzko berrikusketa beharrezkoa dela. Hizkuntza anitzeko datu-gehikuntzak gaztelaniari mesede egiten dio, baina ez euskarari, hizkuntza anitzeko eredu sortzaileen erronkak agerian utziz. Eduki-oharra: Artikulu honek hizkera iraingarriaren adibideak ditu, ez datozenak bat egileen ikuspuntuekin.
BibTeX
@inproceedings{kruts2025euskara,
  author = {A.O. Kruts and Itziar Gonzalez-Dios and Rodrigo Agerri},
  title = {{Euskara eta gaztelaniazko kontra-narratiben sorkuntza: datuen sorrera eta ebaluazioa}},
  booktitle = {IkerGazte},
  year = {2025},
  doi = {10.26876/ikergazte.vi.03.16},
}
Figure