Papers
Topics
Authors
Recent
Search
2000 character limit reached

Corrective Blurry KNN for Robust SLAM

Updated 6 December 2025
  • The paper introduces CB-KNN, which dynamically blends K-neighbor Gaussian parameters to mitigate noise and outliers, thereby stabilizing pose tracking.
  • It applies corrective updates to both color values and 2D positions during keyframe rendering without altering the canonical 3D map.
  • Empirical results demonstrate reduced Absolute Trajectory Error and relative drift with minimal computational overhead, validating its efficiency in SLAM pipelines.

Corrective Blurry K-Nearest Neighbor (CB-KNN) is an adaptive smoothing mechanism designed for 3D Gaussian Splatting (3DGS)-based SLAM pipelines, optimizing the rasterization process against parameter noise in Gaussian map representation. By introducing a controlled local blur via dynamic correction of RGB values and 2D locations of the K-nearest neighboring Gaussians at each image pixel, CB-KNN regularizes outlier splats and delivers improved robustness in camera pose tracking, while preserving mapping quality.

1. Problem Motivation and Conceptual Underpinning

In 3DGS-based SLAM, a scene is modeled as a set G={g1,…,gN}G = \{g_1, \ldots, g_N\} of NN splats, with each Gaussian gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i) representing spatial location, opacity, radius, and color respectively. SLAM system updates to these parameters, driven by noisy RGB-D sensor data, often result in splats with substantial inaccuracies, particularly near scene borders. Conventional rasterization yields sharp local footprints, so deviations in individual Gaussians propagate as spurious speckles or holes in the rendered image, undermining photometric alignment and pose optimization.

CB-KNN modifies standard rasterization by widening the influence of each Gaussian via an adaptive blur—temporarily blending parameter values among K spatially proximate neighbors per rendering pixel. This acts as a regularization term, mitigating deleterious effects from outliers and stabilizing SLAM tracking. The CB-KNN adjustments are strictly ephemeral and do not overwrite the canonical scene map (Zhang et al., 28 Nov 2025).

2. Mathematical Formulation and Local Corrective Updates

The CB-KNN algorithm operates on pixels in the rendered image domain. For pixel p=(u,v)p = (u, v), let Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\} denote the K Gaussians with centers μpj\mu_{pj} closest to pp under camera projection π\pi.

  • Smoothing Kernel:

For Gaussian gig_i at uiu_i, its attenuation at NN0 is:

NN1

Denoted NN2 for the kernel.

  • Color Correction: For NN3, obtain its normalized weight:

NN4

The corrected color:

NN5

  • Position Correction: Calculate centroid NN6 of 2D projections:

NN7

Shift each NN8 toward NN9 by gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)0:

gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)1

gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)2 is obtained by back-lifting gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)3 to 3D along the viewing ray.

Rendering then proceeds via standard alpha-compositing on the corrected local set gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)4:

  • Color: gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)5
  • Depth: gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)6
  • Contour: gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)7

3. Integration in SLAM Workflow

CB-KNN operates selectively, engaging only in keyframes during SLAM optimization. The principal steps are:

  1. Map Initialization: Generate initial gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)8 from early frames via differentiable rendering with photometric/depth loss minimization.
  2. Tracking Loop:
    • Predict pose via constant-velocity.
    • For non-keyframes, render using original gi=(ui,σi,ri,ci)g_i = (u_i, \sigma_i, r_i, c_i)9 (no CB-KNN).
    • For keyframes:
      • At each pixel p=(u,v)p = (u, v)0, select p=(u,v)p = (u, v)1, apply color and position corrections as above, and render smoothed outputs p=(u,v)p = (u, v)2.
      • Optimize pose p=(u,v)p = (u, v)3 by minimizing:

    p=(u,v)p = (u, v)4

  • Densification: Add new Gaussians where p=(u,v)p = (u, v)5 or depth error is high.
  • Map Update: Prune/optimize p=(u,v)p = (u, v)6 via small-scale backpropagation on recent keyframes using SSIM and p=(u,v)p = (u, v)7 color/depth loss.

4. Empirical Performance and Computational Profile

Extensive evaluation of CB-KNN in (Zhang et al., 28 Nov 2025) demonstrates:

  • Absolute Trajectory Error (ATE, RMSE):
    • Replica: reduced from 0.39 cm to 0.32 cm (vs SplaTAM baseline)
    • TUM-RGBD: 3.31 cm p=(u,v)p = (u, v)8 3.18 cm
    • ScanNet (scene 0181): 13.43 cm p=(u,v)p = (u, v)9 12.48 cm
  • Relative Pose Error (RPE): 20–30% reduction in drift.
  • Rendering Metrics: PSNR/SSIM/LPIPS on par with or improved over baseline (e.g., PSNR +1 dB on TUM-RGBD).
  • Runtime Overhead:
    • Keyframe CB-KNN: Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}03.4 ms (baseline: 3.05 ms)
    • Overall pipeline: Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}10.43 FPS (baseline: 0.31 FPS)
    • Additional per-frame GPU cost Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}210% (A40 GPU).

5. Hyperparameter Selection and Adaptive Behavior

CB-KNN’s principal hyperparameters govern both smoothing strength and computational efficiency:

  • K (Neighbors):

Baseline Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}3; dynamically adapted per keyframe:

Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}4

where Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}5 is local Gaussian density, Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}6 is normalized motion amplitude, Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}7. K increases in low-density or high-motion regions for extra smoothing, decreases where scene is static or densely mapped to preserve detail.

  • Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}8 (Offset Coefficient): Range Gp={gp1,…,gpK}G_p = \{g_{p1}, \ldots, g_{pK}\}9, with practical value μpj\mu_{pj}0. Larger μpj\mu_{pj}1 enforces stronger blur at risk of over-smoothing.
  • Efficiency: Only applied on keyframes and per-pixel on K neighbors, guaranteeing that cost does not scale with full Gaussian count μpj\mu_{pj}2.

6. Relationships to Prior Methods and Broader Implications

CB-KNN distinguishes itself from prior SLAM rasterization strategies by shifting focus from perfect scene fidelity to stable tracking under parameter noise. Unlike purely loss-minimization or full-pipeline redesign approaches, CB-KNN applies a targeted, local regularization without modifying the underlying 3DGS map. This suggests a broader principle: augmenting rendering smoothness during pose optimization can offer substantial gains in robustness, with negligible sacrifice in mapping quality. A plausible implication is the utility of similar adaptive local smoothing strategies for other differentiable rendering-based visual SLAM systems.

7. Practical Summary and Implementation Considerations

CB-KNN constitutes a lightweight, easily integrated rasterization module for SLAM. It executes all corrections as transitory on-the-fly computations during keyframe rendering, ensuring mapping integrity while delivering large improvements in pose tracking accuracy. All methodology and empirical findings are detailed in "Robust 3DGS-based SLAM via Adaptive Kernel Smoothing" (Zhang et al., 28 Nov 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Corrective Blurry KNN (CB-KNN).