Abstract
Collaborative Structure-from-Motion (SfM) typically relies on matching visual descriptors to align independent 3D reconstructions. However, this dependency introduces significant overhead in terms of storage, hinders interoperability between different software vendors, and poses privacy risks by allowing the potential reconstruction of original images. We present ColabSfM, a framework designed to merge SfM maps using only 3D geometry. By developing a specialized synthetic data pipeline and a refined transformer-based registration model, RefineRoITr, we demonstrate that 3D point clouds contain sufficient structural information to align maps accurately. Our method achieves a 70.2% registration recall on the MegaDepth benchmark, significantly outperforming existing geometric registration methods while maintaining high computational efficiency.
Introduction
Structure-from-Motion (SfM) is a cornerstone of computer vision, enabling the creation of 3D maps from 2D image collections. In collaborative scenarios—such as multi-robot exploration or crowdsourced mapping—it is often necessary to merge independent sub-maps into a unified global coordinate system. Traditionally, this merging process relies on visual descriptors (e.g., SIFT, ORB) to find correspondences between images in different maps.
This descriptor-based approach faces three primary challenges:
- Scalability: Storing descriptors can increase map size by orders of magnitude.
- Interoperability: Different systems often use incompatible descriptor types.
- Privacy: Visual descriptors can be inverted to reveal sensitive image content.
ColabSfM addresses these issues by posing map merging as a 3D point cloud registration problem, completely bypassing the need for visual data during the alignment phase.
Challenges in SfM Registration
While point cloud registration is well-studied for LiDAR and RGB-D data, SfM point clouds present unique difficulties. Unlike LiDAR, SfM reconstructions lack a metric scale, are significantly noisier, and exhibit non-uniform density patterns based on camera viewpoints. Existing models trained on standard 3D datasets (like 3DMatch) typically fail when applied to SfM data because they cannot handle the specific noise profiles and scale ambiguities inherent in photogrammetric pipelines.
Methodology
1. Synthetic SfM Dataset Pipeline
To bridge the gap between standard 3D datasets and SfM-specific challenges, the authors developed a novel synthetic pipeline. Using the MegaDepth dataset, they generated "partial trajectories" by selecting sequential image subsets and re-triangulating them. This process creates pairs of overlapping but independent 3D point clouds that mimic the noise and sparsity of real-world SfM outputs, providing a robust training ground for geometric registration.
2. RefineRoITr Model
The core of the registration engine is RefineRoITr, an evolution of the Rotation-Invariant Transformer (RoITr). While the baseline RoITr uses a Sinkhorn algorithm for coarse matching, RefineRoITr introduces a Neural Refiner. This component utilizes a local transformer to perform interleaved self- and cross-attention on local neighborhoods, effectively "polishing" features to produce more precise point-to-point correspondences. This refinement is critical for the subsequent RANSAC stage to find a valid transformation.
3. Scale Invariance
Because SfM maps have arbitrary scales, ColabSfM implements a normalization procedure. By scaling the point clouds based on the largest singular value of the centered coordinates, the model can operate within a $Sim(3)$ (similarity) transformation framework, ensuring that maps of different initial scales can be aligned correctly.
Experimental Results
The model was evaluated across several challenging benchmarks, including MegaDepth, Cambridge Landmarks, 7-Scenes, and Quad6k.
- Registration Accuracy: On the MegaDepth benchmark, RefineRoITr achieved a Registration Recall (RR) of 70.2% for $SE(3)$ transforms. In contrast, the original RoITr (trained on LiDAR-centric 3DMatch) achieved 0.0%, and OverlapPredator achieved only 10.0%, highlighting the necessity of the SfM-specific training pipeline.
- Generalization: Despite being trained primarily on MegaDepth, the model generalized effectively to the Cambridge Landmarks dataset. It achieved accuracy levels comparable to traditional descriptor-based methods (SIFT+NN) without accessing any visual information.
- Efficiency: The addition of the Neural Refiner is computationally inexpensive. The refinement stage adds only approximately 3ms to the total runtime (increasing from ~100ms to ~103ms), making it suitable for near-real-time applications.
Discussion and Limitations
ColabSfM proves that geometry is often a sufficient "DNA" for map merging. However, some limitations remain. Like all geometric methods, it can struggle with symmetric environments (e.g., identical corridors) where the spatial arrangement of points is ambiguous. Additionally, in very large-scale reconstructions, global drift can introduce non-rigid distortions that a simple similarity transform cannot resolve.
Conclusion
ColabSfM represents a significant step toward privacy-preserving and interoperable collaborative mapping. By demonstrating that 3D structural signatures are sufficient for registration, the authors provide a path forward for merging maps across different platforms and vendors without the baggage of visual descriptors. Future work may involve expanding the synthetic training variety to further improve generalization across different SfM software pipelines.
Summary updated