Abstract
Pedestrian Attribute Recognition (PAR) is a foundational task for smart surveillance and person re-identification, yet it remains challenging due to the semantic gap between visual features and textual attributes. This paper presents KGPAR, a novel framework that bridges this gap using a multi-modal knowledge graph and hierarchical hypergraphs. By modeling high-order relationships across local body regions and global image contexts, KGPAR captures complex multi-way interactions that traditional pairwise models overlook. Experimental results across five major benchmarks—PETA, PA100K, RAPv1, RAPv2, and MSP60K—demonstrate that KGPAR achieves state-of-the-art performance, highlighting the efficacy of integrating structured knowledge priors into deep learning architectures.
Introduction
Pedestrian Attribute Recognition (PAR) involves identifying traits such as "wearing a backpack" or "blue jeans" from images. Despite its importance in autonomous driving and security, current models struggle with two primary issues: the semantic gap and high-order relationships. Standard models often treat PAR as a direct mapping from pixels to labels, ignoring the inherent correlations between attributes (e.g., "skirt" and "female"). Furthermore, existing fusion methods typically fail to capture the complex interactions between various local visual patches and their corresponding textual descriptions.
Methodology
The proposed KGPAR (Knowledge Graph-guided Pedestrian Attribute Recognition) framework introduces three key innovations to address these challenges.
Multi-Modal Pedestrian Attribute Knowledge Graph (M2PA-KG)
The authors constructed the first large-scale multi-modal knowledge graph for PAR. This graph treats human body parts and attributes as nodes, with edges defined by attribute co-occurrence. It incorporates language captions and visual context samples to provide the model with "common sense" structural knowledge.
Hierarchical Cross-Modal HyperGraph Learning
Unlike standard graphs that connect pairs of nodes, hypergraphs use "hyperedges" to connect multiple nodes simultaneously, capturing higher-order dependencies.
- Local HyperGraph: This component divides the pedestrian image into semantic regions (head, upper body, lower body, feet) and builds hyperedges between visual and textual tokens within these regions.
- Global HyperGraph: This captures relationships across the entire image collection, aligning global visual features with attribute texts.
UniGNN and Transformer Fusion
The hypergraphs are processed using a Universal Graph Neural Network (UniGNN) to encode high-order relationships. These features are then integrated with raw visual features via a multi-modal Transformer (Fusion Former) for final attribute prediction.
Key Insights
A primary takeaway is that hypergraphs outperform standard graphs in PAR because attributes are inherently contextual. For instance, a "backpack" is not just related to the "back"; it involves "straps," the "upper body," and "carrying" actions. Hypergraphs naturally model these multi-node dependencies. Additionally, the use of regional partitioning allows the model to focus on fine-grained details, such as sleeve length, which might be lost in a global analysis.
Experimental Results
KGPAR was evaluated on five benchmark datasets: PETA, PA100K, RAPv1, RAPv2, and MSP60K. The model demonstrated superior performance across all key metrics:
- PA100K: Achieved 87.95% mA and 90.28% F1, outperforming established models like PARformer and FRDL.
- PETA: Reached a balanced 89.43% F1-score.
Ablation studies confirmed that both Local and Global HyperGraph components are essential; removing either led to a significant performance drop. Visualizations using Grad-CAM further showed that the model accurately attends to the correct body regions for specific attributes (e.g., focusing on the feet for "boots").
Conclusion
KGPAR successfully leverages structured knowledge and hypergraph learning to advance the state-of-the-art in PAR. While the current model uses rigid horizontal partitioning, future work may explore adaptive partitioning to handle unusual poses. Additionally, developing lightweight hypergraph variants could facilitate real-time deployment in large-scale surveillance systems.
Summary updated