Improving Arabic Multi-Label Emotion Classification Using Stacked Embeddings and Hybrid Loss Function
Multi-label emotion classification (MLEC) for low-resource languages like Arabic faces significant challenges due to class imbalance and label correlations, particularly in accurately predicting minority emotions. This study propose a novel framework combining stacked contextual embeddings, meta-learning, and a hybrid loss function to address these issues. First, we generate enriched embeddings by fine-tuning and stacking three Arabic language models (ArabicBERT, MarBERT, AraBERT). These embeddings are processed by a Bi-LSTM meta-learner for sequence learning, followed by a fully connected network for classification. To mitigate class imbalance and leverage label dependencies, we introduce a hybrid loss integrating contrastive learning (CL), label correlation matrices (LCM), and class weighting (CW). Extensive experiments on the SemEval-2018 Task 1-Ec-Ar dataset demonstrate state-of-the-art performance, with a Jaccard accuracy of 0.81, F1-score of 0.67, and Hamming loss of 0.15. Ablation studies confirm the contributions of each component, while class-wise analysis shows our hybrid loss reduces disparities between majority and minority classes by up to 22%. Beyond Arabic MLEC, this work offers a generalizable framework adaptable to other languages and domains, advancing emotion analysis in low-resource settings.
Authors
- Muhammad Ali Hamza (ORCID: https://orcid.org/0009-0005-1759-8349)
- Yimei Xu (ORCID: https://orcid.org/0000-0003-0013-4044)
- Saba Aslam (ORCID: https://orcid.org/0000-0001-7681-4324)
- Nisar Ahmed (ORCID: https://orcid.org/0000-0002-6397-4860)
- Muhammad Zaman (ORCID: https://orcid.org/0000-0001-6831-3589)
- Muhammad Azeem Aslam (ORCID: https://orcid.org/0000-0002-4026-1294)
- Jun Wang (ORCID: https://orcid.org/0009-0008-0208-3192)
Institutions
- University of Engineering and Technology Lahore (PK)
- Xidian University (CN)
- COMSATS University Islamabad (PK)
- Xi'an Jiaotong University (CN)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3580478
- Citations
- 1
- Primary Topic
- Text and Document Classification Technologies
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- Chinese Academy of Sciences