Pose Magic: Efficient and Temporally Consistent Human Pose Estimation with a Hybrid Mamba-GCN Network

Xinyi Zhang, Qiqi Bao, Qinpeng Cui, Wenming Yang, Qingmin Liao

Abstract

3D human pose estimation (HPE) from monocular video is a fundamental task in computer vision, traditionally dominated by Transformer-based architectures. However, these models face challenges with quadratic computational complexity and a lack of inherent skeletal structural awareness. We introduce Pose Magic, a hybrid framework that replaces the self-attention mechanism with a combination of Mamba (a Selective State Space Model) and Graph Convolutional Networks (GCNs). This "attention-free" design achieves state-of-the-art accuracy on the Human3.6M dataset (37.5mm MPJPE) while slashing computational costs by over 74% compared to previous leaders. Furthermore, Pose Magic demonstrates superior temporal consistency and generalization to unseen sequence lengths, making it a robust candidate for real-time applications.

Introduction: The Challenge of 3D Lifting

Lifting 2D video frames into 3D human poses is an inherently ill-posed problem due to depth ambiguity. While Transformers have set the benchmark for this task by modeling global dependencies, they suffer from two critical drawbacks. First, their quadratic complexity makes them computationally expensive as video length increases, hindering deployment on edge devices. Second, they often exhibit local blindness, treating joints as independent tokens and failing to naturally capture the physical constraints of the human skeleton.

Pose Magic addresses these issues by proposing a globally aware yet locally precise architecture that is efficient enough for real-world use.

The Pose Magic Architecture

The core innovation of Pose Magic is the Magic Block, which processes skeletal data through two parallel streams designed to complement each other's strengths.

Overall architecture of the Pose Magic framework, showing the hybrid Mamba-GCN Magic Block and the adaptive fusion mechanism.

1. The Mamba Stream

Leveraging State Space Models (SSMs), the Mamba stream handles long-range global dependencies. Unlike the quadratic scaling of Transformers, Mamba offers linear complexity relative to sequence length. This allows Pose Magic to process long video sequences much more efficiently. Furthermore, Mamba’s continuous-time formulation is naturally suited for modeling the "flow" of human movement, leading to higher temporal consistency.

2. The GCN Stream

The GCN stream serves as a "local enhancer." By utilizing the known topology of the human skeleton, it models spatial relationships between physically connected joints. It also employs K-Nearest Neighbors (K-NN) to capture local temporal relationships, ensuring that the predicted poses remain anatomically plausible and structurally sound.

3. Adaptive Fusion

Rather than simple summation, Pose Magic employs a learnable gating mechanism based on Softmax. This Adaptive Fusion layer allows the model to dynamically weight global features from the Mamba stream and local features from the GCN stream at each layer of the network.

Experimental Results

The model was rigorously evaluated on two benchmark datasets: Human3.6M (H3.6M) and MPI-INF-3DHP (3DHP).

Accuracy and Efficiency

Pose Magic established a new state-of-the-art on Human3.6M with an error of 37.5mm (MPJPE). Crucially, it achieved this while being significantly more efficient than its predecessors. As shown in the performance analysis, Pose Magic occupies the "efficient and accurate" quadrant of the performance-complexity trade-off.

Comparison of Pose Magic against other state-of-the-art methods in terms of accuracy (MPJPE) and efficiency (FLOPs).

Compared to the previous state-of-the-art, MotionAGFormer, Pose Magic utilizes 74.1% fewer FLOPs and fewer parameters (~14M vs. ~19M). This efficiency gain does not come at the cost of performance; rather, it enhances it.

Temporal Consistency

Beyond static accuracy, Pose Magic excels in motion quality. It significantly reduces "Velocity Error" and "Acceleration Error," metrics that quantify the jitter often seen in 3D lifting. The resulting animations are smoother and move much more realistically without the "shaking" common in other models.

Key Insights

  • Structural Anchoring: The GCN stream acts as a structural anchor, compensating for Mamba's potential to lose track of fine-grained joint constraints over long sequences.
  • Generalization: Pose Magic generalizes remarkably well to unseen sequence lengths. A model trained on 243 frames can process 486 frames with minimal accuracy loss, a task where Transformer-based models typically struggle due to fixed positional encodings.
  • Redundancy of Positional Embeddings: Interestingly, the authors found that explicit temporal positional embeddings were unnecessary. Mamba’s recurrent nature inherently handles temporal ordering, and adding embeddings actually slightly decreased performance.

Conclusion

Pose Magic represents a significant shift in 3D human pose estimation, demonstrating that "attention-free" hybrid architectures can outperform Transformers in both accuracy and efficiency. By combining the global modeling power of Mamba with the local structural awareness of GCNs, the framework provides a scalable solution for high-quality, real-time 3D motion capture.

Summary updated

BibTeX
@inproceedings{zhang2025pose,
  author = {Xinyi Zhang and Qiqi Bao and Qinpeng Cui and Wenming Yang and Qingmin Liao},
  title = {{Pose Magic: Efficient and Temporally Consistent Human Pose Estimation with a Hybrid Mamba-GCN Network}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i10.33112},
}
Figure