Lightweight Human Pose Estimation Algorithm Based on Polarized Self-Attention

Shengjie Liu, Ning He, Cheng Wang, Haigang Yu, Wenjing Han

Abstract

Human pose estimation (HPE) is a critical component in fields ranging from augmented reality to video surveillance. However, mainstream models often suffer from high parameter counts and computational complexity, limiting their use on edge devices. This paper introduces LPNet (Lightweight Polarized Network), a novel architecture designed to address these challenges. By integrating Ghost convolutions, a polarized self-attention (PSA) mechanism, and a refined coordinate decoding method, LPNet achieves state-of-the-art performance with significantly reduced overhead. Evaluated on the COCO and MPII datasets, the proposed method demonstrates that it is possible to maintain high accuracy while slashing model size by approximately 75% compared to traditional high-resolution networks.

Introduction

Identifying human joint coordinates—such as elbows, knees, and wrists—is the core task of Human Pose Estimation. While models like HRNet have set benchmarks for accuracy by maintaining high-resolution feature maps throughout the network, they are often too computationally expensive for real-time applications on mobile or embedded hardware. The primary bottleneck is the massive memory and GPU requirement for processing these high-fidelity maps.

LPNet addresses this by rethinking the efficiency of feature extraction and the precision of keypoint regression. The goal is to create a model that retains the "vision" necessary for subtle joint detection while operating within the constraints of resource-limited devices.

The LPNet Architecture

The foundation of LPNet is a multi-resolution framework that avoids the information loss typically associated with aggressive downsampling.

Figure 1: The overall architecture of the Lightweight Polarized Network (LPNet).

As shown in the architecture diagram, the model utilizes a "Stem" followed by parallel branches at different resolutions (1/4, 1/8, and 1/16). This structure allows the network to capture both local details and global context simultaneously. To make this structure lightweight, the authors replaced standard convolutions with Ghost Modules. These modules recognize that many feature maps are redundant; instead of calculating every map via expensive convolutions, Ghost Modules generate a small set of intrinsic maps and then use cheap linear transformations to produce "ghost" maps, drastically reducing the parameter count.

Polarized Self-Attention and Ghost Modules

To compensate for the potential loss of representational power caused by reducing parameters, LPNet incorporates a Polarized Self-Attention (PSA) mechanism.

Figure 2: Detailed view of the lightweight module incorporating strided convolutions and identity mapping.

Inspired by optical polarization, the PSA module collapses one dimension (such as channel depth) while maintaining high fidelity in the spatial dimension. This allows the model to focus on the most relevant parts of an image—like a specific joint—without the exponential memory growth seen in standard self-attention layers. The module design, illustrated above, uses strided convolutions and identity maps to ensure that feature richness is preserved even as the channel count is managed efficiently.

Furthermore, the authors introduced a new Coordinate Decoding method. Traditional models often predict low-resolution heatmaps, and converting these back to $(x, y)$ coordinates can introduce quantization errors. LPNet utilizes a decoding method based on Taylor series expansion to mathematically estimate the true peak of the joint location, providing higher precision than standard argmax or simple offset methods.

Experimental Results

The model was rigorously tested on two industry-standard benchmarks: the MPII Human Pose Dataset and COCO (Common Objects in Context).

  • MPII Performance: LPNet achieved a mean accuracy of 90.6% using only 7.5 million parameters. In contrast, the baseline HRNet-W32 requires 28.5 million parameters to achieve a comparable 90.1%.
  • COCO Efficiency: On the COCO val2017 set, LPNet reached an Average Precision (AP) of 74.0. This nearly matches the 74.4 AP of the much larger HRNet, but with roughly one-quarter of the computational cost (GFLOPs).
  • Robustness: Qualitative analysis indicates that LPNet is particularly resilient to occlusions, accurately estimating joint positions even when parts of the body are hidden by other objects.

Conclusion

LPNet demonstrates that "math over muscle" is a viable path for computer vision. By leveraging the redundancy in feature maps through Ghost Modules and applying high-resolution attention via PSA, the researchers have created a model that punches well above its weight class. Future work will focus on hardware-specific optimizations for ARM chips and NPUs to translate these theoretical GFLOP savings into real-world frames-per-second gains for mobile deployment.

Summary updated

BibTeX
@inproceedings{liu2022lightweight,
  author = {Shengjie Liu and Ning He and Cheng Wang and Haigang Yu and Wenjing Han},
  title = {{Lightweight Human Pose Estimation Algorithm Based on Polarized Self-Attention}},
  booktitle = {Research},
  year = {2022},
  doi = {10.21203/rs.3.rs-1599154/v1},
}
Figure