TL;DR
MERG3R is a training-free, model-agnostic framework that enables transformer-based 3D reconstruction models to scale to large, unordered image collections without running out of GPU memory. By partitioning images into overlapping, geometrically diverse clusters and merging them via global bundle adjustment, it reduces memory usage from >64GB to ~20GB on 1,000 images while maintaining state-of-the-art accuracy.
What Problem Does This Paper Address?
Recent transformer-based neural visual geometry models (such as VGGT and $\pi^3$) have revolutionized 3D reconstruction by jointly predicting camera poses and dense point clouds directly from images. However, these models rely on full self-attention mechanisms, which scale quadratically ($O(N^2)$) in both computation and memory relative to the number of input images.
As a result, they quickly hit GPU memory limits (Out-Of-Memory errors) when faced with large image datasets, making them impractical for city-scale modeling or complex environments containing thousands of images. Existing workarounds either sacrifice long-range geometric reasoning (which degrades accuracy) or require strictly ordered video sequences. MERG3R addresses this scalability bottleneck for large, completely unordered image collections.
Methods
MERG3R introduces a training-free "divide-and-conquer" pipeline that breaks down large-scale reconstruction into manageable pieces:
- Image Set Ordering and Partitioning: To handle unordered images, the framework first computes a dense visual-similarity matrix using DINO features. It solves for an approximate Hamiltonian path to arrange the images into a "pseudo-video" sequence maximizing visual continuity. Crucially, it then uses interleaved sampling to split this sequence into overlapping subsets (clusters). This interleaving ensures each cluster contains a diverse set of viewpoints rather than just nearly identical, temporally adjacent frames.
- Local Reconstruction: Each cluster is processed independently using an off-the-shelf geometric foundation model to generate local pointmaps and camera poses. This step can be easily parallelized across multiple GPUs.
- Cluster Alignment: Overlapping clusters are aligned into a common global reference frame using a robust, Huber-loss-based iterative similarity-transform estimator.
- Tracking & Global Bundle Adjustment: A lightweight feature-matching model (SuperPoint + LightGlue) builds a sparse graph across frames to establish multi-view point tracks. Finally, a gradient-based global bundle adjustment step jointly optimizes camera intrinsics, extrinsics, and 3D point positions by minimizing confidence-weighted 2D reprojection errors.
Datasets
The authors evaluated MERG3R across several standard large-scale datasets without any image subsampling:
- 7-Scenes: An indoor environment dataset used for evaluating camera pose accuracy and point cloud quality.
- NRGBD: An indoor dataset used to evaluate dense point cloud reconstruction metrics.
- Tanks & Temples (T&T): A large-scale outdoor and indoor benchmarking dataset for 3D reconstruction.
- Cambridge Landmarks: An outdoor urban dataset used for large-scale camera relocalization and trajectory evaluation.
- Zip-NeRF Dataset: Used for qualitative evaluation on long sequences containing up to ~1,900 images.
Key Insights and Ideas
- Interleaved Sampling is Crucial: Simply chunking a video sequence into consecutive blocks (a standard sliding window) results in clusters with very low viewpoint diversity. Interleaved sampling mixes frames from different parts of the pseudo-video, providing the multi-view diversity that neural geometry models need to make accurate local reconstructions.
- Model-Agnostic Scalability: Because MERG3R acts as an external wrapper framework rather than a new model architecture, it can instantly upgrade any existing or future transformer-based geometric foundation model to handle large-scale datasets without retraining.
- Linear Tracking Scaling: By utilizing a sparse k-NN graph for feature matching (via LightGlue) instead of naive pairwise matching, tracking complexity scales linearly ($O(kN)$) rather than quadratically, making it highly efficient for thousands of images.
Key Results
- Massive Memory and Time Savings: For a sequence of 1,000 images on 7-Scenes, standard baselines like VGGT and $\pi^3$ run out of memory on a 64GB GPU. MERG3R successfully processes the sequence using only ~20GB of VRAM and cuts execution time down to ~8.5 minutes (compared to over 20 minutes projected for baselines).
- Superior Accuracy: On 1,000-image sequences, MERG3R combined with $\pi^3$ achieved the highest accuracy on 7-Scenes (AUC@30° of 83.63), outperforming other scalable baselines like VGGT-Long (75.11) and TTT3R (30.95).
- Robust Trajectory Estimation: Qualitative results show that MERG3R produces highly accurate and consistent camera trajectories over hundreds of frames where other test-time optimization methods fail or drift significantly.
Limitations and Future Work
While MERG3R successfully bounds memory usage and scales efficiently, its final performance remains bounded by the quality of the underlying geometric foundation model used for local reconstructions. Additionally, the initial pseudo-video ordering relies heavily on DINO-based visual similarity; in scenes with extreme perceptual aliasing (such as highly repetitive architectural structures or symmetrical buildings), the Hamiltonian path estimation might introduce ordering errors that could affect downstream cluster alignment.
The authors suggest that future work could explore tighter integration with downstream neural rendering pipelines (like NeRFs or 3D Gaussian Splatting) or adaptive cluster sizing based on available hardware memory.
Summary updated