RePT: 3D Geometry Emerges from 2D Relational Pretraining

Xize Duan, Binke Hou, Xingqiao Huang, Xinyuan Guan, Jiaxin Huang, Kaiyuan Hu, Zipeng Sun, Hong Kang, Meng Bi, Xue Liu, Yili JinarXiv 2026

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$.

Figure 1. RePT learns relations between distinct physical points using only cross-view 2D point prediction, with no 3D prediction targets. A linear readout fitted after training maps the 16-D relations to 3D displacements. Point markers are illustrative.

Here is how a training episode works:

  1. 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$.
  2. 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)$.
  3. 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

Abstract

Learning spatial representations often relies on explicitly predicting geometric quantities, but how physical geometry is organized within learned representations remains less understood. We ask whether 3D structure can emerge from learning relations across 2D observations, without 3D prediction targets. We introduce RePT, which learns compact relations between distinct physical points through cross-view 2D point prediction. The learned relation space develops a geometric organization in which magnitudes, angles, and neighborhoods reflect physical 3D displacement. A single linear readout fitted on 16 scenes recovers displacement length and angle on 39 held-out scenes without refitting (Pearson r = 0.72 and 0.78). The ARKitScenes-trained checkpoint also retains strong geometric organization on ScanNet++, showcasing generalizability. In controlled comparisons, distinct-point relational prediction consistently yields stronger geometric organization than matched same-point correspondence learning. This organization depends on additive relations and adaptive scene context, and higher point-transfer accuracy does not by itself produce stronger organization. More broadly, our results suggest that 3D geometry need not be an explicit prediction target and can instead emerge as a structural property of representations trained to relate 2D observations, pointing to relational prediction as a complementary route to learning the representations that spatial intelligence builds on.
BibTeX
@misc{duan2026rept,
  author = {Xize Duan and Binke Hou and Xingqiao Huang and Xinyuan Guan and Jiaxin Huang and Kaiyuan Hu and Zipeng Sun and Hong Kang and Meng Bi and Xue Liu and Yili Jin},
  title = {{RePT: 3D Geometry Emerges from 2D Relational Pretraining}},
  year = {2026},
  eprint = {2611.31601},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31601},
}
Figure