Team HausaNLP at SemEval-2026 Task 9: Tackling Class Imbalance in Low-Resource Hausa Polarization Detection

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, short

Summary

Team HausaNLP submitted a system to SemEval-2026 Task 9, Subtask 2, focusing on detecting specific polarization categories like Political, Religious, and Ethnic in Hausa social media comments. This task presented significant challenges due to extreme class imbalance and Hausa's low-resource status. Their system utilized a pre-trained multilingual transformer, Afro-XLMRLarge, fine-tuned with Weighted Binary CrossEntropy loss and dynamic undersampling at a 1:3 ratio to address the scarcity of polarized examples. On the official test set, the system achieved a Macro-F1 score of 0.2346 and a Micro-F1 score of 0.2581. The model demonstrated strong recall (Micro-Recall: 0.6166) in detecting polarization, though precision remained low at 0.1632. Its best per-class performance was an F1 score of 0.48 in the Political domain.

Key takeaway

For NLP Engineers developing systems for low-resource languages or tasks with severe class imbalance, consider combining pre-trained multilingual transformers with explicit imbalance handling. Your approach should integrate weighted loss functions and dynamic undersampling, as demonstrated by Team HausaNLP. Prioritize recall if detecting all instances of a rare class is critical, even if it impacts precision. This can provide a robust baseline for challenging text classification problems.

Key insights

Low-resource language polarization detection benefits from transformer fine-tuning with class imbalance mitigation techniques.

Principles

Method

Fine-tune Afro-XLMRLarge with Weighted Binary CrossEntropy loss and dynamic undersampling (1:3 ratio) for low-resource text classification with severe class imbalance.

In practice

Topics

Best for: Research Scientist, AI Scientist, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.