MoGe-4D: Efficient, Flexible, and Unified Dense 4D Reconstruction and Tracking

1University of Science and Technology of China 2Microsoft Research
3University of Chinese Academy of Sciences 4Tsinghua University

This is an open-source research project.

Paper
TL;DR

MoGe-4D is a feed-forward model for dense 4D reconstruction and tracking from in-the-wild videos or image sets, unifying geometry and motion via paired allocentric–egocentric point map queries and an efficient context–query dual encoder.
We also introduce RigIDTrack, a synthetic data pipeline and compact affine-body format for scalable dense 3D motion supervision.

Visual Comparisons

We compare reconstructed 4D geometry and 3D trajectories against state-of-the-art feed-forward 4D models, including 4RC, V-DPM, and OpenD4RT across diverse dynamic sequences.

To evaluate 4D consistency, persistent 3D points from selected source frames are tracked and warped to the current target frame's time. This overlay visualization imposes demanding requirements on long-range 3D tracking accuracy: any minor discrepancy in predicted motion, geometry, or camera poses fails to align with the changing viewpoint, immediately causing visible delamination and ghosting artifacts.

MoGe-4D (Ours)

MoGe-4D Framework

To build a practical and scalable foundation model for 4D perception, MoGe-4D is guided by three core principles: unification, flexibility, and efficiency. Rather than coupling fragmented task-specific modules, we unify 3D geometry and motion through a unified point map query that locates scene points across space and time. By freely varying source–target query pairs and adapting prediction resolutions on demand, the model flexibly services diverse downstream tasks. Finally, a context–query dual encoder decouples global video understanding from query prediction, amortizing video-level computation across queries to make dense 4D perception highly efficient.

Unified Point Map Query

Given video frames $\mathcal{I} = \{\boldsymbol{I}_t\}_{t=1}^T$, an ordered query $i\rightarrow j$ pairs a source frame $i$ with a target frame $j$ and predicts paired allocentric and egocentric point maps: $$\left(\boldsymbol{P}^{\mathrm{allo}}_{i\rightarrow j},\ \boldsymbol{P}^{\mathrm{ego}}_{i\rightarrow j}\right) = \left(\boldsymbol{P}_{i\rightarrow j,i},\ \boldsymbol{P}_{i\rightarrow j,j}\right)$$ Both maps locate the source pixel grid of image $i$ at target time $j$, expressed in source camera $i$ (allocentric) and target camera $j$ (egocentric) coordinates, respectively.

Although related by a rigid camera transform, the two coordinate frames provide complementary inductive biases: $\boldsymbol{P}^{\mathrm{allo}}_{i\rightarrow j}$ anchors points in view $i$ to keep static and out-of-view backgrounds stable, while $\boldsymbol{P}^{\mathrm{ego}}_{i\rightarrow j}$ aligns with view $j$ to accurately capture dynamic foregrounds. Predicting both in a single query unites static stability with dynamic precision and resolves relative camera pose $(i\rightarrow j)$ in closed form.

Flexible On-demand Query Combinations

Diverse 3D and 4D capabilities are naturally unlocked simply by varying query combinations $(i \to j)$:

$1\to 1, \dots,T\to T$ • Multiview Reconstruction: Recovers per-frame metric depth and camera parameters.
$\{1,\dots,T\} \to j$ • Registration: Reconstructs geometry in a shared time of target frame.
$i \to \{1,\dots,T\}$ • Tracking: Traces dense and continuous 3D trajectories time.
$\{i_1,i_2,\dots\}\rightarrow 1\dots T$ • Compose a 4D scene: Select some support frames and track them over the time.

Efficient Dual-Encoder Decoupling

To efficiently predict up to $T^2$ paired point maps from $T$ input frames, MoGe-4D decouples shared video context from query-specific prediction:

  • Context Encoder (1B+ params ViT, lower resolution): Encodes the full video sequence once at a lower token resolution to build and cache compact global spatiotemporal representations.
  • Lightweight Query Encoder (80M ViT, varying resolution): Extracts fine source-image detail and cross-attends to the cached source and target context tokens on demand.

This design dedicates network capacity to the context encoder for global scene understanding and gives flexibility to the query encoder, enabling high query efficiency and allowing prediction resolution to adapt flexibly per query.

Synthetic Data: RigIDTrack

Supervising feed-forward dense 4D perception requires continuous 3D correspondences across space and time alongside surface geometry. However, storing explicit per-pixel trajectories or animated mesh faces creates a severe storage and redundancy bottleneck for synthetic pipelines.

We introduce RigIDTrack, drawing its name from the intuition of approximating dynamic scenes as piecewise “rigid” bodies tracked by discrete IDs(Rig + ID + Track). It groups dense surface elements into rigidity-regularized affine bodies with shared transformation trajectories. This reduces millions of dynamic mesh faces to a few thousand bodies, enabling scalable, exact dense 3D supervision for arbitrary pixels and frames while motion storage takes only ~15% of standard RGB-D data.

Affine-body Motion Compression

The algorithm groups coherent surface mesh faces into discrete bodies such that faces in each body share a single affine transformation trajectory, offering three key advantages:

  • General non-rigid support: Applies beyond rigid and articulated objects to general deforming mesh animations without predefined skeletons.
  • Negligible approximation error: Adaptively groups mesh faces to compress trajectories with near-lossless motion fidelity.
  • Tractable computational complexity: Operates in $\mathcal{O}(KB + KT)$ time, where $K$ is the face element count, $B$ is the compressed body count ($B \ll K$), and $T$ is the total frame count.
Scene-Level Compression Example
$\sim 700\times$ trajectory reduction on dynamic faces (2.3M $\to$ 3.2K)
1. RGB Input
RGB Frame
2. All faces (6.7M)
All faces
3. Dynamic faces (2.3M)
Dynamic faces
4. Compressed Bodies (3.2K)
Compressed Bodies
In this dynamic scene, 2.3M non-rigid moving faces are grouped into 3.2K motion-consistent bodies (indicated by uniform colors), each sharing an affine trajectory while preserving surface deformation fidelity.

Data Synthesis Pipeline

We procedurally composite and animate scenes in Blender, compress their surface motion into affine-body trajectories, and render RGB videos with aligned geometry and motion annotations. Each frame stores RGB, depth, camera intrinsics $K$ and extrinsics $E$, a body-ID map, and per-body $4\times4$ affine transforms $A_b$.

RigIDTrack Generation & Supervision Pipeline

Using RigIDTrack as GT

During training, RigIDTrack recovers the exact 3D position $\boldsymbol{p}_{i\rightarrow j,k}$ of any pixel $\boldsymbol{u}$ from source frame $i$ at target time $j$ in camera $k$ on the fly in a single closed-form step:

$$\begin{bmatrix} \boldsymbol{p}_{i\rightarrow j,k} \\ 1 \end{bmatrix} = E_k A_{b,j} A_{b,i}^{-1} E_i^{-1} \begin{bmatrix} d \cdot K_i^{-1} [\boldsymbol{u}, 1]^\top \\ 1 \end{bmatrix}$$

No precomputed dense 3D trajectories are needed: simply look up the pixel's depth $d$ and body ID $b$, unproject with $K_i^{-1}$, and apply a single $4\times 4$ matrix chain combining camera extrinsics ($E_i, E_k$) and the body's affine transforms ($A_{b,i}, A_{b,j}$).

Quantitative Evaluation

MoGe-4D 3D tracking baselines Reconstruction-only baselines

3D Tracking

Loading results...

3D tracking quantitative results

Citation

@misc{wang2026moge4defficientflexibleunified,
  title         = {MoGe-4D: Efficient, Flexible, and Unified Dense 4D Reconstruction and Tracking},
  author        = {Ruicheng Wang and Linlin Xin and Sicheng Xu and Jianfeng Xiang and Zelong Lv and Yu Deng and Yue Dong and Guangzhong Sun and Tong Zhang and Jiaolong Yang},
  year          = {2026},
  eprint        = {2611.32198},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.32198}
}