ILab-NLP at SemEval-2026 Task 9: Comparing XLM-RoBERTa and LLaMA-2 for Multilingual Polarization Detection

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, quick

Summary

ILab-NLP's system for SemEval-2026 Task 9, Subtask 1, addresses binary detection of polarized versus non-polarized posts in English and Spanish. The team compared a fine-tuned multilingual encoder model, XLM-RoBERTa, against a prompted generative model, LLaMA-2 7B. Experiments revealed XLM-RoBERTa delivered stronger and more stable performance overall. LLaMA-2, conversely, showed a propensity for false positives in Spanish, attributed to a significant bias towards predicting the polarized class. Beyond headline results, the analysis included model behavior using confidence signals and SHAP, alongside efficiency measurements via CodeCarbon to detail performance-cost tradeoffs.

Key takeaway

For NLP engineers developing multilingual polarization detection systems, XLM-RoBERTa offers superior stability and performance compared to LLaMA-2 7B. You should prioritize fine-tuned encoder models for robust classification, especially when false positives are critical. If you consider generative models like LLaMA-2, rigorously test for language-specific biases, particularly a strong inclination towards polarized class predictions, and implement mitigation strategies to ensure reliable output.

Key insights

Fine-tuned encoder models like XLM-RoBERTa generally outperform prompted generative models such as LLaMA-2 for multilingual polarization detection.

Principles

Method

The study compared fine-tuned XLM-RoBERTa with prompted LLaMA-2 7B for binary classification, analyzing model behavior using confidence signals, SHAP, and computational efficiency with CodeCarbon.

In practice

Topics

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

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