[Paper Review] Unsupervised Deep Metric Learning via Auxiliary Rotation Loss
This paper proposes UDML-SS, a novel unsupervised deep metric learning framework that jointly optimizes metric learning, clustering-based pseudo-labeling, and a self-supervised rotation prediction task. By iteratively refining cluster assignments and using rotation prediction as a regularizer, the method achieves state-of-the-art performance on CUB-200, Cars196, and Stanford Online Products, outperforming prior methods by up to +14.6% Recall@1.
Deep metric learning is an important area due to its applicability to many domains such as image retrieval and person re-identification. The main drawback of such models is the necessity for labeled data. In this work, we propose to generate pseudo-labels for deep metric learning directly from clustering assignment and we introduce unsupervised deep metric learning (UDML) regularized by a self-supervision (SS) task. In particular, we propose to regularize the training process by predicting image rotations. Our method (UDML-SS) jointly learns discriminative embeddings, unsupervised clustering assignments of the embeddings, as well as a self-supervised pretext task. UDML-SS iteratively cluster embeddings using traditional clustering algorithm (e.g., k-means), and sampling training pairs based on the cluster assignment for metric learning, while optimizing self-supervised pretext task in a multi-task fashion. The role of self-supervision is to stabilize the training process and encourages the model to learn meaningful feature representations that are not distorted due to unreliable clustering assignments. The proposed method performs well on standard benchmarks for metric learning, where it outperforms current state-of-the-art approaches by a large margin and it also shows competitive performance with various metric learning loss functions.
Motivation & Objective
- Address the challenge of unsupervised deep metric learning requiring large-scale labeled data.
- Reduce instability in training caused by unreliable clustering assignments in pseudo-labeling.
- Improve feature representation quality without relying on manual annotations.
- Integrate self-supervision as a regularizer to stabilize training and enhance feature learning.
- Demonstrate state-of-the-art performance across multiple standard metric learning benchmarks.
Proposed method
- Use k-means clustering on deep features to generate pseudo-labels for positive/negative pair mining in metric learning.
- Train a deep neural network using a multi-task loss combining metric learning loss and rotation prediction loss.
- Apply rotation prediction as a self-supervised pretext task: predict 0°, 90°, 180°, 270° rotations of input images.
- Iteratively recompute cluster assignments after each training epoch using updated features.
- Initialize pseudo-labels from a pre-trained ImageNet backbone and update them end-to-end during training.
- Support any standard metric learning loss function (e.g., contrastive, triplet) within the framework.
Experimental results
Research questions
- RQ1Can clustering-based pseudo-labeling be effectively combined with self-supervised learning to improve unsupervised metric learning?
- RQ2Does adding a rotation prediction task stabilize training and reduce sensitivity to noisy cluster assignments?
- RQ3How does the proposed method compare to state-of-the-art unsupervised metric learning approaches on standard benchmarks?
- RQ4Can the method achieve strong performance even when training from random weights without ImageNet pretraining?
- RQ5How do hyperparameters like embedding dimension and number of clusters affect model performance?
Key findings
- UDML-SS achieves a new state of the art on CUB-200-2011, improving Recall@1 by +8.5% over the prior SOTA method [51].
- On Cars196, the method improves Recall@1 by +3.8% compared to the strongest baseline.
- On Stanford Online Products, UDML-SS achieves a +14.6% Recall@1 improvement over [51], demonstrating strong generalization.
- With a randomly initialized ResNet18, UDML-SS achieves 59.2% Recall@1 on Product dataset, outperforming all prior unsupervised methods.
- The method performs well across different backbone architectures, with Inception-V2 achieving performance close to supervised multi-similarity learning.
- Optimal cluster count is around 100–250; performance degrades when k exceeds 500, indicating sensitivity to overfitting in clustering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.