TL;DR
This paper introduces "On-the-Fly GS," a novel framework that enables near real-time optimization of 3D Gaussian Splatting (3DGS) models as new images are captured. By integrating an "on-the-fly" Structure-from-Motion (SfM) pipeline with a progressive 3DGS training strategy, it allows for continuous scene reconstruction without the need for a full offline SfM pass, significantly reducing training time and enabling dynamic scene capture.
What Problem Does This Paper Address?
3D Gaussian Splatting (3DGS) has revolutionized real-time rendering of 3D scenes, offering high fidelity and speed. However, existing 3DGS methods require a complete offline training process. This means that after capturing a set of images, they must first be processed by a Structure-from-Motion (SfM) pipeline (like COLMAP) to estimate camera poses and sparse point clouds. Only then can the 3DGS model be trained. This offline dependency prevents immediate novel view synthesis upon data acquisition and makes it unsuitable for applications where scenes are captured dynamically or incrementally, such as in robotics or augmented reality. While some recent works have explored integrating 3DGS with SLAM systems for real-time training, they often rely on continuous video streams or depth sensors, limiting their applicability to scenarios with discrete, arbitrarily captured images. This paper aims to bridge this gap by enabling robust, near real-time 3DGS optimization directly during image capture, even for non-continuous image sequences.
Methods
The core of "On-the-Fly GS" is a progressive training framework that integrates an "on-the-fly" SfM pipeline. Here's a breakdown of the key components:
- On-the-Fly SfM: Instead of a full offline SfM, this system continuously updates camera poses and refines the sparse point cloud as each new image arrives. It uses a Hierarchical Weighted Local Bundle Adjustment (BA) that focuses computation on neighboring images, making it efficient for incremental updates.
- Progressive 3DGS Training: The 3DGS model is not trained all at once. Instead, it's optimized in phases:
- Initial 3DGS Training: A baseline 3DGS model is trained on a small initial set of images to prevent overfitting.
- Progressive 3DGS Training: As new images are captured and their poses are estimated by the on-the-fly SfM, new Gaussians are added to the 3DGS field. The optimization then prioritizes training the new image and its overlapping neighbors.
- Final Optimization: After all images are processed, a final global BA is performed, followed by a rapid optimization to enhance overall rendering quality.
- Local & Semi-Global Optimization: To balance training effort, the framework uses a hierarchical image weighting strategy. Images with higher overlap to the new image receive more training iterations (local optimization), while others receive a portion of the remaining training budget (semi-global optimization). This ensures new areas are learned quickly without forgetting previously learned parts of the scene.
- Adaptive Learning Rate: To account for varying training progress across images, a dynamic learning rate schedule is employed. It considers the training iterations of individual images and their neighbors, adjusting the learning rate to ensure consistent quality.
- Load Balancing: Inspired by Adr-Gaussian, a load-balancing loss is introduced to prevent excessive Gaussian accumulation in some regions and encourage densification in newly added areas, improving training efficiency and model size.
- Splatting-Based Parallelism: To further accelerate backpropagation, the authors adopt a splatting-based parallel computation strategy, eliminating contention for shared resources and speeding up gradient accumulation.
Datasets
The paper evaluates "On-the-Fly GS" on a variety of datasets:
- RGB Datasets:
- 3DGS (indoor scenes: skfx, kitchen, counter)
- Mip-NeRF 360 (outdoor scenes: Temple, JYYL, WHU)
- On-the-Fly SfM (UAV datasets: npu, phantom3)
- RGB-D Datasets:
- Replica (indoor scenes: room0, room1, room2, office0, office1, office2, office3, office4)
The datasets are processed as simulated sequential inputs, mimicking the "on-the-fly" capture scenario.
Key Insights and Ideas
- Decoupling SfM and 3DGS Training: The most significant insight is that 3DGS optimization doesn't need to wait for a complete, offline SfM. By integrating an incremental SfM, training can happen concurrently with data capture, unlocking real-time and progressive reconstruction.
- Prioritizing New Information: The hierarchical image weighting and local/semi-global optimization strategies are crucial for handling dynamic scenes. They ensure that newly acquired visual information is quickly integrated and rendered with high quality, preventing the model from becoming stale.
- Adaptive Learning for Dynamic Scenes: The adaptive learning rate schedule is a clever solution to the problem of uneven training progress across images in a dynamic sequence. It allows the system to adapt to the varying needs of different parts of the scene as it evolves.
- Versatility Beyond Continuous Streams: The framework's ability to handle arbitrarily captured, non-spatiotemporally continuous images (as long as there's sufficient overlap) makes it far more broadly applicable than SLAM-based methods that rely on dense video or depth data.
Key Results
- Reduced Training Time: "On-the-Fly GS" significantly reduces training time, optimizing each new image in seconds with minimal rendering loss. For example, on RGB datasets, it achieves significantly higher rendering quality with less cost time compared to offline methods.
- Competitive Rendering Quality: Despite the focus on speed and progressive training, the method achieves competitive or superior rendering quality (PSNR, SSIM) compared to existing offline and SLAM-based 3DGS methods on various datasets.
- Improved Efficiency: The method demonstrates a pronounced advantage on UAV datasets, outperforming other solutions in both training efficiency and rendering quality.
- Smaller Model Size: The load-balancing strategy helps reduce the number of Gaussians, leading to smaller model sizes.
- Robustness to Low Overlap: The framework shows robustness even with datasets exhibiting low overlap between consecutive image pairs, a challenge for some SLAM-based methods.
Limitations and Future Work
- Overlap Requirement: The method still requires a certain degree of overlap between newly captured images and previously registered views. It does not rely on depth priors, but this overlap is essential for the SfM and optimization process.
- Dynamic Scenes: While the framework is designed for progressive capture, it doesn't explicitly handle highly dynamic scenes with significant object movement within the captured frames. The current approach focuses on optimizing the static geometry of the scene as it's incrementally captured.
- Future Work: The authors suggest that their framework is a practical step towards rapid, progressive 3DGS reconstruction. Future work could explore further optimizations for even faster training, handling more complex dynamic scenes, and extending its applicability to a wider range of real-world applications.
Summary updated