Introduction
Human Pose Estimation (HPE)—the task of identifying joint locations like elbows and knees in an image—has seen a massive performance leap thanks to Transformer-based architectures. However, the best-performing models are often gargantuan, requiring hundreds of millions of parameters and massive computational power. When researchers attempt to shrink these models for edge devices like smartphones, they frequently encounter under-fitting; small Transformers are often not "deep" enough to capture intricate global relationships between body parts.
SDPose aims to break this trade-off between scale and performance by introducing a "Multi-Cycled Transformer" (MCT) that increases model depth without adding a single extra parameter to the model's storage footprint.
Methodology
The authors introduce two primary innovations to enhance lightweight models:
- Multi-Cycled Transformer (MCT) Module: Instead of adding more physical layers, the authors "loop" the data. Tokens pass through the same set of transformer layers multiple times. This increases the latent depth—the number of transformations the data undergoes—while maintaining a low parameter count.
- Circulation-Guide Self-Distillation: To maintain real-time inference speeds, SDPose uses a "teacher-student" setup within the same model. During training, the output of the final cycle (the "teacher") guides the output of the first cycle (the "student").
- Inference Efficiency: Because the first cycle is taught by later cycles during training, the model only needs to run a single pass during actual deployment. This maintains low computational cost (GFLOPs) while reaping the performance benefits of multi-cycle processing.
Key Results
SDPose achieves impressive results across major benchmarks like MSCOCO and CrowdPose, often outperforming models with significantly more parameters:
- SDPose-T: Achieves 69.7% mAP on COCO with only 4.4M parameters and 1.8 GFLOPs. This represents a 33% reduction in parameters compared to the previous baseline (TokenPose-S) while improving accuracy.
- SDPose-S-V2: Reaches 73.5% mAP, setting a new state-of-the-art for tiny neural network methods in pose estimation.
- Robustness: On the difficult CrowdPose dataset, SDPose-S-V2 achieved 64.5% AP, significantly outperforming other lightweight competitors like PPT-S (55.6% AP).
Analysis and Insights
- Attention Evolution: Visualization of the model's attention maps shows that in the first cycle, the model focuses narrowly on local features. By the second cycle, attention "expands," allowing the model to understand the global context of the body. Self-distillation forces that global wisdom back into the first cycle for efficient inference.
- Parameter Utilization: By analyzing parameter distributions, the authors found that standard small models have many weights near zero (under-utilized). SDPose's parameters exhibit higher variance, meaning the training process forces the available parameters to work harder and learn more effectively.
- Latent Depth: The research demonstrates that you don't necessarily need more physical parameters to get a deeper understanding; you can provide the existing parameters more opportunities to process information through looping.
Conclusion
SDPose successfully addresses the under-fitting problem in tiny Transformers for HPE. While the training process is more computationally expensive due to the multiple cycles and distillation losses, the resulting models offer superior accuracy at lightning-fast inference speeds. Future work may explore applying this "looping" logic to other vision tasks like object detection or semantic segmentation.
Summary updated