VIMCAN: Visual-Inertial 3D Human Pose Estimation with Hybrid Mamba-Cross-Attention Network

Zepeng Yang, Junxuan Bai, Hao Li, Ju Dai, Junjun Pan, Yongfeng Yin, Bin Li

TL;DR

VIMCAN introduces a hybrid architecture that pairs the linear-time efficiency of Mamba with the spatial precision of Cross-Attention for visual-inertial 3D human pose estimation. It achieves state-of-the-art accuracy while slashing peak memory usage by over 70% compared to Transformer-based models, enabling real-time performance on consumer-grade hardware.

What Problem Does This Paper Address?

Estimating 3D human poses from standard 2D monocular video is an inherently ill-posed problem due to depth ambiguity—it is hard for a camera to tell exactly how far away a joint is along the line of sight. Fusing video with wearable Inertial Measurement Units (IMUs) helps resolve this ambiguity, but combining these two different streams of data effectively is computationally expensive.

State-of-the-art methods rely heavily on Transformers to model these relationships. However, the Attention mechanism scales quadratically ($O(L^2)$) with sequence length $L$. This creates a massive computational and memory bottleneck, making real-time processing of long video sequences impractical for resource-constrained edge devices. While newer State Space Models (SSMs) like Mamba offer linear complexity ($O(L)$), they struggle to capture the complex, fine-grained spatial dependencies required to align different sensor modalities.

Methods

The authors propose VIMCAN (Visual-Inertial Mamba-Cross-Attention Network), a hybrid architecture designed to get the best of both worlds: Mamba's temporal efficiency and Attention's spatial reasoning.

The pipeline consists of three main stages:

  1. Feature Extraction: Visual 2D keypoints and IMU quaternions are processed independently using Spatio-Temporal Mamba (STMamba) modules. To embed structural knowledge, the visual branch uses a skeleton-aware scan that reorders joints based on parent-child kinematic relationships. The IMU branch uses a part-aware scan, grouping sensors into five anatomical regions (torso, arms, legs).
  2. Multimodal Feature Fusion: Instead of using Mamba for fusion, VIMCAN implements a Multi-Head Cross-Attention (MHCA) layer. Visual features act as queries, while IMU features act as keys and values. This allows the network to map the high-frequency dynamics of the IMUs directly onto the corresponding visual joints.
  3. Pose Regression: A final stack of skeleton-aware STMamba layers performs global modeling before a linear layer regresses the final root-relative 3D coordinates.
Figure 2. The framework of VIMCAN.

Additionally, the authors employ a variable-length training strategy, randomly sampling sequence lengths during training so the model can natively handle arbitrary sequence lengths during inference without needing padding or masking.

Datasets

The model was evaluated on two prominent 3D human pose estimation benchmarks:

  • TotalCapture: A large-scale dataset featuring 1.9 million frames of synchronized multi-view video, data from 13 body-worn IMUs, and high-accuracy Vicon ground-truth annotations.
  • 3DPW (3D Poses in the Wild): A challenging outdoor dataset. Because direct IMU data is not natively available in 3DPW, the authors generated synthetic IMU readings from the dataset's SMPL 3D mesh parameters to test the model's generalization capability.

Key Insights and Ideas

  • Mamba Needs a Spatial Helper: While Mamba is incredibly efficient at compressing historical context over time, pure Mamba architectures fall short in fine-grained cross-modal spatial alignment. Reintroducing Cross-Attention specifically for the fusion step bridges this gap without reintroducing the massive $O(L^2)$ temporal bottleneck.
  • Anatomical Grouping is Crucial: Fusing ungrouped, flat sequences of sensor data leads to severe accuracy degradation. Grouping keypoints and IMUs by body parts before cross-attention forces the model to learn localized, physically meaningful correlations.
  • Kinematic Priors Boost Scan Efficiency: Simply feeding joint coordinates into an SSM isn't enough. Reordering the spatial scanning path of the Mamba block to follow the natural hierarchy of the human skeleton yields a massive boost in structural awareness.

Key Results

  • Superior Accuracy: VIMCAN achieves a Mean Per-Joint Position Error (MPJPE) of 17.2 mm on TotalCapture (using ground-truth 2D keypoints) and 45.3 mm on 3DPW, outperforming prior Transformer-, TCN-, and RNN-based architectures.
  • Drastic Memory Reduction: As sequence lengths scale, VIMCAN avoids the memory explosion typical of Transformers. It requires only 29% of the peak memory footprint of a leading GCN-Transformer baseline.
Figure 1. The comparison of peak memory usage during infer- ence for a GCN-Transformer-based model [29] and the proposed VIMCAN. The peak memory usage at different lengths of input sequence. The x-axis denotes sequence length, and the y-axis rep- resents peak memory usage (lower is better, in MB). The circles in- dicate the GCN-Transformer-based model, while the stars denote VIMCAN. The size of Symbol reflects the memory I/O through- put, illustrating computational efficiency during on-device infer- ence.
  • True Real-Time Performance: On a consumer-grade laptop GPU (NVIDIA RTX 4060), the base model runs at 61.4 FPS, while a "Tiny" variant reaches 71.1 FPS, making it highly practical for real-world deployment in motion capture and VR.

Limitations and Future Work

The primary limitation of VIMCAN is its reliance on strict sensor calibration. The system currently requires a standardized T-pose calibration phase to align the coordinate frames of the wearable IMUs with the camera frame. If a sensor shifts during vigorous movement, accuracy can degrade. The authors note that future work will explore adaptive, online alignment techniques to eliminate this calibration constraint and enhance real-world robustness.

Summary updated

BibTeX
@inproceedings{yang2026vimcan,
  author = {Zepeng Yang and Junxuan Bai and Hao Li and Ju Dai and Junjun Pan and Yongfeng Yin and Bin Li},
  title = {{VIMCAN: Visual-Inertial 3D Human Pose Estimation with Hybrid Mamba-Cross-Attention Network}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=2K9YSZX1UP},
}
Figure