Improving Arabic Multi-Label Emotion Classification using Stacked Embeddings and Hybrid Loss Function

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Aslam, Muhammad Azeem, Jun, Wang, Ahmed, Nisar, Zaman, Muhammad Imran, Yanan, Li, Hongfei, Hu, Shiyu, Wang, Liu, Xin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929590605185024
author Aslam, Muhammad Azeem
Jun, Wang
Ahmed, Nisar
Zaman, Muhammad Imran
Yanan, Li
Hongfei, Hu
Shiyu, Wang
Liu, Xin
author_facet Aslam, Muhammad Azeem
Jun, Wang
Ahmed, Nisar
Zaman, Muhammad Imran
Yanan, Li
Hongfei, Hu
Shiyu, Wang
Liu, Xin
contents In multi-label emotion classification, particularly for low-resource languages like Arabic, the challenges of class imbalance and label correlation hinder model performance, especially in accurately predicting minority emotions. To address these issues, this study proposes a novel approach that combines stacked embeddings, meta-learning, and a hybrid loss function to enhance multi-label emotion classification for the Arabic language. The study extracts contextual embeddings from three fine-tuned language models-ArabicBERT, MarBERT, and AraBERT-which are then stacked to form enriched embeddings. A meta-learner is trained on these stacked embeddings, and the resulting concatenated representations are provided as input to a Bi-LSTM model, followed by a fully connected neural network for multi-label classification. To further improve performance, a hybrid loss function is introduced, incorporating class weighting, label correlation matrix, and contrastive learning, effectively addressing class imbalances and improving the handling of label correlations. Extensive experiments validate the proposed model's performance across key metrics such as Precision, Recall, F1-Score, Jaccard Accuracy, and Hamming Loss. The class-wise performance analysis demonstrates the hybrid loss function's ability to significantly reduce disparities between majority and minority classes, resulting in a more balanced emotion classification. An ablation study highlights the contribution of each component, showing the superiority of the model compared to baseline approaches and other loss functions. This study not only advances multi-label emotion classification for Arabic but also presents a generalizable framework that can be adapted to other languages and domains, providing a significant step forward in addressing the challenges of low-resource emotion classification tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2410_03979
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Arabic Multi-Label Emotion Classification using Stacked Embeddings and Hybrid Loss Function
Aslam, Muhammad Azeem
Jun, Wang
Ahmed, Nisar
Zaman, Muhammad Imran
Yanan, Li
Hongfei, Hu
Shiyu, Wang
Liu, Xin
Computer Vision and Pattern Recognition
Computation and Language
In multi-label emotion classification, particularly for low-resource languages like Arabic, the challenges of class imbalance and label correlation hinder model performance, especially in accurately predicting minority emotions. To address these issues, this study proposes a novel approach that combines stacked embeddings, meta-learning, and a hybrid loss function to enhance multi-label emotion classification for the Arabic language. The study extracts contextual embeddings from three fine-tuned language models-ArabicBERT, MarBERT, and AraBERT-which are then stacked to form enriched embeddings. A meta-learner is trained on these stacked embeddings, and the resulting concatenated representations are provided as input to a Bi-LSTM model, followed by a fully connected neural network for multi-label classification. To further improve performance, a hybrid loss function is introduced, incorporating class weighting, label correlation matrix, and contrastive learning, effectively addressing class imbalances and improving the handling of label correlations. Extensive experiments validate the proposed model's performance across key metrics such as Precision, Recall, F1-Score, Jaccard Accuracy, and Hamming Loss. The class-wise performance analysis demonstrates the hybrid loss function's ability to significantly reduce disparities between majority and minority classes, resulting in a more balanced emotion classification. An ablation study highlights the contribution of each component, showing the superiority of the model compared to baseline approaches and other loss functions. This study not only advances multi-label emotion classification for Arabic but also presents a generalizable framework that can be adapted to other languages and domains, providing a significant step forward in addressing the challenges of low-resource emotion classification tasks.
title Improving Arabic Multi-Label Emotion Classification using Stacked Embeddings and Hybrid Loss Function
topic Computer Vision and Pattern Recognition
Computation and Language
url https://arxiv.org/abs/2410.03979