Abstract
Pedestrian Attribute Recognition (PAR) faces significant challenges due to severe class imbalance in sample distributions. This paper proposes a progressive iterative optimization method to address this "long-tail" problem. The framework consists of three main components: a Balanced Attributes-Data Generation Model (BA-DGM) using a Masked Autoencoder for data augmentation, an Attention Features-Data Discrimination Model (AF-DDM) for quality filtering, and a Progressive Iterations-Distillation Fusion Model (PI-DFM) to integrate knowledge across iterations. Experimental results on four major benchmarks, including RAPv2, demonstrate that this approach effectively improves recognition accuracy and eliminates class imbalance without increasing inference complexity.
Introduction
Pedestrian Attribute Recognition (PAR) is a critical task in surveillance and person re-identification, involving the identification of traits such as gender, age, and clothing. However, real-world datasets often suffer from a severe long-tail distribution. Common attributes are over-represented, while rare attributes (e.g., "carrying a baby") have very few samples, causing standard deep learning models to underperform on minority classes. In the RAPv2 dataset, for instance, over 60% of attribute categories appear in less than 10% of the images.
Methodology
The proposed framework employs a three-pronged strategy to iteratively refine both the dataset and the recognition model through a "generate-filter-train" loop.
1. Balanced Attributes-Data Generation Model (BA-DGM)
To supplement rare attribute samples, the authors utilize a Masked Autoencoder (MAE). By fine-tuning a large-scale pre-trained vision model on PAR data with attribute labels, the BA-DGM learns to reconstruct and generate realistic variations of minority-class images. This process effectively transfers general visual knowledge to the specific domain of attribute recognition.
2. Attention Features-Data Discrimination Model (AF-DDM)
To ensure the quality of generated data, a discriminator model acts as a filter. It employs a multi-label classification framework with a heuristic attention mechanism. Generated samples are only added to the training set if they meet a confidence threshold and accurately represent the target attribute features, preventing the introduction of noisy or contradictory data.
3. Progressive Iterations-Distillation Fusion Model (PI-DFM)
The system operates in a loop: data generation followed by discrimination and model retraining. This iterative process gradually balances the dataset. Finally, a knowledge distillation framework fuses models from different iterations into a single, robust fusion model, enhancing generalization without adding computational overhead during inference.
Experimental Results
The method was evaluated on PA100K, PETA, RAPv1, and RAPv2 datasets. On the highly imbalanced RAPv2 dataset, the proposed method achieved a 5.0% increase in Mean Accuracy (mA) and a 1.7% improvement in F1 score compared to previous state-of-the-art models. Notably, after three iterations, the number of unbalanced categories in RAPv2 was reduced from 34 to zero. The final model maintains efficiency, utilizing a standard ResNet50 backbone for inference while outperforming more complex architectures.
Conclusion
The progressive iterative optimization strategy offers a powerful solution to the class imbalance problem in PAR. By combining generative augmentation with discriminative filtering and distillation, the framework achieves superior performance while remaining computationally efficient. Future work will focus on handling occlusions and modeling semantic correlations between attributes to further improve robustness.
Summary updated