NEDS-SLAM: A Neural Explicit Dense Semantic SLAM Framework Using 3D Gaussian Splatting

Yiming Ji, Yang Liu, Guanghu Xie, Boyu Ma, Zongwu Xie, Hong LiuIEEE RA-L 2024 · DOI · arXiv

TL;DR

NEDS-SLAM is a real-time, dense semantic SLAM system that leverages 3D Gaussian Splatting (3DGS) to create high-fidelity 3D maps with consistent semantic labels. By introducing a spatial feature fusion module and a novel "virtual camera" pruning technique, it overcomes common 3DGS issues like "floaters" (outlier artifacts) and inconsistent semantic predictions from pre-trained models.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) is the bread and butter of robotics, allowing a machine to understand where it is and what its environment looks like. Semantic SLAM takes this a step further by labeling objects (e.g., "this is a chair," "that is a floor").

However, current state-of-the-art methods face three major hurdles:

  1. Semantic Inconsistency: Pre-trained segmentation models often give different labels for the same object when viewed from different angles, leading to "flickering" or noisy maps.
  2. Outlier Gaussians: In 3DGS-based SLAM, errors in camera tracking or optimization often create "floaters"—stray points that don't correspond to real surfaces. These artifacts create a "vicious cycle" that further degrades tracking accuracy.
  3. Memory Bloat: Storing high-dimensional semantic features for every single Gaussian in a scene quickly exhausts GPU memory.

Methods

NEDS-SLAM introduces three core components to solve these issues:

  • Spatially Consistent Feature Fusion (SCFF): Instead of relying solely on a segmentation head, this module combines semantic features (from DINO) with spatial/appearance features (from DepthAnything). By fusing these, the system ensures that semantic labels are grounded in the actual geometry of the scene, making them much more robust to viewpoint changes.
  • Virtual Camera View Pruning (VCVP): To kill off "floaters," the system generates four "virtual" camera views (rotated slightly up, down, left, and right) for each real frame. If a Gaussian is visible in the real frame but "disappears" in the virtual ones, it’s flagged as an outlier and pruned. This ensures the map stays clean without needing to store a massive history of old keyframes.
  • Lightweight Encoder-Decoder: To save memory, the system doesn't store raw 32-dimensional semantic features. Instead, an MLP encoder compresses these into a compact 3-dimensional representation embedded within the Gaussians. A decoder then translates these back into category labels during rendering.

Datasets

The authors evaluated NEDS-SLAM on three widely recognized benchmarks:

  • Replica: A synthetic dataset of high-quality indoor scenes used for quantitative tracking and reconstruction metrics.
  • ScanNet: A large-scale real-world dataset of indoor environments used to test the system's robustness to real-world sensor noise.
  • TUM-RGBD: Used specifically to compare their outlier pruning method against traditional density control methods.

Key Insights and Ideas

  • Labels vs. Features: The authors argue that directly embedding integer category labels into Gaussians is a mistake. Because 3DGS uses alpha-blending (layering transparent points), blending two different integer labels results in a mathematically meaningless value. Using continuous semantic features that are decoded after blending is far more effective.
  • The Geometry-Semantic Link: By using relative depth (from DepthAnything) as a spatial feature, the SCFF module can "smooth" semantic predictions. If two pixels have similar depth and appearance, they likely belong to the same object, even if the segmentation model is unsure.
  • Efficiency through Pruning: Unlike previous methods that check for consistency across many historical keyframes (which is computationally expensive), VCVP uses the speed of 3DGS rendering to check consistency instantaneously using virtual views.

Key Results

NEDS-SLAM achieves state-of-the-art performance across several categories:

  • Semantic Accuracy: On the Replica dataset, it achieved a Mean Intersection over Union (mIoU) of 90.78%, significantly outperforming previous leaders like SNI-SLAM (87.41%).
  • Tracking Precision: It maintained a highly competitive Average Trajectory Error (ATE RMSE) of 0.354 cm on Replica, proving that better semantics and cleaner geometry directly translate to better camera tracking.
  • Rendering Quality: The system achieved a PSNR of 34.76, indicating very high-fidelity reconstruction compared to other neural SLAM frameworks.
  • Speed: Despite the added complexity, the system runs in real-time, with mapping iterations taking roughly 35ms on a high-end GPU (RTX 4090).

Limitations and Future Work

While NEDS-SLAM is robust, the authors note a few areas for improvement:

  • Computational Overhead: While faster than many competitors, the VCVP module (generating 4 virtual views) does increase the computational load. Further optimization could make it even leaner for mobile robotics.
  • Static Scene Assumption: Like most current 3DGS-SLAM systems, NEDS-SLAM assumes the world is static. Handling dynamic objects (moving people or pets) remains a major frontier for future research.
  • Pre-trained Dependency: The system's performance is still partially tethered to the quality of the underlying models (DINO and DepthAnything). Errors in these foundational models can still propagate through the system.

Summary updated

Abstract

We propose NEDS-SLAM, a dense semantic SLAM system based on 3D Gaussian representation, that enables robust 3D semantic mapping, accurate camera tracking, and high-quality rendering in real-time. In the system, we propose a <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Spatially Consistent Feature Fusion</b> model to reduce the effect of erroneous estimates from pre-trained segmentation head on semantic reconstruction, achieving robust 3D semantic Gaussian mapping. Additionally, we employ a lightweight encoder-decoder to compress the high-dimensional semantic features into a compact 3D Gaussian representation, mitigating the burden of excessive memory consumption. Furthermore, we leverage the advantage of 3D Gaussian splatting, which enables efficient and differentiable novel view rendering, and propose a Virtual Camera View Pruning method to eliminate outlier gaussians, thereby effectively enhancing the quality of scene representations. Our NEDS-SLAM method demonstrates competitive performance over existing dense semantic SLAM methods in terms of mapping and tracking accuracy on Replica and ScanNet datasets, while also showing excellent capabilities in 3D dense semantic mapping.
BibTeX
@article{ji2024neds,
  author = {Yiming Ji and Yang Liu and Guanghu Xie and Boyu Ma and Zongwu Xie and Hong Liu},
  title = {{NEDS-SLAM: A Neural Explicit Dense Semantic SLAM Framework Using 3D Gaussian Splatting}},
  journal = {IEEE Robotics and Automation Letters},
  year = {2024},
  doi = {10.1109/lra.2024.3451390},
}
Figure