End-to-End Supervised Multilabel Contrastive Learning

Ahmad Sajedi, Samir Khaki, Konstantinos N. Plataniotis, Mahdi S. Hosseini
7/8/2023
cs.CV

Official code: mahdihosseini/KMCL (9 stars, last commit 2023-07-11).

Abstract

Multilabel representation learning is recognized as a challenging problem that can be associated with either label dependencies between object categories or data-related issues such as the inherent imbalance of positive/negative samples. Recent advances address these challenges from model- and data-centric viewpoints. In model-centric, the label correlation is obtained by an external model designs (e.g., graph CNN) to incorporate an inductive bias for training. However, they fail to design an end-to-end training framework, leading to high computational complexity. On the contrary, in data-centric, the realistic nature of the dataset is considered for improving the classification while ignoring the label dependencies. In this paper, we propose a new end-to-end training framework -- dubbed KMCL (Kernel-based Mutlilabel Contrastive Learning) -- to address the shortcomings of both model- and data-centric designs. The KMCL first transforms the embedded features into a mixture of exponential kernels in Gaussian RKHS. It is then followed by encoding an objective loss that is comprised of (a) reconstruction loss to reconstruct kernel representation, (b) asymmetric classification loss to address the inherent imbalance problem, and (c) contrastive loss to capture label correlation. The KMCL models the uncertainty of the feature encoder while maintaining a low computational footprint. Extensive experiments are conducted on image classification tasks to showcase the consistent improvements of KMCL over the SOTA methods. PyTorch implementation is provided in \url{https://github.com/mahdihosseini/KMCL}.

View on arXivView PDF

Code Implementations(1)

mahdihosseini/KMCLOfficial100%

Kernel based Multilabel Contrastive Learning

92PythonJun 12, 20233 years ago

Cite this paper

@article{sajedi2023endtoend,
  title  = {End-to-End Supervised Multilabel Contrastive Learning},
  author = {Ahmad Sajedi and Samir Khaki and Konstantinos N. Plataniotis and Mahdi S. Hosseini},
  year   = {2023},
  eprint = {2307.03967},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.03967v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.03967.svg)](https://codeofpaper.com/paper/2307.03967)

Discussion