NICE-SLAM: Neural Implicit Scalable Encoding for SLAM

Zihan Zhu, Songyou Peng, Viktor Larsson, Weiwei Xu, Hujun Bao, Zhaopeng Cui, Martin R. Oswald, Marc Pollefeys · DOI

Abstract

Neural implicit representations have recently shown encouraging results in various domains, including promising progress in simultaneous localization and mapping (SLAM). Nevertheless, existing methods produce over-smoothed scene reconstructions and have difficulty scaling up to large scenes. These limitations are mainly due to their simple fully-connected network architecture that does not incorporate local information in the observations. In this paper, we present NICE-SLAM, a dense SLAM system that incorporates multi-level local information by introducing a hierarchical scene representation. Optimizing this representation with pre-trained geometric priors enables detailed reconstruction on large indoor scenes. Compared to recent neural implicit SLAM systems, our approach is more scalable, efficient, and robust. Experiments on five challenging datasets demonstrate competitive results of NICE-SLAM in both mapping and tracking quality.

The Challenge of Scalable Dense SLAM

Dense visual Simultaneous Localization and Mapping (SLAM) is a fundamental capability for robotics and AR/VR, requiring the construction of a detailed 3D map while simultaneously tracking a device's position. Traditional methods, such as TSDF-Fusion, offer speed but lack the ability to predict geometry in unobserved regions or fill sensor gaps.

Recent neural approaches, like iMAP, attempted to solve this using a single global Multi-Layer Perceptron (MLP). However, these global representations suffer from two major drawbacks: over-smoothing (loss of fine detail) and poor scalability. Because a global MLP represents the entire scene, every new observation requires updating the whole network, leading to catastrophic forgetting and failure when transitioning from single rooms to large-scale apartments.

Hierarchical Local Encoding

NICE-SLAM (Neural Implicit Scalable Encoding) addresses these scalability issues by shifting from a global representation to a hierarchical local one.

The NICE-SLAM pipeline utilizes hierarchical feature grids and a differentiable renderer to optimize scene geometry and camera tracking.

Key Methodological Innovations:

  • Hierarchical Feature Grids: Instead of one global MLP, the system employs four levels of feature grids: Coarse (2m voxels), Mid (32/16cm), Fine (16/8cm), and Color. This allows the system to capture both broad structures and fine details.
  • Local Updates: By storing the map in grids, the system only optimizes features within the camera's current viewing frustum. This keeps computational costs constant regardless of total scene size and prevents the "forgetting" of previously mapped areas.
  • Pre-trained Geometric Priors: The geometry decoders are pre-trained on indoor datasets, providing an inductive bias that allows the system to perform "geometry forecasting"—plausibly reconstructing walls and floors even in areas the sensor missed.
  • Differentiable Rendering: Similar to NeRF, NICE-SLAM uses volume rendering to produce predicted depth and color. The error between these predictions and actual RGB-D input drives the alternating loop of Mapping (updating the grids) and Tracking (updating camera pose).

Experimental Results

The authors evaluated NICE-SLAM across diverse datasets, including Replica (synthetic), ScanNet (noisy real-world), and a self-captured multi-room apartment sequence.

Qualitative comparison showing NICE-SLAM's superior detail and hole-filling capabilities compared to iMAP* and Ground Truth (GT).

Performance Highlights:

  • Superior Mapping Quality: On the Replica dataset, NICE-SLAM achieved significantly lower depth L1 errors (3.53cm) compared to iMAP (7.64cm), producing much sharper geometry.
  • Robust Tracking: In large-scale ScanNet environments, NICE-SLAM maintained stable tracking with an average ATE RMSE of 9.63cm, whereas previous neural methods often drifted significantly (iMAP* reached 36.67cm).
  • Efficiency: The system is remarkably efficient, using only 1/4 the FLOPs of iMAP and running 2-3x faster, achieving roughly 47ms per tracking iteration on a desktop GPU.

Conclusion and Future Work

NICE-SLAM demonstrates that local feature grids provide the necessary scalability to move neural implicit representations from controlled lab settings into complex, multi-room environments. While it represents a significant leap forward, limitations remain. The system currently lacks a global loop closure mechanism to correct long-term drift, and its forecasting ability is constrained by the resolution of the coarse grid. Future work will likely focus on integrating these global optimization techniques to further enhance tracking robustness in massive environments.

Summary updated

BibTeX
@inproceedings{zhu2021nice,
  author = {Zihan Zhu and Songyou Peng and Viktor Larsson and Weiwei Xu and Hujun Bao and Zhaopeng Cui and Martin R. Oswald and Marc Pollefeys},
  title = {{NICE-SLAM: Neural Implicit Scalable Encoding for SLAM}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.01245},
}
Figure