Model releases · Analysis

A single foundation model for scene geometry and motion

The proposed scene model estimates geometry, camera motion and moving objects from RGB observations. Its input may be a still image, a collection or a sequence.

In this article
A relief map of intersecting elevation contours.

A camera moving past a stationary object and an object moving in front of a stationary camera can both displace pixels between frames. The π⁴ research team connects a branch for scene geometry to another for motion. Its report distinguishes what can be estimated from a single view from the tracks and moving-object masks it considers when more than one view is available.

Correspondence changes meaning when it is lifted into space

The π⁴ researchers describe predicting correspondences in the image and lifting them into three dimensions using estimated target-view geometry. A match between two pixels is therefore only one ingredient in a three-dimensional track. An error in reconstructed depth can move the inferred point in space even if the image-space correspondence is good. Conversely, a mistaken match can give a plausible-looking track when neighboring surfaces have similar depth. Reporting the quality of geometry alongside motion helps distinguish two failure mechanisms that a single rendered demonstration can hide.

Architecture for Unified Geometry and Motion

π^4 uses a shared backbone with two parallel branches: one dedicated to geometry reconstruction and another to motion prediction, both built on permutation-equivariant architectures that treat all input images symmetrically. This means no single image is designated as the “reference,” allowing the model to handle unordered or randomly sampled views without bias. The geometry branch reconstructs dense 3D surfaces, camera poses, and metric scale using looped Transformer decoding—a design choice made for its proven stability across different benchmarks and efficient use of memory. In parallel, the motion branch takes image tokens from each frame and applies attention mechanisms conditioned on the reconstructed 3D geometry at the same view. This conditioning happens through spatial adaptive layer normalization (AdaLN), which adjusts attention based on both local geometry features and progress within the looped decoding process. The motion decoder does not use temporal positional embeddings, avoiding assumptions about time order in the input sequence. Instead, it outputs per-frame tracking predictions and moving-object masks directly from the image-level representation.

Overcoming Data Limitations in Real-World Scenarios

A major hurdle in training such a model is obtaining reliable geometric supervision—especially for scenes dominated by moving foregrounds or dynamic content. In natural videos, where people or vehicles dominate the frame, background geometry is often lost or obscured. To address this, the researchers developed a pipeline that suppresses foreground elements and uses video inpainting to infer the underlying background structure. From these cleaned frames, they extract points corresponding only to originally visible background pixels and pair them with the original RGB inputs as pseudo-labels. This creates a training signal for geometry that remains consistent even when the input is dominated by motion. Additionally, the team used a diverse set of real-world scene assets from sources like Funes and Sketchfab—covering large-scale architectural environments rather than isolated objects—to ensure broad spatial variety during training. Camera configurations were further diversified through field-of-view and lens augmentations, which simulate non-ideal imaging conditions such as wide-angle distortion or oblique angles. To support dynamic scenes, they incorporated data from GameRealm, a collaboratively developed dataset that includes engine-native geometry and persistent point trajectories over time—providing ground truth for object motion across frames.

The model trains on randomly sampled input sets: single images, small groups of 2–24 views, or larger sets up to 64 views. Despite this, π^4 manages to produce full 3D reconstructions and point tracks across thousands of images in a single forward pass—demonstrating its ability to scale with scene size without degradation in quality or efficiency. A sparse 3D refiner is applied during training to enhance fine surface details, particularly in areas where geometry appears smooth or flat, improving realism without overfitting.

The design choices were tested through targeted ablations: removing looped decoding, disabling geometry conditioning in the motion branch, or replacing the mask head with simpler alternatives. The model also avoids making assumptions about temporal order or camera movement, allowing it to work reliably on inputs where views are randomly ordered or temporally fragmented.

Ultimately, π^4 achieves robust performance in reconstructing dense 3D scenes and recovering motion from unstructured inputs—without relying on pre-defined reference views or calibrated cameras. Its success stems not just from architectural innovation but from a careful alignment of training data construction with real-world variability, ensuring that the model learns to generalize across diverse viewing conditions and scene dynamics.

Loop Step Conditioning Improves Geometry and Pose Recovery

In training the looped Transformer decoder, a key design choice was to condition each prediction step on its position within the sequence of images—what the authors call “step conditioning.” Without this signal, the model predicts image correspondences independently of their temporal order. When comparing the looped decoder with an unconditioned version, researchers observed that adding step conditioning reduced local point loss by 2.8% and camera pose loss by 10.2%. These improvements were measured during validation on standard benchmarks involving multiview sequences. The effect became more significant as training progressed, indicating that the step signal helps stabilize long-range geometric consistency. This is especially important when reconstructing scenes from unordered inputs, where temporal relationships between images are not known a priori. Without step conditioning, the model tends to produce inconsistent matches across frames, particularly in dynamic or complex environments. The observed gains suggest that explicit step signals allow the decoder to better align correspondences with the evolving 3D structure over time.

Training Progression Enables Gradual Refinement of Geometry and Motion

The training protocol follows a staged approach: first, the geometry branch is trained independently using static image features and geometric correspondences. Once metric scale is introduced, geometry and motion are jointly optimized. During this phase, the pretrained geometry model remains frozen to prevent interference from motion-specific updates. Later stages introduce sparse 3D refinement and full metric-scale estimation, while expanding the training data mix with curated Internet videos and synthetic renderings. In practice, early training focuses on image encoding, point matching, and camera pose prediction using short view sets of two to twenty-four images. As training advances, longer sequences—up to sixty-four views—are introduced in a stochastic manner, ensuring that the model gains exposure to larger context windows. This progressive approach allows the system to build robust geometric understanding before tackling more complex motion dynamics.

Joint Reconstruction Consistency Across Diverse Scene Types

When tested across a range of real-world inputs—including aerial footage, handheld videos, driving scenes, sports events, and stylized content—the model produces coherent 3D reconstructions that maintain geometric consistency over time. In one example with a 64-frame video sequence, the trajectories of moving objects were reconstructed in both image space and lifted 3D space. At later frames, when cameras are farther from the initial viewpoint, ARROW’s motion paths deviated visibly from the reconstructed surfaces in models that independently regressed 3D endpoints. This observation highlights a critical limitation of traditional methods: they often compose camera estimates and 3D points in a fixed reference frame, leading to error accumulation over time. The model’s success stems from its ability to lift correspondences directly into 3D using the reconstructed target-view geometry, rather than relying on independent point regressions. These findings validate the design’s effectiveness in real-world conditions where camera parameters and scene dynamics vary widely.

How Foreground Motion Causes Geometry Failure

The evidence in π^4’s qualitative results reveals a clear limitation when large moving foregrounds dominate egocentric video sequences. In such cases, geometry reconstruction fails not because of missing data or poor initialization, but due to the model’s inability to suppress or separate foreground motion from background structure. This failure is particularly evident in scenes where the foreground object—such as a person walking into frame—occupies most of the image content across multiple frames. The model treats these regions as part of the static scene geometry, leading to misaligned depth and inconsistent point tracks. While the system correctly identifies moving-object masks for such objects, the underlying geometric structure is corrupted by the motion cues from the foreground. The lack of explicit foreground suppression mechanisms in the architecture suggests a fundamental gap between what can be learned from raw RGB inputs and what is needed for robust scene understanding under real-world conditions.

What distinguishes competing explanations is whether this failure stems from a limitation in feature representation or from an absence of motion-geometry disentanglement. One explanation posits that the model’s shared backbone fails to distinguish between dynamic foregrounds and static background geometry, because both are processed through the same visual features. An alternative view holds that the issue arises not from architectural design but from training data imbalance—specifically, a lack of sufficient examples where foreground motion is clearly separated from background structure during learning. If the failure were due to data bias, then adding more balanced training samples with explicit foreground-background segmentation should improve performance. However, no such ablation study has been conducted in the document; there is no evidence that modifying the training distribution or including foreground masking supervision leads to better geometry recovery. This absence of testing leaves open whether the problem is a design flaw or a data limitation.

Geometry-Conditioned Motion vs. Independent Motion Estimation

The performance gains from using geometry-conditioned motion—specifically, conditioning the motion branch on spatial correspondences lifted from reconstructed 3D geometry—are well-documented in the document. The ablation shows a 7.17 px reduction in end-point error (EPE) overall and an additional 8.10 px improvement for large-camera-baseline pairs when using Spatial AdaLN to condition motion on geometry features. This suggests that spatial consistency across views, captured by the geometry branch, provides useful context for estimating motion between frames. In contrast, a model that independently learns cross-view correspondences without conditioning on reconstructed depth or structure would be expected to struggle with large baselines and complex scene layouts.

A key distinction lies in whether these improvements are due to better spatial priors or improved handling of camera motion. Conversely, if the improvement arises from general image matching capabilities that are not tied to 3D structure, then the performance would remain stable even when geometry is removed. The experimental results support the former: without geometry conditioning, EPE increases, especially in long baseline scenarios where camera motion and scene depth diverge. This indicates that the motion branch benefits directly from the spatial coherence provided by the geometry branch. Without such tests, it remains unclear how robust these gains are across varying scene dynamics.

How Geometry and Motion Interact in Model Design

The model’s design assumes that geometry informs motion estimation, and vice versa.

This lack of decoupling testing is significant because it leaves open the possibility that the joint system’s performance depends on feedback loops rather than independent, parallel processes. If both components are interdependent and degrade when separated, then the architecture may be optimized for synergy rather than modularity. In contrast, if each branch could function independently with minimal loss of accuracy, this would suggest a more scalable and interpretable design. Without testing these separable pathways, it remains unclear how generalizable the model’s performance would be in scenarios where geometry or motion must be inferred independently—such as in surveillance systems with sparse or delayed motion data.

A Hypothetical Test of Depth and Match Errors in Scene Reconstruction

Imagine a scene with two adjacent walls: one vertical, smooth, and uniformly textured; the other slightly tilted, with a soft gradient that mimics natural lighting. A single foundation model like π⁴ is given a sequence of four uncalibrated images taken from different angles—two from low elevation, two from high elevation—capturing both walls over time. The model predicts pixel matches between frames and lifts those into 3D space using estimated camera poses and reconstructed geometry. One test condition assumes the model correctly identifies that a match between pixels on the wall’s surface is valid only if both pixels lie in the same physical depth plane. In this case, a consistent 3D track forms across time, with points moving smoothly from one image to the next, and depth values aligning with known scene structure. The second condition introduces a small error in depth estimation: the model incorrectly infers that the tilted wall is parallel to the vertical one, causing all pixel matches to be lifted into a shared, flat plane.

In this scenario, two distinct outcomes emerge. In Outcome A, the model produces a track that appears visually plausible—pixels move coherently across frames, and the motion seems natural. However, when evaluated with a depth consistency metric, it reveals that points on the tilted wall are assigned a depth value identical to those on the vertical wall. This is a failure of geometry reconstruction: the image-space correspondence is accurate, but the 3D lift has been distorted by an erroneous depth assumption. In Outcome B, the model makes a mistaken match—assigning a pixel from the vertical wall to a similar-looking region on the tilted wall. The resulting track appears smooth and continuous, with no visual artifacts.

The key difference between these outcomes is not visible in a single rendered video or still image. A viewer might see both cases as “plausible” motion with consistent pixel paths. But only by measuring depth consistency and track divergence can one distinguish whether the error originated in geometry (a misestimated 3D structure) or in correspondence (a wrong pixel match). This distinction is critical because a single demonstration cannot expose both failure modes—each appears similar to the human eye, yet their root causes are fundamentally different.

Why This Matters for Model Evaluation

The π⁴ architecture explicitly lifts image-space correspondences into 3D using estimated target-view geometry. This means that even if two pixels match perfectly in an image sequence, a misjudged depth value can shift the inferred point in space—creating a track that looks correct but is geometrically invalid. Conversely, a false match between visually similar regions can produce a convincing-looking trajectory, especially when neighboring surfaces have similar texture or lighting. Without separate evaluation of geometry quality and motion consistency, such errors remain hidden.

In real-world deployment, this distinction has practical consequences. For instance, in autonomous navigation, misaligned depth could cause a vehicle to misjudge distances to obstacles. In augmented reality, a false match might place virtual objects in the wrong spatial context. A model that only passes visual plausibility tests may still fail in downstream tasks requiring accurate 3D understanding.

To assess robustness, one must measure both the quality of reconstructed depth and the validity of pixel-to-point correspondences. This requires metrics that track not just motion continuity but also geometric fidelity—such as depth consistency across frames, point reprojection error, and deviation from known scene structure.

While no real-world test has been conducted to validate this scenario, it is grounded in the documented architecture and training dynamics of π⁴. The model’s geometry branch is trained separately from its motion branch, with geometry fixed during motion training. This means that motion predictions depend on an already estimated 3D structure—making depth errors a direct source of motion inaccuracies. Thus, any observed track deviation must be interpreted through the lens of either geometric error or correspondence error.

In sum, evaluating foundation models for scene geometry and motion requires more than visual inspection. It demands side-by-side analysis of depth quality and match validity—because what appears correct in one dimension may be fundamentally flawed in another.