BMW: Bidirectionally Memory bank reWriting for Unsupervised Person Re-Identification

Xiao-Bin Liu, Jia-Ning Li, Bai-Wei Guo, Wen-Bin Zhu, Jing Yuan
1/1/2025

No confident code implementation found for this paper.

Abstract

Recent works show that contrastive learning based on memory banks is an effective framework for unsupervised person Re-IDentification (ReID). In existing methods, memory banks are typically initialized with cluster centroids and rewritten with positive samples via the momentum mechanism along with the model training.

Show full abstract

However, this mechanism solely focuses on the intra-class compactness by pulling memory banks close to positive samples, neglecting the inter-class separability among different memory banks. Rewriting memory banks with partial constraint limits their discrimination capacities, and hence hinders learning discriminative features based on those memory banks. In this paper, we claim that memory banks should be rewritten with both intra-class and inter-class constraints, and therefore propose a unified memory bank rewriting mechanism, Bidirectionally Memory bank reWriting (BMW), to chase enhanced discrimination capacity. Specifically, BMW formulates the memory bank rewriting as the gradient descent update with two objectives, i.e. , reducing intra-class diversity and enhancing inter-class separability. To effectively enhance the separability of memory banks with limited number of rewriting steps, we further design a novel objective formulation for the inter-class constraint, which is more effective for one step update. BMW enhances both representation and discrimination capacities of memory banks, thus leads to an effective ReID feature optimization. BMW is simple yet effective and can serve as a new paradigm for person ReID methods based on memory banks. Extensive experiments on standard benchmarks demonstrate the effectiveness of our BMW method in unsupervised ReID model training. Specially, BMW even outperforms previous methods that use stronger backbones. Code is available

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025bmw,
  title  = {BMW: Bidirectionally Memory bank reWriting for Unsupervised Person Re-Identification},
  author = {Xiao-Bin Liu and Jia-Ning Li and Bai-Wei Guo and Wen-Bin Zhu and Jing Yuan},
  year   = {2025},
  doi    = {10.52202/085713-5455},
  url    = {https://doi.org/10.52202/085713-5455},
  journal = {Neural Information Processing Systems}
}

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/b83dad090ec8402b5c8b1acbbc65a2c065e94ac5.svg)](https://codeofpaper.com/paper/b83dad090ec8402b5c8b1acbbc65a2c065e94ac5)

Discussion