Center Contrastive Loss for Metric Learning

Bolun Cai, Pengfei Xiong, Shangxuan Tian
8/1/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Contrastive learning is a major studied topic in metric learning. However, sampling effective contrastive pairs remains a challenge due to factors such as limited batch size, imbalanced data distribution, and the risk of overfitting. In this paper, we propose a novel metric learning function called Center Contrastive Loss, which maintains a class-wise center bank and compares the category centers with the query data points using a contrastive loss. The center bank is updated in real-time to boost model convergence without the need for well-designed sample mining. The category centers are well-optimized classification proxies to re-balance the supervisory signal of each class. Furthermore, the proposed loss combines the advantages of both contrastive and classification methods by reducing intra-class variations and enhancing inter-class differences to improve the discriminative power of embeddings. Our experimental results, as shown in Figure 1, demonstrate that a standard network (ResNet50) trained with our loss achieves state-of-the-art performance and faster convergence.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{cai2023center,
  title  = {Center Contrastive Loss for Metric Learning},
  author = {Bolun Cai and Pengfei Xiong and Shangxuan Tian},
  year   = {2023},
  eprint = {2308.00458},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.00458v1}
}

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

Discussion