TL;DR
Can a neural network discover physical 3D space without ever seeing a depth map, a camera pose, or a 3D coordinate? The authors introduce RePT, a model trained solely on a 2D game of "spatial telephone"—predicting where a point $B$ appears in a new camera view based on its relationship to a distinct point $A$ in previous views. Remarkably, the model’s compact internal representations spontaneously organize into a metric 3D space where vector lengths and angles mirror real-world physical displacements, recoverable via a single, frozen linear matrix.
What Problem Does This Paper Address?
Teaching AI to understand the 3D physical world usually requires heavy supervision: we explicitly force models to predict depth maps, camera trajectories, or dense 3D point clouds. While purely visual, self-supervised models (like masked autoencoders or correspondence trackers) do pick up some geometric intuition, extracting rich metric 3D structure from them typically requires complex, nonlinear decoders.
There is a fundamental difference between a representation that merely contains buried geometric clues and one whose latent space is natively organized like physical space. The authors ask: can metric 3D geometry emerge naturally—and be read out with a simple linear projection—just by learning how 2D observations relate to one another across views?
Methods
Instead of tracking the same point across views (standard correspondence), 2D Relational Pretraining (RePT) learns the directed relationship between two distinct physical points, $A$ and $B$.
Here is how a training episode works:
- Context Encoding: Given 12 images of a static scene, RePT extracts patch features using a frozen DINOv2 backbone and passes them through alternating within-view and cross-view attention layers to build a shared scene memory, $C$.
- Relational Encoding: The model looks at point $A$ in view $i$ and point $B$ in view $j$. Using bilinear interpolation and attention over $C$, it creates endpoint embeddings $h(A)$ and $h(B)$. Crucially, it defines the relation token $q_{A \to B}$ as a simple 16-dimensional vector subtraction: $h(B) - h(A)$.
- Relational Decoding: Now for the test. Given a new observation of $A$ in view $k$, the scene memory $C$, and the token $q_{A \to B}$, the decoder must predict the 2D pixel coordinates of $B$ in a target view $t$ (optimized via Smooth L1 loss).
An auxiliary CroCo-style masked feature reconstruction loss is also used during training to help optimize $C$, though the model never receives 3D targets.
Datasets
- ARKitScenes: Used for training (4,492 indoor RGB-D sequences) and primary evaluation (55 validation scenes). Offline depth and pose data are used only before training to generate ground-truth 2D multi-view point tracks—the model itself never sees depth or pose.
- CoTracker3 RGB-only Tracks: To prove 3D sensors aren't needed at all, the authors also train a full model on ARKitScenes using purely visual 2D tracks generated by CoTracker3.
- ScanNet++: Used (4 subsets of 55 scenes) to test zero-shot, cross-dataset generalization of the ARKitScenes-trained checkpoint. No new benchmarks are introduced.
Key Insights and Ideas
- Invariance breeds geometry: Why does 2D point-transfer create 3D vectors? In a static room, the 2D appearance and pixel distance between a chair leg ($A$) and an oven handle ($B$) change wildly as you walk around, except for one underlying invariant: their 3D physical displacement. For $q_{A \to B}$ to work across arbitrary new views, the network is pressured to encode that invariant.
- Better task accuracy $\neq$ better geometry: When the authors replaced the vector subtraction $h(B) - h(A)$ with a flexible MLP, the model actually got better at predicting 2D pixels (PCK@4 rose from 0.28 to 0.31), but its 3D geometric organization collapsed (length correlation dropped from 0.86 to 0.33). Additive structure acts as a vital inductive bias, forcing relations to compose like physical displacements.
- Distinct points beat same-point tracking: Learning relations between different points ($A \to B$) builds a much more consistent cross-scene 3D space than a matched baseline trained to find the same point across views.
- Scene context must adapt: Freezing the scene memory $C$ (even after pretraining) ruins geometric emergence. The context encoder and relational encoder must co-adapt.
Key Results
Even before any calibration, the raw 16-D tokens correlate with true 3D physical distances (Pearson $r = 0.59$) and angles ($r = 0.68$).
When fitting a linear readout $W$ ($16\text{-D} \to 3\text{-D}$):
- Per-scene linear readout: Fitting $W_s$ per scene boosts length and angle Pearson correlations to 0.86 and 0.88, yielding coherent 3D point clouds with a mean endpoint error of 0.51 m.
- Cross-scene transfer: Fitting a single shared linear map $W$ on 16 scenes (accounting for each scene's arbitrary world-coordinate rotation) and freezing it for 39 unseen scenes yields length and angle correlations of 0.72 and 0.78 (0.90 m error).
- Zero-shot & RGB-only: Evaluated directly on ScanNet++, the model retains strong held-out transfer correlations (0.70 length, 0.75 angle). Training on RGB-only CoTracker3 tracks achieves nearly identical held-out geometry (0.71 length, 0.77 angle).
Limitations and Future Work
RePT is an exploration of representation structure, not a replacement for dense 3D reconstruction—mean 3D endpoint errors sit between 0.51 m and 0.90 m. Additionally, because scenes lack a universal "north," transferring the shared linear readout to a new scene still requires estimating a single $3 \times 3$ scene rotation matrix to evaluate metric coordinates. Finally, experiments are restricted to static indoor scenes; in dynamic, non-rigid scenes where distances between points change over time, the authors hypothesize this geometric organization would naturally weaken. Extending relational pretraining to dynamic environments and downstream robotics/planning tasks are the clear next steps.
Summary updated