Introduction
Human-Centric Perception (HCP) is a fundamental area of computer vision that seeks to understand humans in images through a variety of tasks, including detection, pose estimation, segmentation, and attribute recognition. Traditionally, these tasks have been addressed using specialized models or multi-stage pipelines—for instance, first detecting a person and then performing pose estimation on the cropped region. However, these approaches often suffer from "early commitment" issues (where a failure in detection cascades through the pipeline), high computational costs, and a lack of inter-task synergy.
To overcome these limitations, the authors propose HQNet, a unified, single-stage framework designed to perform multiple HCP tasks simultaneously using a single "Human Query" representation. By learning one query per person to encode all their attributes, the model achieves state-of-the-art multi-task performance and demonstrates remarkable generalization to unseen tasks.
Methodology: The HQNet Framework
HQNet is built upon the Transformer architecture, specifically drawing inspiration from the DETR (Detection Transformer) family. The core innovation lies in the Unified Human Query. Instead of maintaining separate queries for different tasks, HQNet learns a single query per person instance that encapsulates both global semantic information (like age and gender) and fine-grained spatial details (like pose and segmentation masks).
Key Components
- Task-Shared Decoder: The majority of the model's processing occurs within a shared decoder, which maximizes knowledge transfer across tasks. This allows the model to leverage "inter-task synergy"—for example, using pose information to refine segmentation boundaries.
- HumanQuery-Instance (HQ-Ins) Matching: During training, a bipartite matching strategy is employed that considers losses from all tasks simultaneously. This ensures that each query is optimized to represent a specific person across all dimensions of perception.
- Gender-aided human Model Selection (GaMS): For 3D mesh recovery, HQNet uses its predicted gender attribute to select the most appropriate SMPL body model (male, female, or neutral), significantly improving the accuracy of 3D reconstructions.
Datasets and Benchmarking
A significant contribution of this work is the introduction of COCO-UniHuman, a comprehensive extension of the COCO dataset. The authors added manual annotations for gender and apparent age for 273,000 person instances, along with pseudo-ground truth for 3D body meshes. This dataset provides a unified benchmark for evaluating multi-task HCP models.
The model's robustness was further tested on specialized datasets, including OCHuman for crowded scenes, PoseTrack21 for video-based tracking, and Human-Art to evaluate performance across various artistic styles like cartoons and sketches.
Key Results and Insights
HQNet achieves state-of-the-art (SOTA) results across multiple benchmarks. On the COCO-UniHuman validation set, a version using a ViT-L backbone reached 78.0 AP in detection and 75.3 AP in pose estimation.
Beyond raw performance, the experiments revealed several critical insights:
- Synergy Benefits: The experiments show that training on multiple tasks together actually improves the performance of individual tasks. For example, adding segmentation and pose tasks improved the quality of the learned queries for detection.
- The "Swiss Army" Query: The "Human Query" acts as a rich feature vector. Without specific training on video data, the model's queries could be used for Multiple Object Tracking (MOT) by serving as re-identification features to link people across frames.
- Zero-Shot Generalization: Even though it wasn't trained for it, the model could be easily fine-tuned for face detection, outperforming specialized models. This suggests the "Human Query" captures a holistic understanding of human anatomy.
Conclusion and Future Work
HQNet represents a significant step toward a unified "generalist" model for human-centric perception. By consolidating multiple tasks into a single-stage framework with a unified query, it achieves superior efficiency and performance. While challenges remain in extremely crowded environments where person instances overlap significantly, the framework's ability to generalize to unseen tasks highlights the power of learning a holistic human representation.
Future directions suggested by the authors include expanding the framework to video-based tasks like Action Recognition, integrating more granular attributes such as clothing style, and exploring even more efficient backbones for edge-device deployment.
Summary updated