FMapping: Factorized Efficient Neural Field Mapping for Real-Time Dense RGB SLAM

Tongyan Hua, Haotian Bai, Zidong Cao, Lin WangarXiv 2023

Abstract

In this paper, we introduce FMapping, an efficient neural field mapping framework that facilitates the continuous estimation of a colorized point cloud map in real-time dense RGB SLAM. To achieve this challenging goal without depth, a hurdle is how to improve efficiency and reduce the mapping uncertainty of the RGB SLAM system. To this end, we first build up a theoretical analysis by decomposing the SLAM system into tracking and mapping parts, and the mapping uncertainty is explicitly defined within the frame of neural representations. Based on the analysis, we then propose an effective factorization scheme for scene representation and introduce a sliding window strategy to reduce the uncertainty for scene reconstruction. Specifically, we leverage the factorized neural field to decompose uncertainty into a lower-dimensional space, which enhances robustness to noise and improves training efficiency. We then propose the sliding window sampler to reduce uncertainty by incorporating coherent geometric cues from observed frames during map initialization to enhance convergence. Our factorized neural mapping approach enjoys some advantages, such as low memory consumption, more efficient computation, and fast convergence during map initialization. Experiments on two benchmark datasets show that our method can update the map of high-fidelity colorized point clouds around 2 seconds in real time while requiring no customized CUDA kernels. Additionally, it utilizes x20 fewer parameters than the most concise neural implicit mapping of prior methods for SLAM, e.g., iMAP and around x1000 fewer parameters than the state-of-the-art approach, e.g., NICE-SLAM.

Introduction

Dense Visual Simultaneous Localization and Mapping (SLAM) is a critical component for autonomous robots, enabling them to build 3D maps of unknown environments in real-time. While RGB-D (depth) sensors have simplified this task, they are often unsuitable for outdoor use, consume significant power, and are absent from many standard mobile platforms.

The challenge of "RGB-only" dense SLAM is two-fold: mapping uncertainty and computational efficiency. Without depth data, systems struggle to determine surface locations along a line of sight, leading to noisy artifacts. Furthermore, representing dense 3D scenes typically requires massive memory or heavy computation, making real-time performance on mobile hardware difficult.

Methodology

FMapping addresses these hurdles through two primary innovations: a factorized scene representation and a sliding window sampling strategy.

Factorized Radiance Field

Instead of representing the scene as a dense 3D voxel grid, which scales cubically with scene size, FMapping uses a tensor factorization scheme. It decomposes the 3D space into a combination of 2D planes and 1D lines. This factorization naturally acts as a low-pass filter, reducing noise and drastically shrinking the number of parameters needed to store the map.

Comparison of scene representation methods: Multi-scale Grid, Tri-Plane, and the proposed Factorization.

Sliding Window Sampler

To accelerate convergence during map initialization, the system employs a sliding window sampler. This sampler identifies high-reward intervals along camera rays where surfaces likely exist by incorporating coherent geometric cues from multiple observed frames. This significantly reduces mapping uncertainty compared to standard random sampling.

Experiments and Results

The researchers evaluated FMapping on the Replica dataset (synthetic indoor environments) and the TUM RGB-D dataset (real-world sequences).

Efficiency and Fidelity

FMapping achieves extreme compression, using only 0.01 million parameters—1,000x fewer than NICE-SLAM and 20x fewer than iMAP. Despite this, it maintains high-fidelity reconstruction, achieving a completion ratio of ~80% on the Replica dataset, nearly doubling the performance of iMAP when depth supervision is removed.

Qualitative comparison of FMapping against NICE-SLAM and iMAP across different frame counts (100, 400, 1800).

Key results include:

  • Real-Time Performance: The system updates high-fidelity colorized point cloud maps in approximately 2 seconds using standard PyTorch, without requiring specialized CUDA kernels.
  • Robustness: While prior methods like NICE-SLAM struggle without depth data, FMapping maintains stable reconstruction throughout the SLAM process.

Conclusion

FMapping demonstrates that factorizing neural fields can serve as both a powerful compressor and an effective denoiser for RGB-only SLAM. While the system currently relies on external trackers for high-speed motion, its efficiency and portability make it a strong candidate for real-world robotic applications. Future work will focus on end-to-end integration and scaling to larger, multi-room environments.

Summary updated

BibTeX
@misc{hua2023fmapping,
  author = {Tongyan Hua and Haotian Bai and Zidong Cao and Lin Wang},
  title = {{FMapping: Factorized Efficient Neural Field Mapping for Real-Time Dense RGB SLAM}},
  year = {2023},
  eprint = {2306.00579},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.00579},
}
Figure