GPA-VGGT:Adapting VGGT to Large Scale Localization by Self-Supervised Learning with Geometry and Physics Aware Loss
Yangfan Xu, Lilian Zhang, Xiaofeng He, Pengdong Wu, Wenqi Wu, Jun Mao
TL;DR
This work tackles large-scale camera pose and scene geometry estimation under unlabeled data. It extends the Visual Geometry Grounded Transformer (VGGT) with multi-sequence 3D self-supervision by employing temporal sliding windows and physics-aware losses that enforce photometric and geometric consistency across multiple frames, along with robust view selection and auto-masking. The proposed GPA-VGGT achieves rapid convergence and superior pose accuracy and depth quality on KITTI sequences, outperforming both monocular self-supervised and several supervised geometry baselines under the same windowing protocol. The approach demonstrates that carefully designed loss constraints can transfer strong geometric reasoning to transformer-based architectures without architectural changes, enabling scalable, robust large-scale localization. This loss-driven framework has practical implications for outdoor SLAM, autonomous driving, and 3D scene understanding in unlabeled, dynamic environments.
Abstract
Transformer-based general visual geometry frameworks have shown promising performance in camera pose estimation and 3D scene understanding. Recent advancements in Visual Geometry Grounded Transformer (VGGT) models have shown great promise in camera pose estimation and 3D reconstruction. However, these models typically rely on ground truth labels for training, posing challenges when adapting to unlabeled and unseen scenes. In this paper, we propose a self-supervised framework to train VGGT with unlabeled data, thereby enhancing its localization capability in large-scale environments. To achieve this, we extend conventional pair-wise relations to sequence-wise geometric constraints for self-supervised learning. Specifically, in each sequence, we sample multiple source frames and geometrically project them onto different target frames, which improves temporal feature consistency. We formulate physical photometric consistency and geometric constraints as a joint optimization loss to circumvent the requirement for hard labels. By training the model with this proposed method, not only the local and global cross-view attention layers but also the camera and depth heads can effectively capture the underlying multi-view geometry. Experiments demonstrate that the model converges within hundreds of iterations and achieves significant improvements in large-scale localization. Our code will be released at https://github.com/X-yangfan/GPA-VGGT.
