Dual Clustering Co-Teaching With Consistent Sample Mining for Unsupervised Person Re-Identification

Zeqi Chen, Zhichao Cui, Chi Zhang, Jiahuan Zhou, Yuehu Liu

TL;DR

This paper introduces Dual Clustering Co-teaching (DCCT), a framework that significantly improves unsupervised person re-identification (Re-ID) by tackling the "noise" in automatically generated labels. By forcing two neural networks to learn from different clustering results and filtering out inconsistent samples during training, the authors achieve state-of-the-art performance that even surpasses many methods using manual annotations from other domains.

What Problem Does This Paper Address?

In unsupervised person Re-ID, we don't have ground-truth labels. The standard approach is to extract features from images, cluster them (e.g., using DBSCAN), and treat those clusters as "pseudo labels" for training.

However, this process is inherently noisy:

  1. False Positives: Different people with similar clothes might be clustered together.
  2. False Negatives: The same person in different lighting or poses might be split into different clusters.

Existing "peer-teaching" strategies try to fix this by having two networks train each other. But if both networks use the same noisy labels, they eventually just "agree" on the errors, leading to noise accumulation. The authors set out to increase the diversity between these networks so they can better filter out each other's mistakes.

Methods

The authors propose two main innovations within the DCCT framework:

  1. Dual Clustering with Dynamic Parameters (DCDP): Instead of one set of labels, DCCT generates two. It uses the temporal average of each network (Mean Nets) to extract features. Crucially, it clusters these features using different, dynamically changing distance thresholds ($\epsilon$). This ensures the two networks receive different "views" of the data, preventing them from converging on the same errors and maintaining their "complementarity."
  2. Consistent Sample Mining (CSM): During each training iteration, the system checks if a sample’s current feature is still most similar to its assigned cluster center. If a sample's label is "inconsistent" with its feature representation, it's flagged as potential noise and discarded for that mini-batch. This acts as a self-cleaning mechanism that becomes more refined as the model improves.

The training follows a co-teaching logic: Network A is trained using the pseudo labels generated by Network B, and vice versa.

Datasets

The researchers evaluated DCCT on three major benchmarks:

  • Market-1501: A standard real-world dataset with ~32k images and 1,501 identities.
  • MSMT17: A larger, more challenging real-world dataset with ~126k images and 4,101 identities across 15 cameras.
  • PersonX: A synthetic dataset used to test the model's robustness against manually designed difficulties like occlusion and viewpoint changes.

Key Insights and Ideas

  • Diversity is a Feature, Not a Bug: In peer-teaching, the goal isn't for the networks to be identical, but for them to be different enough to "correct" one another. Using different clustering parameters is a simple but effective way to force this diversity.
  • Dynamic Adaptivity: By varying the clustering parameters ($\epsilon$) over epochs, the model becomes more robust to different levels of granularity in the data.
  • Self-Paced Learning via CSM: The number of "consistent" samples naturally increases as the network converges. Early in training, the model is very picky (discarding many samples); as it gets smarter, it incorporates more data, mirroring how humans learn from simple to complex examples.

Key Results

DCCT achieves impressive numbers, setting new benchmarks for fully unsupervised Re-ID:

  • Market-1501: Achieved 86.3% mAP and 94.4% Top-1 accuracy, outperforming the previous best (ISE) by 1.0% mAP.
  • MSMT17: Achieved 41.8% mAP, a significant 4.8% jump over the previous state-of-the-art.
  • Comparison to UDA: Remarkably, DCCT (which uses no labels at all) outperformed many Unsupervised Domain Adaptation (UDA) methods that actually use labeled data from a different source domain.
  • Ablation Studies: Removing either the DCDP or the CSM components led to a noticeable drop in performance, proving that both the "diverse labels" and the "sample filtering" are essential.

Limitations and Future Work

While the paper demonstrates strong results, a few areas remain for exploration:

  • Computational Overhead: Training two networks simultaneously and performing dual clustering at every epoch increases the computational cost compared to single-network methods.
  • Parameter Sensitivity: While the authors provide a parameter analysis for the DBI threshold ($\gamma$) and the distance increment ($\Delta\epsilon$), finding the "sweet spot" for these values on entirely new, unseen datasets might require some tuning.
  • Clustering Algorithms: The authors primarily used DBSCAN; while they showed DCDP works with $k$-means and InfoMap, further research could explore more advanced graph-based clustering methods.

Summary updated

BibTeX
@article{chen2023dual,
  author = {Zeqi Chen and Zhichao Cui and Chi Zhang and Jiahuan Zhou and Yuehu Liu},
  title = {{Dual Clustering Co-Teaching With Consistent Sample Mining for Unsupervised Person Re-Identification}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2023},
  doi = {10.1109/tcsvt.2023.3261898},
}
Figure