Training Metric Pointmap Transformers Without Any Real Depth Labels

Recent vision transformers can take two ordinary photos of a scene and directly predict the 3D position of every pixel. They do this through cross-attention, where each image patch looks at the patches of the other image to find its counterpart. Systems such as DUSt3R are therefore described as removing the need for depth sensors. That claim holds only at test time. The real data these models are trained on, including laser-scanned indoor rooms, scanner-registered video and structure-from-motion reconstructions, was produced by depth hardware or heavy calibrated pipelines. The dependency on sensors has moved from deployment into the training set, and that is where it limits which domains these models can be extended to.

This note proposes to remove it there as well. We train a two-view pointmap transformer whose outputs are in meters, using exact geometry from synthetic worlds only. We then adapt it to real camera footage with no real depth, no real poses and no scans. Two signals drive the adaptation. The first is the model's agreement with itself when the image order is swapped. The second is a frozen synthetic copy of the model, which keeps metric scale from drifting and prevents the model from forgetting what it learned. The question is how much of the gap to sensor-supervised training this closes on real benchmarks that were never seen in training. Either answer matters. If the gap closes, metric 3D models can be extended to any domain where someone can record video. If it does not close, we learn precisely what real sensor labels contribute that synthetic data and self-consistency cannot replace.

Core Claim

Our central bet is this. Metric scale and sharp geometry can be learned from synthetic data. The remaining real-world gap in camera appearance and optics can be closed using unlabeled real video, provided that adaptation is constrained by geometric consistency and anchored to the synthetic model. Concretely, the claim is that the adapted model reaches most of the accuracy of a sensor-supervised pointmap transformer on held-out real pose and depth benchmarks, while keeping metric scale and avoiding collapse on other real domains.

Three strands of prior work support the bet.

Depth Pro is a single-image metric depth model. It finishes training on synthetic data only, because real sensor labels blur depth edges, and it still generalizes to real images. That is evidence that synthetic geometry can carry metric, sharp supervision.

Two works show that synthetic-only training can transfer to real correspondence-based tasks. DINO-VO trains a transformer matcher on the synthetic TartanAir dataset and transfers to KITTI. FAINT, from Synthetic vs. Real Training Data for Visual Navigation, trains a cross-attention navigation policy in simulation and beats real-data training by 31 points of real-world success. Neither produces metric 3D geometry. DINO-VO is explicitly up-to-scale.

Robust Synthetic-to-Real Transfer for Stereo Matching (DKT-Stereo) constrains the design. It shows that fine-tuning a synthetic-trained matcher on narrow real data can wreck generalization: ETH3D error rises to 93.31%, compared with 2.60% when a frozen synthetic teacher is kept. DKT-Stereo still uses labeled real stereo data, and it uses cost-volume stereo networks rather than cross-attention over unposed pairs.

Our proposal differs from all three. It is the first in this literature to require metric two-view pointmaps from a transformer, with zero real geometric labels at any stage.

Research Program

Architecture and initialization. We use the DUSt3R architecture: a shared ViT encoder, a cross-attending decoder, and per-pixel 3D points with confidences, with both views expressed in the first camera's frame. We add a metric scale output, decoupled from up-to-scale geometry as in Map-Det3D.

The encoder starts from CroCo-style self-supervised pretraining. This uses images only and no depth, which is consistent with the no-labels constraint. We will also test a DINOv2 initialization, because DINO-VO reports that foundation-model tokens are too coarse for precise geometry. Patch granularity is therefore a known risk.

Stage one: synthetic training. The model trains on exact metric depth and poses from three sources: TartanAir, which has aggressive six-degree-of-freedom motion and weather and lighting variation; Hypersim, for indoor scenes; and the DA-V game-engine video corpus from Depth Any Video. Following the diversity-over-realism evidence of Shipard et al. and the domain randomization of Khirodkar et al., we randomize the rendered camera's intrinsics, distortion, blur and noise. This matters because OPFormer degrades on real fisheye and grayscale sensors after clean synthetic training.

Stage two: label-free real adaptation. We use raw real video without any of its provided poses or depth. Sources include RealEstate10k clips, CO3D frames and KITTI raw drives, with one domain held out at a time.

For a frame pair $(I_1, I_2)$, the student predicts pointmaps in frame 1. Run on the swapped pair $(I_2, I_1)$, it predicts the same geometry in frame 2. The adaptation objective is

$$ L = \sum_p c_T(p)\,\lVert X_S(p) - X_T(p)\rVert \;+\; \lambda_{s}\,\min_{R,t}\sum_p \lVert R\,X_S^{(2\to1)}(p)+t - X_S^{(1\to2)}(p)\rVert \;+\; \lambda_{ph}\,L_{photo}. $$

The terms are defined as follows:

  • $X_S$ and $X_T$ are the student's and the frozen synthetic teacher's predicted 3D points at pixel $p$.
  • $c_T(p)$ is the teacher's confidence after filtering. It is kept only where the teacher's swapped-order predictions agree, in the spirit of DKT-Stereo's filter-and-ensemble step.
  • The second term asks that the two orderings describe the same scene up to one rigid motion $(R, t)$, solved in closed form by Procrustes alignment. This rigid alignment does not include a scale factor, so a scale change in one ordering cannot be absorbed by the alignment.
  • $L_{photo}$ is a photometric loss computed on confident pixels. Each pixel's predicted 3D point is projected into the other image, using intrinsics recovered from the pointmap, and colors are compared.
  • $\lambda_s$ and $\lambda_{ph}$ weight the second and third terms.

The scale output is supervised only through the teacher term. Self-consistency alone cannot fix absolute scale, so if real-data metric scale survives, the credit belongs to the synthetic anchor. That is a falsifiable statement.

Analysis. We will measure four things. The first is where the remaining gap sits, broken down by surface type (specular or transparent, textureless), baseline width, and image region (edges versus interiors). The second is whether the teacher's confidence filtering keeps or discards precisely the non-Lambertian pixels where photometric losses break, as described in DCPI-Depth. The third is whether metric scale degrades with scene types that are rare in the synthetic corpora. The fourth is how often the swapped-order consistency term fails on collinear motion, a degeneracy reported for Reloc3r.

Baselines

Do-nothing reference. This is the stage-one model applied directly to real images with no adaptation. Every gain from stage two is measured against it, under identical evaluation resolution and pair sampling.

Main sensor-supervised reference: DUSt3R. DUSt3R trains the same architecture on about 8.5 million mixed real and synthetic pairs, with real geometry from scanners and reconstructions. It is the strongest competitor because it is what our method would replace, and it differs from ours only in its supervision.

For a fair comparison we train a matched-compute DUSt3R-style model ourselves. It uses the same backbone, resolution and step count. The difference is that its real data comes with sensor-derived labels, and it is also given our synthetic data.

Two conditions are needed:

  • Sensor-free clearly superior. Our model matches it on the domain it adapted to, and beats it on held-out real domains on pose AUC and depth Abs Rel.
  • Sensor-free viable. Our model closes at least 80% of the gap between the do-nothing model and the matched-compute sensor-supervised model.

Pose-regression reference: Reloc3r. Reloc3r reports 34.79 AUC@5° on ScanNet1500 with Reloc3r-512. We use it as an external reference with its released weights. It was trained with real poses on 8 million pairs, so it serves as a ceiling rather than a matched comparison.

Single-image metric depth route. This baseline runs Depth Pro per frame and recovers relative pose by fitting the two depth maps to the frame-to-frame matches of a transformer matcher. It answers whether a two-view model is needed at all. Both systems are evaluated on the same pairs. No reported result was found on Lacuna for Depth Pro on ScanNet1500 or two-view pose, so we will run it ourselves.

Ablations isolating the key ingredient. Four ablations each remove one part of stage two:

  • No teacher (photometric only). Adaptation uses only photometric and swap losses. This is the DKT-Stereo failure mode transplanted to transformers.
  • No filtering. The teacher term is kept, but confidence filtering is removed.
  • Teacher only. Only the teacher term is used, which amounts to self-training without geometry.
  • Extra synthetic steps. Stage one is extended by the same compute as stage two, which controls for training budget.

Why not just…?

Why not just use DUSt3R or Reloc3r as released, since they already work zero-shot? They do work in many places. The point is that their training recipe needs sensor-labeled geometry, and that kind of data does not exist for many target domains. Examples include underwater footage, endoscopy as in Advancing Dense Endoscopic Reconstruction with Gaussian Splatting-driven Surface Normal-aware Tracking and Mapping, drones and unusual optics.

We do not claim to beat them on ScanNet-like data. The released models also saw ScanNet++ in training, so in-domain comparisons favor them. The decisive comparisons are therefore on held-out domains and against the matched-compute sensor-supervised model. If the released models dominate there too, our method is useful only where labels are missing, and we will say so.

Why not just train on synthetic data with heavier randomization and skip real adaptation? This is a real threat. The FAINT results in Synthetic vs. Real Training Data for Visual Navigation and the diversity results of Shipard et al. suggest that diversity can be enough. Against this, OPFormer reports that synthetic-only training breaks on real optical effects. Synthetic data also cannot model wet specular surfaces and similar phenomena well, a limitation noted for both TartanAir and Depth Any Video.

The extra-synthetic-steps ablation settles the question. If stage two adds less than the same compute spent on more randomized synthetic data, we drop stage two and the paper becomes a study of synthetic diversity for metric pointmaps.

Why not just fine-tune with photometric self-supervision, as unsupervised depth methods do? DKT-Stereo shows that unanchored fine-tuning of synthetic matchers can destroy generalization to other domains. Photometric losses also cannot recover absolute scale and fail on non-Lambertian surfaces. The no-teacher ablation tests whether this holds for cross-attention pointmap models. We expect two signs if it does: metric scale error rising during adaptation, and held-out-domain accuracy falling.

Why not just combine per-frame Depth Pro with any matcher? This needs no new training. However, single-image scale is ill-posed in atypical scenes, and per-frame depths need not agree with each other. The Depth Pro baseline above measures whether two-view reasoning adds accuracy, particularly in pose AUC and in cross-view consistency of metric scale.

Proposed Experiments

Protocol. We adapt on one real video source at a time, then evaluate on held-out real benchmarks whose ground truth is used only for scoring:

  • Wide-baseline pose: ScanNet1500, scored by AUC@5°, AUC@10° and AUC@20°.
  • Video depth: KITTI depth, using Abs Rel both after per-image median scaling and without any rescaling. The unscaled version is the direct test of metric scale. For orientation, DCPI-Depth reports 0.095 Abs Rel on KITTI, but it is trained on KITTI video itself and uses median scaling, so it is a reference point rather than a matched competitor.
  • High-resolution indoor and outdoor depth: ETH3D, which is also the domain where DKT-Stereo exposed forgetting.
  • Indoor geometry: ScanNet++ depth and pose.

Forgetting check. After adapting on indoor video, we test on KITTI and ETH3D, and the reverse. The question is whether any domain falls below the do-nothing model.

Downstream check. We replace the reconstruction module of Map-Det3D with our model and report $AP_{25}$ on CA-1M. Map-Det3D reports 16.9 using a reconstruction model supervised with real scanned geometry. This tests whether a sensor-free-trained geometry prior supports metric 3D detection.

Decisive outcomes. The proposal succeeds if three conditions hold together. Stage two closes at least 80% of the gap to the matched sensor-supervised model on held-out benchmarks. Unscaled depth error does not grow during adaptation. The extra-synthetic-steps ablation falls clearly short of stage two.

It fails informatively if the gap stays mostly open, or if it concentrates at depth edges and fine structure. In that case the per-region analysis tells us whether the remaining value of real sensor labels lies in appearance or in geometry.