Dynamic Prototype Mask for Occluded Person Re-Identification

Lei Tan, Pingyang Dai, Rongrong Ji, Yongjian Wu

Person Re-Identification (ReID) has seen significant advancements in recent years, primarily driven by deep learning models that excel at matching individuals across non-overlapping camera views. However, a persistent challenge remains: occlusion. In real-world surveillance scenarios, pedestrians are frequently partially obscured by obstacles such as vehicles, trees, or other people. Standard ReID models, which typically assume a holistic view of the subject, often fail in these cases by inadvertently focusing on the occluding objects rather than the person of interest.

A recent study presented at ACM MM '22, titled "Dynamic Prototype Mask for Occluded Person Re-Identification," introduces a novel end-to-end framework designed to tackle this problem without the need for external auxiliary models like human-parsing or pose-estimation networks.

The Challenge of Occlusion and Alignment

Most existing solutions for occluded ReID rely on "assistant" models to provide spatial cues, such as body part locations or skeletal keypoints. While effective, these methods introduce several drawbacks. First, they increase computational complexity. Second, they often suffer from a domain gap; a pose estimator trained on high-quality studio images may perform poorly on low-resolution, grainy security footage.

The goal of the Dynamic Prototype Mask (DPM) framework is to achieve "automatic alignment." This means the system should autonomously identify which parts of a person are visible and match only those features against a reference, all within a single, streamlined network.

Conceptual overview of the DPM framework, illustrating how prototypes are dynamically masked to match occluded input images.

Proposed Method: Dynamic Prototype Masking

The DPM framework is built upon a Vision Transformer (ViT) backbone. The core innovation lies in how it handles the relationship between input images and class prototypes. In a typical classification layer, the weights can be viewed as "holistic prototypes"—idealized, unblocked representations of every individual in the training set.

Instead of attempting to "complete" or "hallucinate" the missing parts of an occluded image, DPM "flips the script." It dynamically masks the holistic prototype to match the visible portions of the input image. This approach is fundamentally more robust because it is easier to subtract known information from a perfect reference than to invent missing information for a corrupted input.

Hierarchical Mask Generator (HMG)

The HMG is responsible for creating the spatial mask that identifies visible body parts. A key technical insight of the paper is that deep features in Transformers tend to become "smoothed" due to the self-attention mechanism, making it difficult to distinguish fine-grained spatial boundaries. To overcome this, the HMG adopts a hierarchical approach, aggregating features from both shallow and deep layers of the network. This preserves the high-resolution detail necessary for precise masking.

Head Enrich Module (HEM)

Transformers utilize multi-head attention to capture diverse features. However, these heads often become redundant during training, focusing on the same spatial regions. The HEM addresses this by applying an orthonormal constraint to the attention heads. This forces different heads to attend to distinct spatial patterns, ensuring a diverse set of features is available for the HMG to construct an accurate mask.

The detailed architecture of the DPM framework, highlighting the integration of the Transformer backbone with the HEM and HMG components.

Experimental Results and Performance

The researchers conducted extensive evaluations on four major benchmarks: Occluded-Duke, Occluded-REID, Market-1501, and DukeMTMC-reID. The results demonstrate that DPM sets a new state-of-the-art for occluded person ReID.

On the Occluded-Duke dataset, DPM achieved a Rank-1 accuracy of 71.4%, representing a significant 6.9% improvement over the previous leading method (PAT). Similarly, on Occluded-REID, the model reached 85.5% Rank-1 accuracy, outperforming existing techniques by nearly 4%.

Crucially, the model maintains high performance on standard "holistic" datasets. It achieved 95.5% Rank-1 on Market-1501, proving that the dynamic masking mechanism does not degrade performance when occlusion is absent. This makes DPM a versatile "universal" framework suitable for a wide range of real-world applications.

Conclusion and Future Directions

The Dynamic Prototype Mask framework offers a powerful, self-contained solution for the occluded ReID problem. By leveraging the inherent knowledge stored in classification prototypes and enforcing feature diversity through the HEM, it achieves superior alignment without external dependencies.

Future research could explore the sensitivity of the model's hyperparameters and its performance limits under extreme occlusion. Additionally, the principles of dynamic prototype masking could be extended to other domains, such as vehicle re-identification, where similar challenges of partial visibility are prevalent.

Summary updated

BibTeX
@inproceedings{tan2022dynamic,
  author = {Lei Tan and Pingyang Dai and Rongrong Ji and Yongjian Wu},
  title = {{Dynamic Prototype Mask for Occluded Person Re-Identification}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547764},
}
Figure