Robust Pedestrian Attribute Recognition Using Group Sparsity for Occlusion Videos

Geonu Lee, Kimin Yun, Jungchan ChoarXiv 2021

TL;DR

This paper introduces a group sparsity-based temporal attention mechanism to improve Pedestrian Attribute Recognition (PAR) in videos. By grouping semantically related attributes (e.g., "boots" and "shoe color") and applying group sparsity constraints, the model learns to ignore occluded frames across entire body regions, significantly outperforming state-of-the-art methods in crowded real-world scenarios.

What Problem Does This Paper Address?

Pedestrian Attribute Recognition (PAR) involves identifying traits like gender, clothing type, and accessories from surveillance footage. While video offers multiple frames to capture a person from different angles, real-world environments are often "crowded," leading to frequent occlusions by cars, buildings, or other people.

Existing video-based PAR methods use temporal attention to weigh the importance of different frames. However, they often fail in two ways:

  1. Softmax Limitations: Standard attention often uses Softmax, which forces a "winner-take-all" scenario where one frame gets high weight and others are zeroed out, making it difficult to aggregate information across multiple useful, non-occluded frames.
  2. Attribute Independence: Most models treat attributes independently. In reality, if a pedestrian's feet are hidden behind a car, both the "boots" and "shoe color" attributes are missing simultaneously. Ignoring these physical correlations leads to noisy predictions in occluded frames.

Methods

The authors propose a framework consisting of a shared feature extractor followed by a novel Sigmoid-based Temporal Attention Module (STAM) and multi-branch classifiers.

Figure 2. Overview of the network architecture of the proposed method. It consists of a feature extractor, sigmoid-based temporal attention modules, and attribute classifiers. Because the attributes of the pedestrians are closely related to each other, the attention weights for semantically adjacent attributes have similar values to each other. In other words, temporal frame attentions are not independent. To reflect this point, we formulate a group sparsity-based temporal attention module constraint.

Key Innovations:

  • STAM (Sigmoid-based Temporal Attention): Unlike Softmax, Sigmoid allows each frame's weight to be independently close to 0 or 1. This flexibility is crucial for selecting multiple high-quality frames while completely ignoring occluded ones.
  • Group Sparsity Constraint: The researchers organized attributes into five groups based on physical location: Whole Body, Head, Upper Body, Lower Body, and Feet.
Figure 1. Attribute grouping for local attention. Physically adja- cent pedestrian attributes are grouped into one group. Group 1 is for attributes related to the entirety of a pedestrian. Groups 2, 3, 4, and 5 are for attributes related to the pedestrian’s head, upper body, lower body, and feet, respectively. The network focuses on the semantic information of the pedestrian so that it can be robust against occluded pedestrians as obstacles.

By applying a group sparsity loss ($\mathcal{L}_{group}$), the model is forced to suppress the attention weights for an entire group of attributes if a specific body part is occluded in a frame. This ensures that the model only "looks" at frames where the relevant body parts are actually visible.

Datasets

The model was evaluated on two major video-based PAR benchmarks:

  • DukeMTMC-VideoReID: Contains 12 types of attribute annotations across 4,828 trajectories.
  • MARS: A larger dataset with 14 attribute types across 16,355 trajectories.

Both datasets include challenging occlusion cases caused by environmental obstacles or tracking failures.

Key Insights and Ideas

  • Physical Correlation is Key: The "aha moment" here is realizing that occlusions aren't random; they are spatially coherent. If you can't see the head, you can't see the hat. Grouping these attributes mimics the physical reality of the human body.
  • Sparsity as a Guide: Simple sparsity (L1 norm) helps select frames, but it doesn't understand why a frame is bad. Group sparsity provides the structural prior needed to handle complex occlusions.
  • Implicit Part Localization: Interestingly, the model achieves robust part-based recognition without needing explicit, computationally expensive local patch cropping. It uses "implicit attention" driven by the group constraints.

Key Results

The proposed method consistently outperformed baselines, particularly on samples containing occlusions.

  • Quantitative Performance: On the MARS dataset's occlusion samples, the method achieved an F1-score of 61.88%, a significant improvement over the 55.67% achieved by the previous state-of-the-art (Chen et al.).
  • Qualitative Robustness: Visualization of attention weights (Figure 4) shows that while baseline methods often assign similar weights to all frames, the proposed method successfully "zeros out" attention for specific attribute groups during the exact frames where those body parts are occluded.
Figure 4. Qualitative results for the DukeMTMC-VideoReID dataset. It shows the attention weights of the group attributes and the PAR results. For the groups related to the lower body, the proposed method has low attention weights in the occluded frames. However, the attention weights of the baseline method (Chen et al. [1]) are almost the same in all the frames.

Limitations and Future Work

While the results are impressive, the paper notes some areas for further exploration:

  • Manual Grouping: The attribute groups are currently predefined based on general human anatomy. Automated or learned grouping could make the system more adaptable to different datasets or camera angles.
  • Dataset Imbalance: The authors noted that occlusion samples represent a small percentage of the total data in current benchmarks. Future work might involve creating more occlusion-heavy datasets to further stress-test these models.
  • Temporal Dynamics: While the model uses temporal attention, it doesn't explicitly model the motion of occluders, which could be a promising direction for even more robust tracking and recognition.

Summary updated

BibTeX
@misc{lee2021robust,
  author = {Geonu Lee and Kimin Yun and Jungchan Cho},
  title = {{Robust Pedestrian Attribute Recognition Using Group Sparsity for Occlusion Videos}},
  year = {2021},
  eprint = {2110.08708},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.08708},
}
Figure