Moving Towards Centers: Re-ranking with Attention and Memory for Re-identification

Yunhao Zhou, Yi Wang, Lap Pui Chau

Research output: Journal article publicationJournal articleAcademic researchpeer-review

1 Citation (Scopus)


Re-ranking utilizes contextual information to optimize the initial ranking list of person or vehicle re-identification (re-ID), which boosts the retrieval performance at post-processing steps. This paper proposes a re-ranking network to predict the correlations between the probe and top-ranked neighbor samples. Specifically, all the feature embeddings of query and gallery images are expanded and enhanced by a linear combination of their neighbors, with the correlation prediction serves as discriminative combination weights. The combination process is equivalent to moving independent embeddings toward the identity centers, improving cluster compactness. For correlation prediction, we first aggregate the contextual information for probes k-nearest neighbors via the Transformer encoder. Then, we distill and refine the probe-related features into the Contextual Memory cell via attention mechanism. Like humans that retrieve images by not only considering probe images but also memorizing the retrieved ones, the Contextual Memory produces multiview descriptions for each instance. Finally, the neighbors are reconstructed with features fetched from the Contextual Memory, and a binary classifier predicts their correlations with the probe. Experiments on six widely-used person and vehicle re-ID benchmarks demonstrate the effectiveness of the proposed method. Especially, our method surpasses the state-of-the-art re-ranking approaches on large-scale datasets by a significant margin, i.e., with an average 3.08% CMC@1 and 7.46% mAP improvements on VERI-Wild, MSMT17, and VehicleID datasets.

Original languageEnglish
Article number9739986
JournalIEEE Transactions on Multimedia
Publication statusAccepted/In press - 2022
Externally publishedYes


  • Aggregates
  • attention
  • Benchmark testing
  • contextual memory
  • Correlation
  • Feature extraction
  • Image reconstruction
  • Probes
  • Re-Identification
  • reranking
  • Transformer
  • Transformers

ASJC Scopus subject areas

  • Signal Processing
  • Media Technology
  • Computer Science Applications
  • Electrical and Electronic Engineering


Dive into the research topics of 'Moving Towards Centers: Re-ranking with Attention and Memory for Re-identification'. Together they form a unique fingerprint.

Cite this