Rust in Everything
← Papers

π^4: A Foundation Model for 4D Scene Geometry and Motion

Yifan Wang, Weiguang Zhao, Ni Yang, Haoyu Guo, Junting Dong, Weinan Zhang et al.

2026-11-18▲ 13arXiv 2611.23144v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

π4 is a unified ~0.5B-parameter feed-forward model that reconstructs 4D scene geometry, cameras, metric scale, 2D/3D tracks, and moving-object masks from uncalibrated single-image, unordered multi-image, or video inputs.

Problem

Feed-forward models reconstruct scenes and recover motion from RGB, but in-the-wild observations have unconstrained scene content, camera configurations, temporal continuity, and numbers of observations. The paper asks how well these capabilities generalize under such conditions while maintaining high-quality geometric reconstruction and robust motion recovery. It targets a unified model for single images, unordered collections, and videos, including tracking and moving-object masks for multi-image inputs.

Method

π4 uses a shared image encoder feeding two task-specific looped Transformer decoders. The geometry branch predicts dense local pointmaps, camera-to-world poses, confidence maps, and a shared metric scale, with a sparse 3D refiner improving pointmaps. The motion branch is conditioned on geometry features and predicts image-space correspondences, visibility and tracking confidence, and moving-object masks; tracks are lifted to 3D using reconstructed target-view geometry. During motion training the geometry network is frozen and the motion decoder and prediction heads are optimized; the confidence head is trained separately with geometry fixed. Training samples single-image, 2–24-view, and 32/48/64-view contexts, and data include scene-level synthetic renderings, curated Internet videos, and GameRealm.

Results

  • π4 achieves the best overall average rank in geometry evaluation. §1
  • The full geometry-and-motion system contains approximately 0.5B parameters, less than half the size of most baselines. §Abstract
  • On single-view tracking, π4 leads Average 2D AJ with 72.43 and ranks second in the other three metrics. §5.2
  • On multiview tracking, π4 leads dataset-average 2D AJ at 35.07 and ranks second in 2D APD and both 3D metrics. §5.3
  • For moving-object segmentation, π4 achieves the best region similarity on SegTrackv2 at 83.42 and the second-highest mean J&F of 85.04. §5.4
  • Geometry-feature conditioning reduces EPE by 7.17 px overall and 8.10 px on large-camera-baseline pairs compared with an otherwise identical model without this conditioning. §6.5

Limitations

  • Left open by experiments: training uses a maximum context of 64 views per scene, while inference is demonstrated on thousands of images; the text does not report a controlled ablation of reconstruction or tracking beyond the 64-view training context.
  • Left open by experiments: moving-object segmentation is not best overall; π4 has the second-highest mean J&F of 85.04, below GMOS at 87.48.
  • Left open by experiments: π4 ranks second in several single- and multiview tracking aggregate metrics rather than leading all of them, so the reported tracking performance is competitive but not uniformly superior.
  • Stated tradeoff: sparse 3D refinement with zero or random image conditioning improves surface coherence but increases mean normalized XYZ L1 error by 8.77% or 7.47%, so refinement without informative conditioning remains a tradeoff.

Key points

  • π4 handles single images, unordered image collections, and videos, recovering dense geometry, camera poses, and metric scale, plus 2D/3D point tracks and moving-object masks for multi-image inputs. §1
  • A shared image encoder feeds two task-specific looped Transformer decoders; the geometry branch predicts dense pointmaps, camera poses, and metric scale, and a sparse 3D refiner improves the predicted pointmaps. §3
  • The geometry network retains the permutation-equivariant formulation of π3, treating all input views symmetrically without designating a reference view. §1
  • The motion branch is geometry-conditioned and predicts image-space tracks and moving-object masks; predicted tracks are lifted into 3D using reconstructed target-view geometry. §3
  • For motion training, the pretrained geometry model remains frozen while the motion decoder and prediction heads are optimized; the geometry confidence branch is trained separately with geometry fixed. §3.5
  • Training stochastically samples view counts from single images, 2–24-view sets, and 32/48/64-view sets, with short contexts dominating the mixture. §6.2
  • Sequence-consistent lens and crop-and-resize augmentation applies identity, barrel, blended equidistant, or pincushion mappings with probabilities 40%, 35%, 20%, or 5%, respectively. §4.3
  • GameRealm provides engine-native geometric and motion annotations, including posed multi-view RGB-D observations and persistent 2D/3D point trajectories for tracking. §4.5

Mind map

Pi4
Problem and inputs
In-the-wild RGB
Single image
Unordered image collection
Video sequence
Architecture
Shared image encoder
Geometry decoder
Geometry-conditioned motion decoder
Sparse 3D refiner
Outputs
Dense pointmaps
Camera poses and metric scale
2D and 3D point tracks
Moving-object masks
Data and training
Scene-level synthetic assets
Internet videos
GameRealm
Progressive training
Evaluation
Geometry average rank
Single-view tracking
Multiview tracking
Moving-object segmentation
Design findings
Looped decoding
View-count sampling
Geometry conditioning
Relative-point loss