GravHMR: Coupling SLAM and Human Mesh Recovery in a Shared Gravity Frame

Hanglei Jin, Chenglu Sun, Junchen Ge, Yuchao Wang, Siqi Chen, Yuzhi Huang, Jingyan Jiang, Zhi WangarXiv 2026

It’s late, you’ve had a long day, and you’re scrolling through videos. You see a clip of someone doing a backflip, captured by a friend running alongside them with a smartphone. If you tried to turn that video into a 3D animation, you’d run into a classic computer vision headache: the camera is moving, the person is moving, and trying to untangle the two usually results in a 3D character that looks like they’re "ice-skating" across the floor or leaning at a gravity-defying 30-degree angle.

The paper GravHMR offers a clever, "plug-and-play" fix for this, and it doesn't require retraining a single neural network.

TL;DR

GravHMR is a framework that reconciles camera tracking (SLAM) and human pose estimation (HMR) by using gravity as a "universal north star." By aligning both systems to a shared vertical axis, it prevents 3D characters from tilting unnaturally or drifting away, achieving state-of-the-art accuracy in reconstructing human motion from moving-camera videos.

What Problem Does This Paper Address?

When we try to reconstruct 3D human motion from a single video, we usually use two separate tools:

  1. SLAM (Simultaneous Localization and Mapping): This tracks where the camera is in the world.
  2. HMR (Human Mesh Recovery): This estimates the person's pose and shape relative to the camera.

The problem is that these two "experts" don't talk to each other. If the SLAM estimate of the camera's tilt is off by just a few degrees, that error gets magnified when you place the human in the 3D world. The result? A person who looks like they are walking on a slanted floor (see Figure 1). Furthermore, small errors in estimating how fast someone is moving accumulate over time, causing the 3D character to "drift" far away from their actual path.

Orientation inconsistency: TRAM (red) inherits camera tilt errors, while GravHMR (blue) uses a shared gravity reference to stay upright.

Methods

The authors introduce a training-free framework that acts as a mediator between SLAM and HMR. The secret sauce is Gravity Alignment.

  1. Shared Gravity Frame: They use an independent tool to find the direction of gravity in the video frames. They then rotate the entire 3D world so that "down" is always the same for both the camera and the human.
  2. YAOO (Yaw-Aware Orientation Optimization): This module handles the "heading" (which way the person is facing). It realizes that HMR models are actually quite good at knowing if a person is upright or tilted, but they get "lost" regarding their compass heading over time. YAOO takes the stable heading from the camera/SLAM and combines it with the reliable tilt from the HMR model.
  3. GATO (Gravity-Aware Trajectory Optimization): This anchors the person's feet to the ground. It uses 2D points from the image to "pull" the 3D root position into the right place. Crucially, it uses the human body itself as a metric ruler—since we know roughly how big a human is, we can use that to solve the "how far away are they?" problem that plagues single-camera videos.
  4. FATC (Flow-Aware Temporal Consistency): A final "polish" step that uses motion cues (like joint velocities) to make sure the movement looks smooth and natural, eliminating jitters.
Figure 2. Overview of GravHMR. Given a monocular video, off-the-shelf HMR and SLAM backbones provide initial human motion and camera geometry, respectively. GravHMR couples these estimates through a shared gravity-aligned reference. Yaw-Aware Orientation Optimization (YAOO) corrects the headings of the body and of its motion about gravity while keeping the gravity-relative body tilt predicted by HMR. Gravity-Aware Trajectory Optimization (GATO) then recovers the global root trajectory from 2D pose observations under the corrected orientations and the SLAM camera geometry, and Flow-Aware Temporal Consistency (FATC) finally regularizes its temporal derivatives.

Datasets

The researchers evaluated GravHMR on several challenging benchmarks:

  • EMDB-2: A dataset of "in-the-wild" sequences captured by a moving handheld camera, featuring ground-truth 3D motion for comparison.
  • RICH: A dataset with static cameras but very high-quality ground truth, used to test absolute accuracy.
  • EgoBody: Videos from head-mounted cameras, where the person's body is often partially cut off by the frame—a "torture test" for these algorithms.

Key Insights and Ideas

  • Gravity is the Great Equalizer: In a world where everything is moving, gravity is the one constant. By forcing both the camera and the human model to agree on which way is "down," most of the weird tilting artifacts simply vanish.
  • Selective Trust: The authors didn't just average the SLAM and HMR data. They identified which parts of each estimate were reliable (e.g., SLAM for heading, HMR for tilt) and "stitched" them together.
  • Training-Free is a Superpower: Because this is a geometric optimization framework, you can drop it on top of any existing HMR or SLAM model. You don't need a massive GPU cluster to retrain the system for every new camera or environment.

Key Results

GravHMR sets a new bar for "world-grounded" human reconstruction:

  • Massive Error Reduction: On the EMDB-2 dataset, it reduced global joint error (W-MPJPE) by 44.3% compared to previous baselines.
  • Superior Stability: It outperformed TRAM (a recent high-profile method) by 14.7% even when using the exact same camera data, proving that the way you combine the data matters as much as the data itself.
  • Qualitative Win: As shown in Figure 3, while other methods "round off" corners or drift off-path during long walks, GravHMR stays locked to the ground truth.
Qualitative comparison: GravHMR (blue) stays on the path, while TRAM (red) drifts and rounds off corners.

Limitations and Future Work

  • Backbone Dependency: GravHMR is a "refiner." If your initial SLAM or HMR estimates are catastrophically wrong (e.g., the camera is spinning wildly in the dark), GravHMR can't perform miracles.
  • Scene Blindness: While the person is placed correctly in 3D space, the system doesn't "see" the furniture. It doesn't know if a person is sitting on a chair or just floating in a sitting pose. The authors suggest that integrating body-scene consistency (making sure the person doesn't clip through walls or floors) is the next logical step.

In short, GravHMR brings a much-needed dose of physical reality to the world of 3D human motion capture, ensuring that our virtual avatars finally have their feet firmly planted on the ground.

Summary updated

Abstract

Recovering globally consistent 3D human motion from monocular videos remains challenging under dynamic camera motion. Although SLAM and human mesh recovery (HMR) provide complementary camera and body estimates, directly combining them often leads to inconsistent orientations and accumulated trajectory drift. We present GravHMR, a training-free, plug-and-play framework that couples SLAM and HMR through a shared gravity-aligned reference. By allowing gravity to be estimated independently of the HMR backbone, GravHMR accommodates world-grounded HMR models with or without explicit gravity-view representations. Specifically, Yaw-Aware Orientation Optimization (YAOO) resolves heading inconsistencies by correcting body and velocity orientations about the shared gravity axis. Conditioned on these corrected orientations, Gravity-Aware Trajectory Optimization (GATO) anchors root trajectories in the metric SLAM world by jointly leveraging 2D reprojection, the metric scale implicit in the human body, and the body's own motion. On EMDB-2, GravHMR achieves state-of-the-art performance with 154.0 mm W-MPJPE100 using ViPE and 189.8 mm using masked DROID-SLAM, outperforming TRAM (222.4 mm) under the same masked DROID-SLAM camera estimates. It further reduces W-MPJPE100 by 44.3% over GVHMR (276.5 mm) and by 20.0% over GVHMR + HTD-Refine (192.4 mm) with the same HMR backbone.
BibTeX
@misc{jin2026gravhmr,
  author = {Hanglei Jin and Chenglu Sun and Junchen Ge and Yuchao Wang and Siqi Chen and Yuzhi Huang and Jingyan Jiang and Zhi Wang},
  title = {{GravHMR: Coupling SLAM and Human Mesh Recovery in a Shared Gravity Frame}},
  year = {2026},
  eprint = {2611.29614},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29614},
}
Figure