NICER-SLAM

Zhu 2024 · Paper

One-line summary — An RGB-only neural implicit SLAM system that jointly optimises camera poses and a hierarchical SDF map, replacing the missing depth sensor with monocular depth/normal priors, optical flow, and a warping loss — reconstruction competitive with RGB-D systems.

Problem

Neural implicit SLAM systems “either rely on RGB-D sensors, or require a separate monocular SLAM approach for camera tracking and do not produce high-fidelity dense 3D scene reconstruction” (abstract). RGB-only SLAM is harder for three reasons the paper spells out: depth ambiguity (many correspondences match the colours, especially without texture), less localised surface estimation, and a less constrained, slower-converging optimisation. The question posed: can a unified dense SLAM system use one neural implicit representation for both tracking and mapping from a monocular RGB video?

Method & architecture

Hierarchical SDF + colour representation. A coarse dense voxel grid (32332^3, 32-dim features) with a small MLP fcoarsef^{\text{coarse}} gives a base SDF; multi-resolution fine grids (L=8L=8 levels, resolutions Rl=RminblR_l = \lfloor R_{\min} b^{l} \rfloor geometrically spaced from Rmin=32R_{\min}=32 to Rmax=128R_{\max}=128) with ffinef^{\text{fine}} predict a residual, so the final SDF is

s^=scoarse+Δs.\hat{s} = s^{\text{coarse}} + \Delta s.

Colour uses its own multi-resolution grid (L=16L=16, up to Rmax=2048R_{\max}=2048) and decoder c^=fcolor(x,n^,γ(v),zcoarse,zfine,{Φlcolor(x)})\hat{\mathbf{c}} = f^{\text{color}}\bigl(\mathbf{x}, \hat{\mathbf{n}}, \gamma(\mathbf{v}), \mathbf{z}^{\text{coarse}}, \mathbf{z}^{\text{fine}}, \{\Phi^{\text{color}}_l(\mathbf{x})\}\bigr), conditioned on the SDF-derived normal n^\hat{\mathbf{n}} and view direction v\mathbf{v}.

Volume rendering with locally adaptive SDF-to-density. SDF samples become densities via the VolSDF transform σβ(s)\sigma_\beta(s) (scaled exponential for s0s\le 0, 1β(112exp(sβ))\frac{1}{\beta}\bigl(1-\frac{1}{2}\exp(-\frac{s}{\beta})\bigr) for s>0s>0), then colour/depth/normal are alpha-composited: C^=i=1NTiαic^i\hat{C} = \sum_{i=1}^{N} T_i \alpha_i \hat{\mathbf{c}}_i with αi=1exp(σiδi)\alpha_i = 1-\exp(-\sigma_i\delta_i), Ti=j=1i1(1αj)T_i = \prod_{j=1}^{i-1}(1-\alpha_j). Instead of VolSDF’s single global β\beta, a per-voxel (64364^3) sample counter TpT_p sets sharpness locally:

β=c0exp(c1Tp)+c2,\beta = c_0 \cdot \exp(-c_1 \cdot T_p) + c_2,

so well-observed regions render crisp surfaces while barely-seen ones stay soft.

Losses replace the depth sensor. Mapping minimises

L=Lrgb+0.5Lwarp+0.001Lflow+0.1Ldepth+0.05Lnormal+0.1Leikonal,\mathcal{L} = \mathcal{L}_{\text{rgb}} + 0.5\,\mathcal{L}_{\text{warp}} + 0.001\,\mathcal{L}_{\text{flow}} + 0.1\,\mathcal{L}_{\text{depth}} + 0.05\,\mathcal{L}_{\text{normal}} + 0.1\,\mathcal{L}_{\text{eikonal}},

where Lwarp\mathcal{L}_{\text{warp}} compares each pixel’s colour with its reprojection into nearby keyframes through the rendered depth; Lflow\mathcal{L}_{\text{flow}} matches induced correspondences to GMFlow optical flow; the monocular depth loss is scale/shift invariant, Ldepth=r(wD^(r)+q)Dˉ(r)2\mathcal{L}_{\text{depth}} = \sum_{\mathbf{r}} \lVert (w\hat{D}(\mathbf{r})+q) - \bar{D}(\mathbf{r})\rVert^2 with w,qw,q solved per image in closed form; Lnormal\mathcal{L}_{\text{normal}} imposes L1 + angular consistency with predicted monocular normals; and the Eikonal term x(s^(x)21)2\sum_{\mathbf{x}}(\lVert\nabla\hat{s}(\mathbf{x})\rVert_2 - 1)^2 regularises the SDF.

System. Mapping runs every 5 frames in three stages (coarse only; + fine grids after 25% of iterations; local BA after 75%, jointly optimising poses of half of K=16K=16 selected frames), sampling M=8096M=8096 rays. Tracking runs every frame in parallel, optimising only the current pose with the RGB loss over Mt=1024M_t=1024 pixels for 100 iterations. Per-iteration cost: 496 ms mapping, 147 ms tracking on an A100. Meshes come from marching cubes at 5123512^3.

Results

Why it matters for SLAM

NICER-SLAM showed that unified neural implicit SLAM does not fundamentally depend on depth sensors: priors from monocular depth/normal networks plus flow and warping consistency can substitute for direct depth supervision, at the cost of tracking accuracy versus specialised odometry. This broadened dense neural SLAM to plain monocular cameras, and its recipe — monocular geometric cues, flow consistency, locally adaptive SDF rendering — reappears throughout later RGB-only neural and Gaussian SLAM systems such as MonoGS.