Fine-Grained Representation Learning via Multi-Level Contrastive Learning without Class Priors

Houwang Jiang, Zhuxian Liu, Guodong Liu, Xiaolong Liu, Shihua Zhan
9/7/2024
cs.CV

Official code: Hoper-J/Contrastive-Disentangling (4 stars, MIT, last commit 2024-09-28).

Abstract

Recent advances in unsupervised representation learning often rely on knowing the number of classes to improve feature extraction and clustering. However, this assumption raises an important question: is the number of classes always necessary, and do class labels fully capture the fine-grained features within the data? In this paper, we propose Contrastive Disentangling (CD), a framework designed to learn representations without relying on class priors. CD leverages a multi-level contrastive learning strategy, integrating instance-level and feature-level contrastive losses with a normalized entropy loss to capture semantically rich and fine-grained representations. Specifically, (1) the instance-level contrastive loss separates feature representations across samples; (2) the feature-level contrastive loss promotes independence among feature heads; and (3) the normalized entropy loss ensures feature diversity and prevents feature collapse. Extensive experiments on CIFAR-10, CIFAR-100, STL-10, and ImageNet-10 demonstrate that CD outperforms existing methods in scenarios where class information is unavailable or ambiguous. The code is available at https://github.com/Hoper-J/Contrastive-Disentangling.

View on arXivView PDF

Code Implementations(1)

MIT

Fine-grained representation learning through multi-level contrastive learning without class priors.

40Python, Jupyter NotebookJul 18, 20242 years agoMIT

Similar Papers

Cite this paper

@article{jiang2024finegrained,
  title  = {Fine-Grained Representation Learning via Multi-Level Contrastive Learning without Class Priors},
  author = {Houwang Jiang and Zhuxian Liu and Guodong Liu and Xiaolong Liu and Shihua Zhan},
  year   = {2024},
  eprint = {2409.04867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04867v3}
}

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/2409.04867.svg)](https://codeofpaper.com/paper/2409.04867)

Discussion