Feature Erasing and Diffusion Network for Occluded Person Re-Identification

Zhikang Wang, Feng Zhu, Shixiang Tang, Rui Zhao, Lihuo He, Jiangning SongCVPR 2021

Abstract

Occluded person re-identification (ReID) aims at matching occluded person images to holistic ones across different camera views. Target Pedestrians (TP) are usually disturbed by Non-Pedestrian Occlusions (NPO) and Non-Target Pedestrians (NTP). Previous methods mainly focus on increasing model's robustness against NPO while ignoring feature contamination from NTP. In this paper, we propose a novel Feature Erasing and Diffusion Network (FED) to simultaneously handle NPO and NTP. Specifically, NPO features are eliminated by our proposed Occlusion Erasing Module (OEM), aided by the NPO augmentation strategy which simulates NPO on holistic pedestrian images and generates precise occlusion masks. Subsequently, we diffuse the pedestrian representations with other memorized features to synthesize NTP characteristics in the feature space which is achieved by a novel Feature Diffusion Module (FDM) through a learnable cross attention mechanism. With the guidance of the occlusion scores from OEM, the feature diffusion process is mainly conducted on visible body parts, which guarantees the quality of the synthesized NTP characteristics. By jointly optimizing OEM and FDM in our proposed FED network, we can greatly improve the model's perception ability towards TP and alleviate the influence of NPO and NTP. Furthermore, the proposed FDM only works as an auxiliary module for training and will be discarded in the inference phase, thus introducing little inference computational overhead. Experiments on occluded and holistic person ReID benchmarks demonstrate the superiority of FED over state-of-the-arts, where FED achieves 86.3% Rank-1 accuracy on Occluded-REID, surpassing others by at least 4.7%.

Addressing the Occlusion Challenge

Person Re-Identification (ReID) is the task of matching a specific individual across different camera views. While standard ReID has seen massive progress, Occluded ReID remains a major challenge. The authors identify two distinct types of interference that degrade performance: static objects and other people.

Illustration of Holistic, Non-Pedestrian Occlusion (NPO), and Non-Target Pedestrian (NTP) scenarios.
  1. Non-Pedestrian Occlusions (NPO): Static objects like trees, signs, or luggage.
  2. Non-Target Pedestrians (NTP): Other people walking in front of or near the target.

Existing solutions often rely on auxiliary models, such as pose estimators or human parsers, to identify human pixels. However, these models are computationally expensive and often fail in crowded scenes. The Feature Erasing and Diffusion Network (FED) aims to solve this without requiring extra models during the inference phase.

The FED Framework

The FED framework introduces three innovative components built on top of a Vision Transformer (ViT) backbone:

Occlusion Erasing Module (OEM)

The researchers developed a strategy to simulate occlusions by pasting random object patches onto training images. Because the locations of these patches are known, the system generates precise occlusion masks. The OEM learns to predict these masks and uses them to suppress or "erase" the features of obstructing objects.

Feature Diffusion Module (FDM)

Handling other people (NTP) is more complex because they share semantic similarities with the target. Instead of pasting images of people, the authors propose "diffusing" features in the latent space. By maintaining a Memory Bank of features from various identities, the FDM pulls "distractor" features and mixes them into the target's features during training. This forces the model to distinguish between unique target features and generic "person noise."

Efficient Inference

Crucially, the FDM is an auxiliary module used only during training. It is discarded during the inference phase, ensuring the final system remains fast and lightweight for real-world deployment compared to methods requiring real-time pose estimation.

Experimental Results

The authors evaluated FED on several major benchmarks, including Occluded-DukeMTMC, Occluded-REID, and Partial-REID. FED achieved state-of-the-art (SOTA) performance across all occluded benchmarks:

  • Occluded-DukeMTMC: Reached 68.1% Rank-1 accuracy and 56.4% mAP, outperforming the previous best method (PAT) by 3.6% and 2.8% respectively.
  • Occluded-REID: Achieved 86.3% Rank-1, a significant improvement over previous methods like HOReID (80.3%).

On holistic datasets like Market-1501, FED maintained performance comparable to models specifically designed for un-occluded images, demonstrating its versatility across different environments.

Conclusion

The FED framework effectively addresses the dual challenges of object-based and person-based occlusions in ReID. By simulating these interferences during training through erasing and diffusion techniques, FED improves the model's perception of target pedestrians without increasing computational overhead during deployment.

Summary updated

BibTeX
@inproceedings{wang2021feature,
  author = {Zhikang Wang and Feng Zhu and Shixiang Tang and Rui Zhao and Lihuo He and Jiangning Song},
  title = {{Feature Erasing and Diffusion Network for Occluded Person Re-Identification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=HqFuHI1Ngj},
}
Figure