Skip to content
Open access

An explainable AfroXLMR approach for multi-label emotion classification of Amharic social media text with dataset release.

Jul 2026 · Scientific Reports · 0 citations
Medicine

TL;DR

A fine-tuned AfroXLMR model demonstrates promising performance in Amharic multi-label emotion classification by fine-tuning AfroXLMR by integrating explainable artificial intelligence (XAI) into the framework.

Abstract

Emotion detection from social media is crucial for understanding human emotions across languages. However, for low-resourced languages such as Amharic, the lack of annotated data makes this task challenging. Additionally, most current models use black-box methods that obscure whether predictions rely on linguistically meaningful cues. To address these gaps, this study proposes a multi-label emotion classification model for Amharic by fine-tuning AfroXLMR. To enhance transparency, we integrate explainable artificial intelligence (XAI) into the framework. We compiled and annotated a new dataset of 22,000 unique social media comments across eight emotion categories for training, validation, and testing. The data was split into 80% for training, 10% for validation, and 10% for testing. The proposed model achieved a recall of 87% and a Hamming loss of 0.08. To interpret its predictions, we applied Local Interpretable Model-agnostic Explanations (LIME). We also evaluated the model against several state-of-the-art baselines, including XLM-R base, mBART, BiLSTM, LSTM, CNN, and AfriBERTa. The results show that our approach outperformed each baseline, achieving F1-score improvements of 5% over XLM-R base, 3% over mBART, 5% over BiLSTM, 7% over LSTM, 9% over CNN, and 2% over AfriBERTa. Bootstrapped statistical significance testing confirms that these improvements are robust and not attributable to random variation. In conclusion, the fine-tuned AfroXLMR model demonstrates promising performance in Amharic multi-label emotion classification. Building on this success, next steps could involve exploring more advanced fine-tuning strategies and expanding our datasets to strengthen both performance and the model's ability to generalize across diverse Amharic contexts.

Read PDF

Similar papers

Open access Aug 2026

A transfer learning with data augmentation approach to emotion classification of Indonesian tweets

This research presents a transfer learning approach to analyze the benchmark EmoT corpus of 4401 emotion-labeled Indonesian Tweets, combined with a task-specific data augmentation strategy to enhance model generalization.

Dvir Levi, Phillip M. LaCasse, Lyssa A. White · 0 citations

Stacking Approaches for Multi-Label Emotion Recognition in Persian Using Large and Small Transformer Models

A hybrid model, termed SE_LLM_ST, is introduced, which leverages recent advancements in large language models (LLMs) and transformer-based architectures to effectively capture both contextual and sequential information vital for Persian emotion recognition.

Toktam Khatibi, Elham Farahani · 0 citations
Open access Sep 2026

A Transformer-Based Approach with Data Augmentation for Multilabel Emotional Context Detection

A fine-tuned Robustly Optimized Bidirectional Encoder Representations from Transformers Approach (RoBERTa) is used to offer a Transformer-based model for identifying multilabel emotional context in textual data to balance emotion categories and enhance the model's capacity for generalization.

M. H. Hussein, Marem H. Abdulabas, A. T. Ali et al. · 0 citations
#artificial intelligence Preprint Sep 2026

An Explainable DistilBERT-BiLSTM-Attention Framework for Binary and Multi-Class Hate Speech Detection

Hate speech on social media poses serious risks to social harmony, mental well-being, and public safety, making its timely and accurate detection essential for content moderation systems. Most existing studies focus on binary classification, evaluated their frameworks on a single dataset, and provide limited insight in...

Rameesha Zia, Muhammad Shahid Iqbal Malik · 0 citations
Sep 2026

Deep Learning-based Multi-Class Sentiment Classification from Social Media Comments using LSTM Architecture

This paper presents a lightweight sentiment classification model based on Long Short-Term Memory (LSTM) networks, developed as a foundational text-analysis component for future multimodal emotion recognition systems. The study uses a multi-platform English social media dataset comprising 526 comments collected from Twi...

Munmun Kakkar, Hemant Patidar · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.