Video Person Re-ID: Fantastic Techniques and Where to Find Them

Priyank Pathak, Amir Erfan Eshratifar, Michael Gormish

Abstract

Video-based person re-identification (Re-ID) involves recognizing the same individual across non-overlapping camera views using sequences of frames. Unlike image-based Re-ID, video sequences provide temporal information but also introduce noise such as blurriness, viewpoint changes, and frequent occlusions. This paper proposes a high-performance framework that combines a "bag-of-tricks" (B-BOT) from image-based Re-ID with a novel hybrid loss function—Attention and Center Loss (CL)—to effectively filter noisy frames and focus on informative features.

Introduction

Person Re-Identification (Re-ID) is a critical task in surveillance, requiring models to identify individuals across different cameras. While video provides more data than single images, real-world sequences are often corrupted by noise. The authors set out to create a model that intelligently ignores low-quality or obstructed frames, focusing instead on the most informative temporal features to surpass previous performance records on the MARS and PRID 2011 datasets.

Methodology

The proposed architecture builds upon a ResNet-50 backbone, modified with a stride of 1 in the last layer to preserve spatial resolution. The core of the system is a Base Temporal Attention module that aggregates frame-level features into a single video-level representation.

Overview of the proposed architecture, including the temporal attention mechanism and the hybrid loss functions.

Key components of the methodology include:

  1. Bag-of-Tricks (B-BOT): The researchers adopted several optimizations originally designed for image-based Re-ID, including Random Erasing (simulating occlusion), Label Smoothing (preventing overconfidence), and Batch Normalization before the final classification layer.
  2. Attention and CL Loss: This novel hybrid loss modifies Online Soft Mining (OSM) by using "center vectors" from Center Loss as stable class representatives. If a frame's features deviate significantly from these centers, it is treated as noise.
  3. Attention Penalization: To handle occlusions, the model is explicitly penalized if it assigns high attention scores to frames containing randomly erased patches, forcing the network to seek identity-defining features in unobstructed areas.

Key Results

The model was evaluated on the MARS (1,251 identities) and PRID 2011 (178 identities) benchmarks. The proposed B-BOT + Attention and CL loss model achieved impressive results, outperforming previous state-of-the-art (SOTA) methods.

Performance comparison and ablation study on the MARS dataset, showing the impact of the proposed techniques.

As shown in the ablation study above, the transition from the baseline to the B-BOT configuration provided a massive performance jump (from 76.7% to 81.3% mAP on MARS). The addition of the custom Attention and CL loss provided the final push to reach a Mean Average Precision (mAP) of 82.9% and a Rank-1 accuracy of 88.6%. On the PRID 2011 dataset, pre-training on MARS allowed the model to achieve a Rank-1 accuracy of 96.6% and a perfect 100% at Rank-5.

Conclusion

The study demonstrates that significant gains in video Re-ID can be achieved by refining existing "tricks" and implementing active noise suppression mechanisms. By using center vectors as stable targets and penalizing attention on occluded regions, the model effectively navigates the challenges of real-world surveillance video. Future work will explore the generalizability of these techniques across broader datasets and related fields like facial re-identification.

Summary updated

BibTeX
@inproceedings{pathak2020video,
  author = {Priyank Pathak and Amir Erfan Eshratifar and Michael Gormish},
  title = {{Video Person Re-ID: Fantastic Techniques and Where to Find Them}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i10.7219},
}
Figure