TCMM: Token Constraint and Multi-Scale Memory Bank of Contrastive Learning for Unsupervised Person Re-identification

Zheng-An Zhu, Hsin-Che Chien, Chen-Kuo Chiang
1/15/2025
cs.CVcs.AI

Official code: andy412510/TCMM (3 stars, Apache-2.0, last commit 2024-12-04).

Abstract

This paper proposes the ViT Token Constraint and Multi-scale Memory bank (TCMM) method to address the patch noises and feature inconsistency in unsupervised person re-identification works. Many excellent methods use ViT features to obtain pseudo labels and clustering prototypes, then train the model with contrastive learning. However, ViT processes images by performing patch embedding, which inevitably introduces noise in patches and may compromise the performance of the re-identification model. On the other hand, previous memory bank based contrastive methods may lead data inconsistency due to the limitation of batch size. Furthermore, existing pseudo label methods often discard outlier samples that are difficult to cluster. It sacrifices the potential value of outlier samples, leading to limited model diversity and robustness. This paper introduces the ViT Token Constraint to mitigate the damage caused by patch noises to the ViT architecture. The proposed Multi-scale Memory enhances the exploration of outlier samples and maintains feature consistency. Experimental results demonstrate that our system achieves state-of-the-art performance on common benchmarks. The project is available at \href{https://github.com/andy412510/TCMM}{https://github.com/andy412510/TCMM}.

View on arXivView PDF

Code Implementations(1)

andy412510/TCMMOfficial100%
Apache-2.0
31PythonFeb 1, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhu2025tcmm,
  title  = {TCMM: Token Constraint and Multi-Scale Memory Bank of Contrastive Learning for Unsupervised Person Re-identification},
  author = {Zheng-An Zhu and Hsin-Che Chien and Chen-Kuo Chiang},
  year   = {2025},
  eprint = {2501.09044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09044v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.09044.svg)](https://codeofpaper.com/paper/2501.09044)

Discussion