Asseel Jabbar Almahdi, Ali Mohades, Mohammad Akbari, Soroush Heidary
{"title":"Enhancing cross-lingual hate speech detection through contrastive and adversarial learning","authors":"Asseel Jabbar Almahdi, Ali Mohades, Mohammad Akbari, Soroush Heidary","doi":"10.1016/j.engappai.2025.110296","DOIUrl":null,"url":null,"abstract":"<div><div>The rise of hate speech on social media platforms, particularly in low-resource languages, necessitates innovative solutions. In response, we introduce a zero and few-shot model combining supervised contrastive learning and adversarial training. To address the scarcity of labeled data in diverse languages, our approach adapts features from well-resourced languages to efficiently detect hate speech in low-resource contexts. The proposed framework first leverages supervised contrastive learning, maximizing the utility of limited labeled data by transferring knowledge from source languages. This adaptation empowers the accurate detection of hate speech in underrepresented languages, optimizing available resources. We then introduce contrastive adversarial training, refining hate speech representations in low-resource languages. This approach ensures a nuanced understanding of hate speech across linguistic boundaries, significantly enhancing the model’s adaptability and accuracy. To validate our approach, we conducted zero-shot and few-shot cross-lingual evaluations in three languages. Our results demonstrate the superiority of the proposed contrastive learning-based models. To ensure reproducibility, the code associated with this paper is available on GitHub (<span><span>Almahdi, 2024</span></span>). .</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"147 ","pages":"Article 110296"},"PeriodicalIF":7.5000,"publicationDate":"2025-02-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625002969","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
The rise of hate speech on social media platforms, particularly in low-resource languages, necessitates innovative solutions. In response, we introduce a zero and few-shot model combining supervised contrastive learning and adversarial training. To address the scarcity of labeled data in diverse languages, our approach adapts features from well-resourced languages to efficiently detect hate speech in low-resource contexts. The proposed framework first leverages supervised contrastive learning, maximizing the utility of limited labeled data by transferring knowledge from source languages. This adaptation empowers the accurate detection of hate speech in underrepresented languages, optimizing available resources. We then introduce contrastive adversarial training, refining hate speech representations in low-resource languages. This approach ensures a nuanced understanding of hate speech across linguistic boundaries, significantly enhancing the model’s adaptability and accuracy. To validate our approach, we conducted zero-shot and few-shot cross-lingual evaluations in three languages. Our results demonstrate the superiority of the proposed contrastive learning-based models. To ensure reproducibility, the code associated with this paper is available on GitHub (Almahdi, 2024). .
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.