CG-SLAM: Efficient Dense RGB-D SLAM in a Consistent Uncertainty-Aware 3D Gaussian Field

Jiarui Hu, Xianhao Chen, Boyin Feng, Guanglin Li, Liangjing Yang, Hujun Bao, Guofeng Zhang, Zhaopeng Cui

Introduction

Dense Visual SLAM (Simultaneous Localization and Mapping) is a fundamental technology for applications in AR/VR and autonomous robotics, requiring a system to construct a detailed 3D map while tracking its own position in real-time. While Neural Radiance Fields (NeRFs) have recently set a high bar for photorealistic mapping, their reliance on computationally expensive ray-tracing often prevents real-time performance.

CG-SLAM addresses this bottleneck by replacing NeRF-based volume rendering with an efficient, uncertainty-aware 3D Gaussian field. By introducing novel geometric constraints and a depth uncertainty model, CG-SLAM achieves state-of-the-art tracking and mapping accuracy at a real-time speed of approximately 15 Hz.

Methodology

CG-SLAM adapts 3D Gaussian Splatting (3DGS) into a robust SLAM framework through several key innovations designed to overcome the "overfitting" issues common in standard 3DGS, where Gaussians become highly anisotropic (arrow-shaped) and fail to align with physical surfaces.

Uncertainty-Aware Gaussian Field

The system attaches an "uncertainty" property to each Gaussian primitive. By analyzing depth biases across multiple viewpoints, the system identifies and prunes unreliable Gaussians, such as "floaters" or noise, ensuring that only informative primitives are used for tracking.

Figure 4: Visualization of the 3D Gaussian field reconstruction and camera trajectory within a scene.

Geometric Regularization and Alignment

To maintain stable geometry, CG-SLAM employs two primary losses:

  1. Isotropy Loss ($L_{iso}$): Encourages Gaussians to remain more spherical, preventing the formation of thin "arrows" that break down during camera rotation.
  2. Alignment Loss ($L_{align}$): Forces the "median depth" (the depth of the most influential Gaussian) to match the "alpha-blended depth." This concentrates Gaussian density directly on the scene's surfaces rather than spreading it out like a fog.

Tracking and Optimization

The system utilizes a custom GPU rasterizer based on rigorous derivative analysis of camera poses. This allows for direct optimization of camera poses using Lie algebra. Global consistency is maintained through a NetVLAD-based sliding bundle adjustment across keyframes.

Key Results

CG-SLAM was evaluated on standard benchmarks including Replica, TUM-RGBD, and ScanNet. The system demonstrates a significant leap in both efficiency and accuracy compared to previous implicit-field methods.

Figure 6: Performance summary of CG-SLAM showing high PSNR, low tracking error (Acc/RMSE), and real-time 15 Hz operation across multiple environments.
  • Tracking Accuracy: On the Replica dataset, CG-SLAM improved tracking accuracy (measured by ATE RMSE) by 25% to 75% over previous state-of-the-art methods like NICE-SLAM and Co-SLAM.
  • Real-Time Performance: Achieving ~15 Hz, CG-SLAM is significantly faster than NeRF-based competitors, which typically operate between 1-5 Hz.
  • Mapping Quality: The resulting meshes are cleaner with fewer artifacts. The uncertainty model effectively filters out sensor noise and motion blur, even in challenging real-world datasets like ScanNet.

Conclusion and Future Work

By shifting from ray-marching to rasterization and prioritizing geometric consistency over pure photorealism, CG-SLAM solves the efficiency bottleneck of neural SLAM. While the explicit nature of 3D Gaussians leads to a higher memory footprint compared to MLP-based NeRFs, the gains in speed and tracking stability are substantial. Future research will focus on field compression and extending the system to handle dynamic environments with moving objects.

Summary updated

BibTeX
@inproceedings{hu2024cg,
  author = {Jiarui Hu and Xianhao Chen and Boyin Feng and Guanglin Li and Liangjing Yang and Hujun Bao and Guofeng Zhang and Zhaopeng Cui},
  title = {{CG-SLAM: Efficient Dense RGB-D SLAM in a Consistent Uncertainty-Aware 3D Gaussian Field}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72698-9\_6},
}
Figure