使用堆叠嵌入和混合损失函数改进阿拉伯语多标签情感分类
Improving Arabic Multi-Label Emotion Classification using Stacked Embeddings and Hybrid Loss Function
AI总结:
针对阿拉伯语多标签情感分类中的类别不平衡和标签相关性问题,提出结合堆叠嵌入、元学习与混合损失函数的新方法,显著提升了少数类预测性能并实现了更平衡的分类。
摘要:
在多标签情感分类中,特别是对于像阿拉伯语这样的低资源语言,类别不平衡和标签相关性的挑战阻碍了模型性能,尤其是在准确预测少数类别情感方面。为了解决这些问题,本研究提出了一种新颖的方法,结合了堆叠嵌入、元学习和混合损失函数,以增强阿拉伯语的多标签情感分类。该研究从三个微调的语言模型——ArabicBERT、MarBERT和AraBERT中提取上下文嵌入,然后将它们堆叠以形成丰富的嵌入。在这些堆叠嵌入上训练一个元学习器,并将得到的拼接表示作为Bi-LSTM模型的输入,随后接一个用于多标签分类的全连接神经网络。为了进一步提高性能,引入了一种混合损失函数,结合了类别权重、标签相关性矩阵和对比学习,有效解决了类别不平衡问题并改善了对标签相关性的处理。大量实验验证了所提出模型在Precision、Recall、F1-Score、Jaccard Accuracy和Hamming Loss等关键指标上的性能。逐类性能分析表明,混合损失函数能够显著减少多数类和少数类之间的差异,从而实现更平衡的情感分类。消融研究突出了每个组件的贡献,显示了该模型相比基线方法和其他损失函数的优越性。这项研究不仅推进了阿拉伯语的多标签情感分类,还提出了一个可推广的框架,可适应其他语言和领域,为解决低资源情感分类任务的挑战迈出了重要一步。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。