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 · DOI

Introduction

Monocular 3D Human Pose Estimation (HPE)—the process of lifting 2D video coordinates of human joints into 3D space—is a foundational technology for action recognition, virtual reality, and augmented reality. Currently, the field is dominated by Transformer-based architectures. While Transformers excel at capturing long-range dependencies in video, they face two significant challenges: quadratic computational complexity relative to sequence length and a tendency to overlook local skeletal relationships, such as the mechanical link between an elbow and a wrist.

Pose Magic introduces a novel framework designed to break this "accuracy vs. efficiency" dilemma. By replacing heavy Transformers with a hybrid Mamba-GCN network, the model achieves state-of-the-art accuracy while reducing computational costs (FLOPs) by over 74%.

Methodology

The core innovation of Pose Magic is the Magic Block, a dual-stream architecture that processes data through two parallel paths to capture both global context and local structural details.

The Pose Magic architecture featuring the Magic Block with parallel Mamba and GCN streams.

The Magic Block Components

  • The Mamba Stream: This stream handles global modeling using State Space Models (SSMs). It utilizes spatial Mamba blocks to understand the full body within a single frame and temporal Mamba blocks to track motion over long durations. Mamba’s continuous-time formulation naturally promotes temporal smoothness.
  • The GCN Stream: Acting as a "local enhancer," this stream uses Graph Convolutional Networks to explicitly model the physical connections of the human skeleton. In the temporal domain, it employs a K-Nearest Neighbors (K-NN) approach to focus on joints in adjacent frames that exhibit similar motion patterns.
  • Adaptive Fusion: A learnable gating mechanism dynamically decides the weight given to the global view (Mamba) versus the local view (GCN) for each joint, ensuring optimal feature integration.

The framework supports two configurations: a Bidirectional version for high-accuracy offline processing and a Unidirectional (Causal) version optimized for real-time applications where future frames are unavailable.

Experiments and Results

The model was evaluated on two primary benchmarks: Human3.6M (H3.6M), a large-scale indoor dataset, and MPI-INF-3DHP (3DHP), which includes challenging outdoor sequences.

Comparison of MPJPE (accuracy) vs. FLOPs (efficiency) showing Pose Magic outperforming existing Transformer-based models.

Key Performance Metrics

  • State-of-the-Art Accuracy: On Human3.6M, Pose Magic achieved a Mean Per Joint Position Error (MPJPE) of 37.5mm, surpassing previous Transformer-based leaders.
  • Efficiency Gains: Compared to the previous state-of-the-art (MotionAGFormer), Pose Magic reduced FLOPs by 74.1% and decreased the parameter count by 4.58M.
  • Temporal Consistency: Mamba-based modeling resulted in significantly smoother 3D motions with lower "acceleration error" compared to jittery Transformer outputs.
  • Robust Generalization: The model demonstrated remarkable stability when processing sequences longer than those seen during training (e.g., 486 frames vs. 243 frames), a common failure point for Transformers.

Discussion and Future Work

Pose Magic demonstrates that linear-scaling State Space Models, when paired with local structural priors like GCNs, can outperform quadratic-scaling Transformers in both speed and precision. However, as the first application of Mamba to the 3D lifting task, several avenues for future research remain. The current integration of GCN and Mamba is straightforward; more complex hybrid architectures may yield further improvements. Additionally, the model's performance remains dependent on the quality of the initial 2D pose detection, and future iterations could expand the framework to handle multi-person scenarios in crowded environments.

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