arXiv · 2507.11384
Addressing Data Imbalance in Transformer-Based Multi-Label Emotion Detection with Weighted Loss
Abstract
This paper explores the application of a simple weighted loss function to Transformer-based models for multi-label emotion detection in SemEval-2025 Shared Task 11. Our approach addresses data imbalance by dynamically adjusting class weights, thereby enhancing performance on minority emotion classes without the computational burden of traditional resampling methods. We evaluate BERT, RoBERTa, and BART on the BRIGHTER dataset, using evaluation metrics such as Micro F1, Macro F1, ROC-AUC, Accuracy, and Jaccard similarity coefficients. The results demonstrate that the weighted loss function improves performance on high-frequency emotion classes but shows limited impact on minority classes. These findings underscore both the effectiveness and the challenges of applying this approach to imbalanced multi-label emotion detection.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Xia Cui. 2025-07-15. Addressing Data Imbalance in Transformer-Based Multi-Label Emotion Detection with Weighted Loss. https://arxiv.org/abs/2507.11384
Cite the original work for its findings. Save a collection to share your selection of sources.