Skip to main content
QUICK REVIEW

[Paper Review] Cluster Contrast for Unsupervised Person Re-Identification

Zuozhuo Dai, Guangyuan Wang|arXiv (Cornell University)|Mar 22, 2021
Video Surveillance and Tracking MethodsComputer Science48 references59 citations
TL;DR

This paper introduces Cluster Contrast, a cluster-level memory dictionary with momentum updates for unsupervised person re-ID, achieving state-of-the-art results among purely unsupervised methods on multiple benchmarks.

ABSTRACT

State-of-the-art unsupervised re-ID methods train the neural networks using a memory-based non-parametric softmax loss. Instance feature vectors stored in memory are assigned pseudo-labels by clustering and updated at instance level. However, the varying cluster sizes leads to inconsistency in the updating progress of each cluster. To solve this problem, we present Cluster Contrast which stores feature vectors and computes contrast loss at the cluster level. Our approach employs a unique cluster representation to describe each cluster, resulting in a cluster-level memory dictionary. In this way, the consistency of clustering can be effectively maintained throughout the pipline and the GPU memory consumption can be significantly reduced. Thus, our method can solve the problem of cluster inconsistency and be applicable to larger data sets. In addition, we adopt different clustering algorithms to demonstrate the robustness and generalization of our framework. The application of Cluster Contrast to a standard unsupervised re-ID pipeline achieves considerable improvements of 9.9%, 8.3%, 12.1% compared to state-of-the-art purely unsupervised re-ID methods and 5.5%, 4.8%, 4.4% mAP compared to the state-of-the-art unsupervised domain adaptation re-ID methods on the Market, Duke, and MSMT17 datasets. Code is available at https://github.com/alibaba/cluster-contrast.

Motivation & Objective

  • Motivate and improve unsupervised person re-ID by reducing feature inconsistency between memory dictionary updates and model updates.
  • Propose a cluster-level memory dictionary where each cluster is represented by a single feature vector.
  • Develop a cluster-level contrastive loss (ClusterNCE) that operates on cluster representations rather than individual instances.
  • Incorporate a momentum update mechanism to reinforce cluster feature consistency across training iterations.

Proposed method

  • Store a cluster-level memory dictionary with cluster feature vectors initialized as the mean feature of each cluster.
  • Compute ClusterNCE loss between a query feature and all cluster representations (phi_k) in the dictionary.
  • Update cluster representations via momentum: phi_k <- m * phi_k + (1 - m) * q for queries q belonging to cluster k.
  • Initialize clusters via offline clustering (DBSCAN) at epoch start and update cluster count K each epoch.
  • Use ResNet-50 backbone with 2048-dim features, standard augmentations, and DBSCAN-based pseudo-labeling.
  • Train with Adam, temperature tau, and a fixed momentum m to enforce feature consistency across iterations.

Experimental results

Research questions

  • RQ1Can cluster-level memory with momentum updates reduce feature inconsistency in unsupervised re-ID compared to instance-level memory approaches?
  • RQ2Does ClusterNCE on cluster representations outperform traditional instance-level contrastive losses in purely unsupervised re-ID pipelines?
  • RQ3How does dynamic clustering (changing K) interact with cluster-level contrastive learning and momentum updates?
  • RQ4What are the empirical gains on standard re-ID benchmarks when using Cluster Contrast vs. prior unsupervised methods?

Key findings

  • Achieves state-of-the-art performance among purely unsupervised re-ID methods on several benchmarks.
  • Cluster-level memory with ClusterNCE and momentum updates yields higher mAP and rank-1 accuracy than instance-level or cluster-alone baselines.
  • Demonstrates robustness to batch size changes and variable cluster sizes, with improved intra- and inter-class feature separation.
  • Outperforms several baseline unsupervised methods on Market-1501, MSMT17, and PersonX, and shows competitive results on VeRi-776 (vehicle re-ID).
  • Ablation studies confirm the benefits of cluster memory, momentum update, and cluster-level loss over traditional instance-level approaches.

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.