Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Prototype Mask for Occluded Person Re-Identification

Lei Tan, Pingyang Dai|arXiv (Cornell University)|Jul 19, 2022
Video Surveillance and Tracking MethodsComputer Science6 citations
TL;DR

This paper proposes Dynamic Prototype Mask (DPM), a novel end-to-end framework for occluded person re-identification that eliminates reliance on extra pre-trained networks by learning a dynamic mask to select visible feature subspaces from a high-quality holistic prototype. By integrating a Hierarchical Mask Generator and Head Enrich Module, DPM enables automatic, prototype-driven feature alignment and achieves state-of-the-art performance on occluded ReID benchmarks, with 71.0% rank-1 accuracy and 61.0% mAP on Occluded-Duke.

ABSTRACT

Although person re-identification has achieved an impressive improvement in recent years, the common occlusion case caused by different obstacles is still an unsettled issue in real application scenarios. Existing methods mainly address this issue by employing body clues provided by an extra network to distinguish the visible part. Nevertheless, the inevitable domain gap between the assistant model and the ReID datasets has highly increased the difficulty to obtain an effective and efficient model. To escape from the extra pre-trained networks and achieve an automatic alignment in an end-to-end trainable network, we propose a novel Dynamic Prototype Mask (DPM) based on two self-evident prior knowledge. Specifically, we first devise a Hierarchical Mask Generator which utilizes the hierarchical semantic to select the visible pattern space between the high-quality holistic prototype and the feature representation of the occluded input image. Under this condition, the occluded representation could be well aligned in a selected subspace spontaneously. Then, to enrich the feature representation of the high-quality holistic prototype and provide a more complete feature space, we introduce a Head Enrich Module to encourage different heads to aggregate different patterns representation in the whole image. Extensive experimental evaluations conducted on occluded and holistic person re-identification benchmarks demonstrate the superior performance of the DPM over the state-of-the-art methods. The code is released at https://github.com/stone96123/DPM.

Motivation & Objective

  • To address the persistent challenge of occluded person re-identification in real-world surveillance, where obstacles obscure discriminative body parts.
  • To eliminate dependency on extra pre-trained networks (e.g., for keypoint or parsing) that introduce domain gaps and error propagation.
  • To enable automatic, end-to-end trainable feature alignment by transforming occlusion alignment into a dynamic subspace selection task.
  • To enhance prototype representation by encouraging diverse attention patterns across multiple transformer heads through a Head Enrich Module.

Proposed method

  • Proposes a Hierarchical Mask Generator (HMG) that uses hierarchical semantic features to dynamically select visible pattern subspaces from a high-quality holistic prototype, enabling automatic alignment of occluded features.
  • Introduces a Head Enrich Module (HEM) that explicitly encourages different attention heads in a transformer to attend to distinct spatial patterns, reducing attention correlation and enriching feature representation.
  • Applies a prototype mask to the holistic prototype matrix before L2 normalization, ensuring that only relevant visible components are used in the final classification.
  • Employs a multi-component loss function with hyperparameters α and β to balance prototype learning, mask learning, and attention diversity.
  • Uses a dynamic mask mechanism that adapts per-sample based on the visible content, avoiding fixed or pre-defined attention maps.
  • Trains the entire network end-to-end, allowing joint optimization of prototype learning, mask generation, and feature representation.

Experimental results

Research questions

  • RQ1Can we eliminate the need for extra pre-trained networks in occluded person re-identification while maintaining or improving performance?
  • RQ2How can we achieve automatic, end-to-end feature alignment in occluded ReID without relying on human-designed body part supervision?
  • RQ3Can we improve prototype representation by encouraging diversity in attention patterns across multiple transformer heads?
  • RQ4What is the optimal configuration of hyperparameters α and β that balance prototype learning, mask learning, and attention diversity?
  • RQ5Does applying the mask to the prototype before or after L2 normalization yield better performance?

Key findings

  • The proposed DPM achieves 71.0% rank-1 accuracy and 61.0% mAP on the Occluded-Duke dataset, outperforming state-of-the-art methods.
  • The optimal hyperparameter α for balancing prototype and mask learning is 0.5, beyond which performance degrades due to overemphasis on mask learning.
  • The optimal hyperparameter β for attention diversity is 0.10, which maximizes mAP while maintaining strong rank-1 accuracy.
  • Applying the mask to the prototype before L2 normalization yields better performance than applying it after normalization.
  • The Head Enrich Module significantly reduces attention correlation between heads, as shown by a drop in cross-correlation matrix values, confirming improved pattern diversity.
  • The DPM framework achieves superior performance without using any extra pre-trained networks, demonstrating robustness and generalization in real-world occluded ReID scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.