Skip to main content
QUICK REVIEW

[Paper Review] Deep Metric Learning Meets Deep Clustering: An Novel Unsupervised Approach for Feature Embedding

Binh X. Nguyen, B. D. Nguyen|arXiv (Cornell University)|Sep 9, 2020
Video Surveillance and Tracking MethodsComputer Science55 references8 citations
TL;DR

This paper proposes CBSwR, a novel unsupervised deep metric learning method that integrates deep clustering with metric learning to overcome the challenge of positive/negative sample mining without labels. By learning pseudo-labels via clustering and using them to guide a center-based metric loss, the method achieves state-of-the-art retrieval performance on CUB200-2011 and CARS196, outperforming existing unsupervised approaches in recall metrics while maintaining strong clustering quality.

ABSTRACT

Unsupervised Deep Distance Metric Learning (UDML) aims to learn sample similarities in the embedding space from an unlabeled dataset. Traditional UDML methods usually use the triplet loss or pairwise loss which requires the mining of positive and negative samples w.r.t. anchor data points. This is, however, challenging in an unsupervised setting as the label information is not available. In this paper, we propose a new UDML method that overcomes that challenge. In particular, we propose to use a deep clustering loss to learn centroids, i.e., pseudo labels, that represent semantic classes. During learning, these centroids are also used to reconstruct the input samples. It hence ensures the representativeness of centroids - each centroid represents visually similar samples. Therefore, the centroids give information about positive (visually similar) and negative (visually dissimilar) samples. Based on pseudo labels, we propose a novel unsupervised metric loss which enforces the positive concentration and negative separation of samples in the embedding space. Experimental results on benchmarking datasets show that the proposed approach outperforms other UDML methods.

Motivation & Objective

  • To address the challenge of positive and negative sample mining in unsupervised deep metric learning (UDML), where class labels are unavailable.
  • To improve training efficiency in UDML by reducing reliance on computationally expensive pairwise or triplet mining across the full dataset.
  • To learn representative cluster centroids that serve as pseudo-labels for semantic grouping, enabling effective metric learning without supervision.
  • To achieve state-of-the-art performance in unsupervised feature embedding and retrieval, particularly in zero-shot and low-resource settings.

Proposed method

  • The method introduces a novel loss function combining a learnable clustering head, a reconstruction loss, and a center-based metric loss to jointly optimize clustering and metric learning.
  • Pseudo-labels are generated via a differentiable clustering head that assigns samples to learnable centroids, representing semantic classes in the embedding space.
  • Centroids are updated during training using momentum-based statistics, ensuring stable and representative cluster centers.
  • The metric loss enforces intra-cluster compactness (positive concentration) and inter-cluster separation (negative separation) using the pseudo-labels as supervision.
  • Reconstruction loss is applied to reconstruct input samples from their cluster centroids, ensuring that centroids are representative of visual patterns.
  • The approach avoids explicit mining of triplets or pairs by using the pseudo-labels to define positive and negative sets, reducing computational complexity.

Experimental results

Research questions

  • RQ1Can deep clustering be effectively leveraged to generate reliable pseudo-labels for unsupervised metric learning in the absence of ground-truth labels?
  • RQ2How can pseudo-labels be used to define meaningful positive and negative samples for triplet or pairwise metric learning without supervision?
  • RQ3Can a joint optimization of clustering, reconstruction, and metric learning lead to better feature embeddings than existing unsupervised metric learning methods?
  • RQ4Does the proposed method achieve competitive performance on retrieval benchmarks compared to both unsupervised and supervised metric learning baselines?

Key findings

  • On the CUB200-2011 dataset, CBSwR achieves a recall of 80.5% at R@8, outperforming the previous state-of-the-art unsupervised method SME (80.2%) and matching or exceeding other unsupervised methods across all R@K metrics.
  • On the CARS196 dataset, CBSwR achieves a recall of 76.0% at R@8, surpassing all other unsupervised methods including MOM and SME, and approaching performance of supervised methods.
  • CBSwR achieves a normalized mutual information (NMI) score of 37.6% on CARS196, demonstrating strong clustering quality comparable to state-of-the-art unsupervised clustering methods.
  • The method outperforms the prior state-of-the-art unsupervised metric learning method SME in both retrieval and clustering performance, indicating the effectiveness of the joint clustering-metric learning framework.
  • The ablation study confirms that the reconstruction loss and the center-based metric loss are both essential for achieving optimal performance, with each component contributing to improved embedding quality.
  • CBSwR achieves competitive performance compared to supervised methods like triplet loss with smart mining and proxy-based triplet loss, demonstrating strong transferability and generalization in zero-shot settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.