Skip to main content
QUICK REVIEW

[Paper Review] Dual Cluster Contrastive learning for Object Re-Identification

Hantao Yao, Changsheng Xu|arXiv (Cornell University)|Dec 9, 2021
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes Dual Cluster Contrastive learning (DCC), a novel framework for object re-identification that jointly employs individual-based and centroid-based cluster memory banks to stabilize contrastive learning. By leveraging both instance-level and cluster-mean-level momentum updates, DCC achieves state-of-the-art performance on supervised and unsupervised ReID benchmarks, improving mAP by up to 3.5% over prior methods.

ABSTRACT

Recently, cluster contrastive learning has been proven effective for object ReID by computing the contrastive loss between the individual features and the cluster memory. However, existing methods that use the individual features to momentum update the cluster memory will fluctuate over the training examples, especially for the outlier samples. Unlike the individual-based updating mechanism, the centroid-based updating mechanism that applies the mean feature of each cluster to update the cluster memory can reduce the impact of individual samples. Therefore, we formulate the individual-based updating and centroid-based updating mechanisms in a unified cluster contrastive framework, named Dual Cluster Contrastive framework (DCC), which maintains two types of memory banks: individual and centroid cluster memory banks. Significantly, the individual cluster memory considers just one individual at a time to take a single step for updating. The centroid cluster memory applies the mean feature of each cluster to update the corresponding cluster memory. During optimization, besides the vallina contrastive loss of each memory, a cross-view consistency constraint is applied to exchange the benefits of two memories for generating a discriminative description for the object ReID. Note that DCC can be easily applied for unsupervised or supervised object ReID by using ground-truth labels or the generated pseudo-labels. Extensive experiments on three benchmarks, \emph{e.g.,} Market-1501, MSMT17, and VeRi-776, under extbf{supervised Object ReID} and extbf{unsupervised Object ReID} demonstrate the superiority of the proposed DCC.

Motivation & Objective

  • To address the instability of individual-based momentum updating in cluster contrastive learning, especially due to outlier samples.
  • To improve representation learning stability and discrimination in object ReID by introducing a complementary centroid-based updating mechanism.
  • To unify individual-level and centroid-level cluster contrastive learning into a single, effective framework (DCC) applicable to both supervised and unsupervised ReID.
  • To reduce sensitivity to hyperparameters like batch size and momentum factor, enhancing training convergence and generalization.

Proposed method

  • DCC maintains two separate memory banks: one for individual features (individual cluster memory) and one for cluster mean features (centroid cluster memory).
  • The individual cluster memory is updated using momentum-based tracking of individual features, mimicking stochastic gradient descent.
  • The centroid cluster memory is updated using the mean feature of each cluster, emulating batch gradient descent to reduce noise from outliers.
  • A cross-view consistency constraint is applied between the two memory banks to align their representations and enhance discriminativeness.
  • The framework integrates with any backbone network and can be used with ground-truth labels (supervised) or pseudo-labels (unsupervised).
  • Contrastive loss is computed independently on both memory banks, and their joint optimization improves feature representation quality.

Experimental results

Research questions

  • RQ1Can a dual-memory mechanism combining individual and centroid-based cluster updates improve stability in contrastive learning for object ReID?
  • RQ2How does the centroid-based updating mechanism reduce the impact of noisy or outlier samples compared to individual-based updating?
  • RQ3Does the joint optimization of individual and centroid memory banks lead to better generalization in both supervised and unsupervised ReID settings?
  • RQ4To what extent does DCC outperform existing cluster contrastive learning methods in terms of mAP and R1 accuracy across benchmarks?

Key findings

  • On Market-1501, DCC achieves 89.9% mAP and 64.3% R1 in supervised ReID, outperforming Circle Loss (87.4% mAP, 52.1% R1).
  • In unsupervised ReID, DCC achieves 35.9% mAP and 64.3% R1 on Market-1501, surpassing the previous SOTA of 31.2% mAP with ClusterContrastive(Infomap).
  • On MSMT17, DCC reaches 42.1% mAP and 87.9% R1 with ResNet50-ibn, significantly exceeding the prior SOTA of 40.8% mAP with ClusterContrastive(Infomap).
  • On VeRi-776, DCC achieves 36.6% mAP and 64.9% R1 in unsupervised ReID, outperforming all prior unsupervised methods.
  • DCC demonstrates faster convergence and reduced sensitivity to batch size and momentum hyperparameters compared to vanilla cluster contrastive learning.
  • The ablation study confirms that the cross-view consistency constraint between individual and centroid memories is essential for performance gains.

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.