Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Similarity-Dissimilarity Loss for Multi-label Supervised Contrastive Learning

About

Supervised contrastive learning has achieved remarkable success by leveraging label information; however, determining positive samples in multi-label scenarios remains a critical challenge. In multi-label supervised contrastive learning (MSCL), multi-label relations are not yet fully defined, leading to ambiguity in identifying positive samples and formulating contrastive loss functions to construct the representation space. To address these challenges, we: (i) systematically formulate multi-label relations in MSCL, (ii) propose a novel Similarity-Dissimilarity Loss, which dynamically re-weights samples based on similarity and dissimilarity factors, (iii) further provide theoretically grounded proofs for our method through rigorous mathematical analysis that supports the formulation and effectiveness, and (iv) offer a unified form and paradigm for both single-label and multi-label supervised contrastive loss. We conduct experiments on both image and text modalities and further extend the evaluation to the medical domain. The results show that our method consistently outperforms baselines in comprehensive evaluations, demonstrating its effectiveness and robustness.

Guangming Huang, Yunfei Long, Cunjin Luo• 2024

Related benchmarks

TaskDatasetResultRank
ICD CodingMIMIC-III full (test)
F1 Micro62.3
30
Multi-label Text ClassificationAAPD
Micro-F175.61
26
Multi-label Remote Sensing Image RetrievalML-AID
mAP (sim) @ 500088.36
13
Multi-label Remote Sensing Image RetrievalWHDLD
mAP (sim)@500089.77
13
Multi-label Remote Sensing Image RetrievalDLRSD
mAP (sim) @ 500067.74
13
Multi-label Image ClassificationMS-COCO
Micro F173.4
7
Multi-label Image ClassificationPascal
Micro-F183.63
7
Multi-label Image ClassificationNUS-WIDE
Micro F173.35
7
Showing 8 of 8 rows

Other info

Follow for update