Anti-Collapse Loss for Deep Metric Learning Based on Coding Rate Metric

Xiruo Jiang, Yazhou Yao, Xili Dai, Fumin Shen, Xian-Sheng Hua +1 more
7/3/2024
cs.CV

No official code found. Best implementation: NUST-Machine-Intelligence-Laboratory/Anti-Collapse-Loss (5 stars, last commit 2024-01-28).

Abstract

Deep metric learning (DML) aims to learn a discriminative high-dimensional embedding space for downstream tasks like classification, clustering, and retrieval. Prior literature predominantly focuses on pair-based and proxy-based methods to maximize inter-class discrepancy and minimize intra-class diversity. However, these methods tend to suffer from the collapse of the embedding space due to their over-reliance on label information. This leads to sub-optimal feature representation and inferior model performance. To maintain the structure of embedding space and avoid feature collapse, we propose a novel loss function called Anti-Collapse Loss. Specifically, our proposed loss primarily draws inspiration from the principle of Maximal Coding Rate Reduction. It promotes the sparseness of feature clusters in the embedding space to prevent collapse by maximizing the average coding rate of sample features or class proxies. Moreover, we integrate our proposed loss with pair-based and proxy-based methods, resulting in notable performance improvement. Comprehensive experiments on benchmark datasets demonstrate that our proposed method outperforms existing state-of-the-art methods. Extensive ablation studies verify the effectiveness of our method in preventing embedding space collapse and promoting generalization performance.

View on arXivView PDF

Code Implementations(1)

50Shell, PythonJan 28, 20242 years ago

Similar Papers

Cite this paper

@article{jiang2024anticollapse,
  title  = {Anti-Collapse Loss for Deep Metric Learning Based on Coding Rate Metric},
  author = {Xiruo Jiang and Yazhou Yao and Xili Dai and Fumin Shen and Xian-Sheng Hua and Heng-Tao Shen},
  year   = {2024},
  eprint = {2407.03106},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.03106v1}
}

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

Discussion