TL;DR
Feed-forward 3D reconstruction models often struggle with dynamic videos, producing misaligned or duplicated geometry due to pose drift. TrajVG tackles this by explicitly predicting 3D point trajectories in camera coordinates, tightly coupling these sparse tracks with dense point maps and camera poses during training. By combining fully supervised 3D data with self-supervised 2D tracks from in-the-wild videos, TrajVG achieves state-of-the-art performance across 3D tracking, pose estimation, and depth reconstruction.
What Problem Does This Paper Address?
Recent feed-forward 3D reconstruction models (like DUSt3R or MASt3R) predict dense geometry and camera relationships directly from pixels. However, they generally fall into two traps when handling videos with moving objects:
- Global-reference approaches (e.g., VGGT) anchor everything to a single world frame. This works for static scenes but breaks down when multiple dynamic objects are introduced.
- Local-frame approaches (e.g., $\pi^3$) predict scale-invariant point maps per view. While flexible for non-rigid motion, fusing these independent maps relies entirely on estimated camera poses. If the pose estimation drifts, the model creates misaligned or duplicated surfaces.
The core missing piece is explicit geometric coupling. While these models implicitly reason about correspondences to build geometry, they lack explicit constraints that force consecutive frames to physically align across time.
Methods
TrajVG introduces a 3D tracking branch alongside standard geometry and pose prediction heads. Instead of treating tracking as a byproduct of reconstruction, it uses tracking as an explicit cross-frame geometric constraint.
Key innovations include:
- Camera-Coordinate 3D Tracking: Instead of tracking points in a fixed world space, TrajVG predicts trajectories in the camera coordinate system of each frame. This forces the network to actively explain viewpoint-induced geometric changes rather than lazily predicting a constant state for static points.
- Bidirectional Consistency: The model enforces agreement between the tracked 3D points and the dense pointmap values at those tracked pixels. Crucially, it uses stop-gradients to update the pointmap and tracking branches independently, preventing them from chasing each other's errors or collapsing to an averaged degenerate value.
- Static-Point Pose Gating: To accurately estimate ego-motion, the model isolates rigid background geometry. It uses a binary mask to identify static tracks and updates the camera pose predictions only using these static anchors, suppressing noisy gradients from moving objects.
- Semi-Supervised "In-the-Wild" Training: Because metric 3D trajectory labels are scarce, the authors use an off-the-shelf 2D tracker (CoTracker3) to generate pseudo-2D tracks on unlabeled internet videos. They sample the predicted 3D pointmaps at these 2D locations to create self-supervised consistency losses, allowing the model to learn from massive amounts of diverse, real-world footage.
Datasets
- Training: A massive mixture of datasets is used across a three-stage training pipeline. Fully supervised datasets include CO3Dv2, Mapfree, TartanAir, ScanNet(++), MegaDepth, Waymo, and many others. For semi-supervised training, they utilize Sekai, a large-scale dataset of in-the-wild videos.
- Evaluation:
- 3D Tracking: TAPVid-3D
- Camera Pose: RealEstate10K, Co3Dv2, Sintel, TUM-dynamics, ScanNet
- Point Map Estimation: DTU, ETH3D, 7-Scenes, NRGBD
- Depth Estimation: Sintel, Bonn, KITTI, NYU-v2
Key Insights and Ideas
- World coordinates encourage "lazy" networks: If a network predicts trajectories in world coordinates, static points have a trivial solution (their position never changes). The network learns to output near-zero updates, which kills the gradient signals needed to fix pointmap overlaps or correct camera poses. Forcing predictions in camera coordinates solves this.
- Dense and sparse representations are highly complementary: Dense pointmaps are great for overall scene structure, but sparse 3D tracks are much better at maintaining long-range temporal consistency. Tying them together explicitly gives you the best of both worlds.
- 2D tracks are enough to scale 3D learning: You don't need perfect 3D ground truth to improve 3D models. By enforcing that a model's 3D predictions project correctly onto 2D pseudo-tracks from standard internet videos, you can dramatically improve the model's robustness to complex, real-world motions and appearances.
Key Results
TrajVG consistently outperforms strong feed-forward baselines (like $\pi^3$ and VGGT) across multiple tasks:
- 3D Tracking: Achieved state-of-the-art on TAPVid-3D with an Average Jaccard (AJ$_{3D}$) of 23.1, beating specialized modular pipelines like SpatialTracker2 (22.3).
- Pose Estimation: Set a new SOTA on RealEstate10K with an AUC@30 of 86.60 (vs $\pi^3$'s 85.90) and achieved the lowest translation/rotation errors on the highly dynamic Sintel dataset.
- Point Map Reconstruction: On the complex ETH3D dataset, TrajVG achieved a mean accuracy error of 0.173 (lower is better), significantly outperforming $\pi^3$ (0.194) and VGGT (0.280).
- Video Depth: Achieved SOTA Absolute Relative error on Sintel (0.220) and Bonn (0.036).
Limitations and Future Work
- Scale Ambiguity in Self-Supervision: The authors note that relying solely on 2D pseudo-tracks for self-supervision can lead to geometric drift (like scale ambiguity) or degenerate "shortcut" solutions. To fix this, they must use a mixed-supervision approach where labeled 3D data anchors the metric scale while the unlabeled data improves generalization.
- Training Complexity: The method requires a heavy, three-stage training pipeline, freezing and unfreezing different backbones and heads, which makes reproducing or extending the training process computationally expensive and complex.
- Future Work: While not explicitly detailed, natural next steps would involve simplifying the training pipeline and exploring fully unsupervised ways to resolve metric scale ambiguity in in-the-wild videos.
Summary updated