Mitigating the Negative Transfer in Multi‐Task Learning for Harmful Language Detection in Spanish and Arabic

ABSTRACT Negative transfer continues to limit the benefits of multi‐task learning (MTL) in harmful language detection, where related tasks must share representations without diluting task‐specific nuances. We introduce task awareness (TA), a methodological framework that explicitly conditions MTL models on the task they must solve. TA is instantiated through two complementary mechanisms: Task‐aware input (TAI), which augments textual inputs with natural‐language task descriptions, and task embedding (TE), which learns task‐specific transformations guided by a task identification vector. Together they enable the encoder to disentangle shared and task‐dependent signals, reducing interference during joint optimisation. We integrate TA with BETO and AraBERT encoders and evaluate on six Spanish and Arabic datasets covering sexism, toxicity, offensive language, and hate speech. Across cross‐validation and official train‐test splits, TA consistently mitigates negative transfer, surpasses single‐task and conventional MTL baselines, and yields new state‐of‐the‐art scores on EXIST‐2021, HatEval‐2019, and HSArabic‐2023. The proposed methodology therefore combines a principled architectural innovation with demonstrated practical gains for multilingual harmful language detection. The resources to reproduce our experiments are publicly available at https://github.com/AngelFelipeMP/Arabic‐MultiTask‐Learning .

Authors

Institutions

Publication Details

Journal
Expert Systems
Published
2026-01-04
DOI
https://doi.org/10.1111/exsy.70182
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mitigating the Negative Transfer in Multi‐Task Learning for Harmful Language Detection in Spanish and Arabic

Angel Felipe Magnossão de Paula, Imene Bensalem, Damiano Spina, Paolo Rosso
Expert Systems
Hate Speech and Cyberbullying Detection
article

Mitigating the Negative Transfer in Multi‐Task Learning for Harmful Language Detection in Spanish and Arabic

Angel Felipe Magnossão de Paula, Imene Bensalem, Damiano Spina, Paolo Rosso
article en

Abstract

ABSTRACT Negative transfer continues to limit the benefits of multi‐task learning (MTL) in harmful language detection, where related tasks must share representations without diluting task‐specific nuances. We introduce task awareness (TA), a methodological framework that explicitly conditions MTL models on the task they must solve. TA is instantiated through two complementary mechanisms: Task‐aware input (TAI), which augments textual inputs with natural‐language task descriptions, and task embedding (TE), which learns task‐specific transformations guided by a task identification vector. Together they enable the encoder to disentangle shared and task‐dependent signals, reducing interference during joint optimisation. We integrate TA with BETO and AraBERT encoders and evaluate on six Spanish and Arabic datasets covering sexism, toxicity, offensive language, and hate speech. Across cross‐validation and official train‐test splits, TA consistently mitigates negative transfer, surpasses single‐task and conventional MTL baselines, and yields new state‐of‐the‐art scores on EXIST‐2021, HatEval‐2019, and HSArabic‐2023. The proposed methodology therefore combines a principled architectural innovation with demonstrated practical gains for multilingual harmful language detection. The resources to reproduce our experiments are publicly available at https://github.com/AngelFelipeMP/Arabic‐MultiTask‐Learning .

Expert SystemsVol. 43(2)
University Frères Mentouri Constantine 1 (DZ), École Normale Supérieure de Constantine (DZ), Artificial Intelligence Research Institute (ES), Université Constantine 2 (DZ), Universitat Politècnica de València (ES), RMIT University (AU)
European Commission, Agencia Estatal de Investigación
Openalex Percentile: Top 97%
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.