UPM Institutional Repository

A weighted difference loss approach for enhancing multi-label classification


Citation

Qiong, Hu and Azmi Murad, Masrah Azrifah and Azman, Azreen and Nasharuddin, Nurul Amelina (2025) A weighted difference loss approach for enhancing multi-label classification. Scientific Reports, 15 (1). art. no. 25052. pp. 1-13. ISSN 2045-2322

Abstract

Conventional multi-label classification methods often fail to capture the dynamic relationships and relative intensity shifts between labels, treating them as independent entities. This limitation is particularly detrimental in tasks like sentiment analysis where emotions co-occur in nuanced proportions. To address this, we introduce a novel Weighted Difference Loss (WDL) framework. WDL operates on three core principles: (1) transforming labels into a normalized distribution to model their relative proportions; (2) computing learnable, weighted differences across this distribution to explicitly capture inter-label dynamics and trends; and (3) employing a label-shuffling augmentation to ensure the model learns intrinsic, order-invariant relationships. Our framework not only achieves state-of-the-art performance on four public benchmarks, but more importantly, it substantially improves the recognition of minority classes. This demonstrates the framework’s ability to learn from sparse data by effectively leveraging the underlying label structure, offering a robust, loss-driven alternative to complex architectural modifications.


Download File

[img] Text
120145.pdf - Published Version

Download (2MB)

Additional Metadata

Item Type: Article
Divisions: Faculty of Computer Science and Information Technology
DOI Number: https://doi.org/10.1038/s41598-025-09883-2
Publisher: Nature Research
Keywords: BERT; Label dependency modeling; Loss function optimization; Multi-label sentiment classification; Weighted Difference Loss (WDL)
Depositing User: Ms. Zaimah Saiful Yazan
Date Deposited: 24 Sep 2025 01:55
Last Modified: 24 Sep 2025 01:55
Altmetrics: http://www.altmetric.com/details.php?domain=psasir.upm.edu.my&doi=10.1038/s41598-025-09883-2
URI: http://psasir.upm.edu.my/id/eprint/120145
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item