Video-based Person Re-identification with Spatial and Temporal Memory Networks

Chanho Eom, Geon Lee, Junghyup Lee, Bumsub Ham
8/20/2021
cs.CV

Official code: cvlab-yonsei/STMN (52 stars, Python, last commit 2021-11-01).

Abstract

Video-based person re-identification (reID) aims to retrieve person videos with the same identity as a query person across multiple cameras. Spatial and temporal distractors in person videos, such as background clutter and partial occlusions over frames, respectively, make this task much more challenging than image-based person reID.

Show full abstract

We observe that spatial distractors appear consistently in a particular location, and temporal distractors show several patterns, e.g., partial occlusions occur in the first few frames, where such patterns provide informative cues for predicting which frames to focus on (i.e., temporal attentions). Based on this, we introduce a novel Spatial and Temporal Memory Networks (STMN). The spatial memory stores features for spatial distractors that frequently emerge across video frames, while the temporal memory saves attentions which are optimized for typical temporal patterns in person videos. We leverage the spatial and temporal memories to refine frame-level person representations and to aggregate the refined frame-level features into a sequence-level person representation, respectively, effectively handling spatial and temporal distractors in person videos. We also introduce a memory spread loss preventing our model from addressing particular items only in the memories. Experimental results on standard benchmarks, including MARS, DukeMTMC-VideoReID, and LS-VID, demonstrate the effectiveness of our method.

View on arXivView PDF

Code Implementations(1)

cvlab-yonsei/STMNOfficial100%

An official implementation of "Video-based Person Re-identification with Spatial and Temporal Memory Networks" (ICCV 2021) in PyTorch.

528Python, ShellAug 20, 20215 years ago

Similar Papers

Cite this paper

@article{eom2021videobased,
  title  = {Video-based Person Re-identification with Spatial and Temporal Memory Networks},
  author = {Chanho Eom and Geon Lee and Junghyup Lee and Bumsub Ham},
  year   = {2021},
  eprint = {2108.09039},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.09039}
}

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

Discussion