Attention Disturbance and Dual-Path Constraint Network for Occluded Person Re-Identification

Jiaer Xia, Lei Tan, Pingyang Dai, Mingbo Zhao, Yongjian Wu, Rongrong Ji · DOI

TL;DR

This paper introduces a novel Attention Disturbance and Dual-Path Constraint Network (ADP) to improve person re-identification (Re-ID) in the presence of occlusions. By simulating realistic occlusions with an Attention Disturbance Mask (ADM) and leveraging both occluded and holistic images through a Dual-Path Constraint Module (DPC), ADP significantly enhances the robustness and generalization of transformer-based Re-ID models.

What Problem Does This Paper Address?

Person re-identification (Re-ID) is the task of matching pedestrian images across different camera views. A major challenge in real-world Re-ID systems is the presence of occlusions, where parts of a person are hidden by objects or other people. Existing methods often struggle with occlusions because they can lead to missing or distorted features, making it difficult to accurately identify individuals. While some approaches use artificial occlusions for training, these often don't accurately reflect real-world scenarios, leading to a performance drop when deployed. This paper tackles this gap by proposing a method that generates more realistic occlusions during training and effectively utilizes both occluded and unoccluded information to improve Re-ID performance.

Methods

The proposed ADP network builds upon a Vision Transformer (ViT) backbone. Its core innovations are:

  • Attention Disturbance Mask (ADM): This module generates a more realistic form of artificial occlusion. Instead of simply masking out regions or using background patches, ADM creates "offensive noise" that distracts the attention mechanism, mimicking how real-world occlusions interfere with visual focus. This is achieved by dynamically updating a mask based on the attention weights within the transformer blocks, aiming to maximize the similarity between the class token and the occluded regions.
  • Dual-Path Constraint Module (DPC): This module processes both the original (holistic) and the artificially occluded images simultaneously. It uses a shared transformer backbone but employs separate classifiers for each path. The DPC then leverages the holistic image features as an additional supervisor to guide the attention mechanism towards the target pedestrian, even when parts are occluded. It incorporates identity loss, metric loss, and an interaction loss to ensure robust feature learning and alignment between the two paths.

Crucially, both ADM and DPC are training-time augmentation strategies and can be discarded during inference, making the method easily integrable with existing Re-ID frameworks.

Datasets

The authors evaluated their method on several publicly available datasets:

  • Occluded-Duke: A large-scale dataset specifically designed for occluded person Re-ID.
  • Occluded-REID: Another dataset for occluded person Re-ID, captured using mobile cameras.
  • Market-1501: A widely-used holistic (unoccluded) Re-ID dataset.
  • DukeMTMC-reID: Another popular holistic Re-ID dataset.

Key Insights and Ideas

  • Realistic Occlusion Simulation is Key: The paper strongly argues that the discrepancy between artificial and real-world occlusions is a major bottleneck. ADM's approach of "disturbing" attention, rather than just masking, is a more effective way to simulate the impact of real occlusions.
  • Leveraging Both Holistic and Occluded Views: The DPC module highlights the benefit of using both the original, unoccluded image and its occluded counterpart during training. This dual-path approach allows the model to learn from complete identity information while simultaneously becoming robust to occlusions.
  • Transformer Architecture's Suitability: The paper demonstrates that transformer-based architectures, with their inherent attention mechanisms, are well-suited for person Re-ID, and that ADP further enhances their ability to handle occlusions.
  • Compatibility and Simplicity: The fact that ADM and DPC are training-time modules that can be removed for inference is a significant practical advantage, allowing for easy integration with existing SOTA models.

Key Results

The ADP method achieved state-of-the-art (SOTA) performance on several benchmarks:

  • On Occluded-Duke, the proposed ADP achieved a Rank-1 accuracy of 72.2% and an mAP of 60.6%. With a modified sliding-window setting (ADP*), performance further improved to 74.5% Rank-1 and 63.8% mAP, outperforming previous SOTA methods like DPM by a significant margin.
  • On Occluded-REID, ADP also showed superior performance.
  • When tested on holistic datasets (Market-1501 and DukeMTMC-reID), ADP still achieved comparable or improved performance compared to existing methods, demonstrating its generalization capabilities.
  • Ablation studies confirmed the effectiveness of both ADM and DPC modules individually and in combination. ADM alone improved performance by +6.5% Rank-1 over the baseline, and DPC further boosted it to 72.2% Rank-1.

Limitations and Future Work

  • Computational Cost: While the method is efficient at inference, the training process with ADM and DPC might incur higher computational costs due to the generation of occluded images and the dual-path processing.
  • Generalization to Extreme Occlusions: While the method shows significant improvements, extremely severe or complex occlusions might still pose challenges.
  • Future Work: The authors suggest that the DPC module's ability to leverage information from different data types (holistic vs. occluded) could be extended to other domains or tasks where similar data pairings are available. The compatibility of ADP with other existing models also opens avenues for further research by combining it with other advanced Re-ID techniques.

Summary updated

Abstract

Occluded person re-identification (Re-ID) aims to address the potential occlusion problem when matching occluded or holistic pedestrians from different camera views. Many methods use the background as artificial occlusion and rely on attention networks to exclude noisy interference. However, the significant discrepancy between simple background occlusion and realistic occlusion can negatively impact the generalization of the network.To address this issue, we propose a novel transformer-based Attention Disturbance and Dual-Path Constraint Network (ADP) to enhance the generalization of attention networks. Firstly, to imitate real-world obstacles, we introduce an Attention Disturbance Mask (ADM) module that generates an offensive noise, which can distract attention like a realistic occluder, as a more complex form of occlusion.Secondly, to fully exploit these complex occluded images, we develop a Dual-Path Constraint Module (DPC) that can obtain preferable supervision information from holistic images through dual-path interaction. With our proposed method, the network can effectively circumvent a wide variety of occlusions using the basic ViT baseline. Comprehensive experimental evaluations conducted on person re-ID benchmarks demonstrate the superiority of ADP over state-of-the-art methods.
BibTeX
@inproceedings{xia2024attention,
  author = {Jiaer Xia and Lei Tan and Pingyang Dai and Mingbo Zhao and Yongjian Wu and Rongrong Ji},
  title = {{Attention Disturbance and Dual-Path Constraint Network for Occluded Person Re-Identification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i6.28437},
}
Figure