SDF-BA: Geometric Bundle Adjustment in Signed Distance Fields for LiDAR SLAM

Yingyu Wang, Tiancheng Li, Lan Wu, Liang Zhao, Shoudong HuangarXiv 2026

TL;DR

When robots build dense 3D maps using LiDAR, tiny errors in where the robot thinks it is get permanently baked into the map's geometry, creating warped walls and double-layered floors. This paper introduces SDF-BA, a mathematical framework that treats both the robot's trajectory and the 3D distance field itself as fluid variables, optimizing them simultaneously to iron out distortions. By figuring out how to safely link raw laser rays to surrounding empty space without getting tricked by nearby obstacles, the authors achieve cleaner maps and sharper trajectories across massive, unstructured environments.

What Problem Does This Paper Address?

Imagine sketching a floor plan while walking through a dark house with a flashlight. If you misjudge a step, you draw the next wall slightly crooked; worse, you then use that crooked wall to orient yourself for the rest of the room.

In robotics, dense mapping often relies on Truncated Signed Distance Fields (TSDFs)—3D voxel grids where each cell stores the distance to the nearest physical surface (zero means you're right on a surface, positive is outside, negative is inside). Standard LiDAR SLAM pipelines decouple tracking and mapping: estimate the new pose against the current map, freeze that pose, and fuse the new scan into the grid. Because poses and map values aren't adjusted together, pose drift gets permanently embedded into the geometry.

In visual SLAM, we fix this with Bundle Adjustment (BA)—jointly optimizing camera poses and 3D landmarks. Doing geometric BA directly inside a TSDF using LiDAR rays, however, hits two snags:

  1. Underdetermined off-surface space: Requiring laser hit-points to sit on the zero-distance surface leaves surrounding voxels free to warp and absorb pose errors.
  2. Local-to-global distance mismatch: If you sample a point along a laser ray 1 meter in front of a wall, its ray distance is 1 meter. Move into the global 3D map, though, and a table leg might be only 10 centimeters away from that exact sample. Ray distances simply don't equal global shortest distances.
Challenges of formulating geometric SDF-BA: zero-level surface hits leave surrounding voxels underdetermined, while off-surface ray distances don't match true nearest-surface SDF values.

Methods

Instead of extracting flat planes or discrete surface patches (surfels), the authors optimize robot poses alongside explicit voxel distance values in a unified nonlinear least-squares problem (SDF-BA).

To solve the local-to-global mismatch, they sample points along each LiDAR ray—both slightly in front of and behind the measured hit point—and introduce a novel Ray-Surface-Space (RSS) Consistency Term:

  • Geometric Projection: Using fundamental SDF calculus (specifically, that the gradient of a Euclidean distance field has unit length and points straight away from the nearest surface), any off-surface sample point can be projected directly onto its implied closest surface using the current grid's values and gradients.
  • Shared-Normal Coupling: Rather than pretending the ray distance equals the voxel's SDF value, RSS checks if the projected surface shares a consistent local normal with the laser's actual hit point. If it passes four geometric validation checks (filtering out occlusions or rival surfaces like that pesky table leg), the residual couples the pose, ray angle, and off-surface TSDF values together. This works smoothly on curved terrain, not just flat walls.

Alongside RSS, the objective balances a Surface Term (anchoring laser hits to zero), a Space Term (keeping voxel projections internally consistent), Laplacian Regularization, and front-end Odometry.

Overview of the SDF-SLAM pipeline, combining local joint pose–TSDF bundle adjustment (SDF-BA) with global submap pose graph optimization.

To scale up without running out of RAM, SDF-SLAM wraps SDF-BA into a submap framework: poses and compact TSDF bands are jointly optimized inside bounded local submaps, which are then stitched together globally via direct SDF-to-SDF pose graph optimization and stored sparsely using OpenVDB.

Datasets

The authors evaluate on 18 real-world sequences across five public benchmarks (no new datasets are introduced):

  • Newer College 2020 & 2021 (NC20, NC21): Handheld Ouster LiDAR scans spanning indoor stairs, cloisters, underground tunnels, and outdoor parks, paired with survey-grade laser-scanned ground truth maps.
  • Arche: A UAV disaster-area flight with RTK-GNSS ground truth.
  • Botanic Garden (BG): Wheeled robot data using a Livox Avia LiDAR in unstructured vegetation, trails, and bridges.
  • MARS-LVIG: Challenging high-altitude UAV flights (up to ~4.9 km long) over towns, valleys, islands, and airports.

Key Insights and Ideas

  • Zero-level alignment isn't enough: Ablations removing the RSS term cause trajectory errors in unstructured gardens (BG) to more than double (from 0.049 m to 0.109 m). Turning surrounding off-surface voxels into observation-constrained variables prevents the field from silently deforming to hide bad poses.
  • Primitive-free resilience: Plane-based BA methods shine in hallways, but when the authors injected synthetic IMU drift and LiDAR range noise, plane- and surfel-based competitors frequently diverged or crashed in leafy, unstructured scenes. Querying a continuous TSDF avoids brittle feature extraction and discrete correspondence searches altogether.
  • TSDFs naturally compress dense BA: Compared to 3D occupancy-grid BA—which tracks probabilities across vast empty volumes—restricting map states to the thin truncation band around surfaces requires 13.4$\times$ to 35.2$\times$ fewer active variables, slashing iteration times by up to 13.6$\times$.

Key Results

  • Trajectory Accuracy: On full trajectories, SDF-SLAM achieves the lowest dataset-level Absolute Pose Error (APE) across all five benchmarks (ranking 1st on 16 of 18 sequences). On the massive MARS-LVIG aerial dataset, it cuts average error by 57.6% over the best competitor (MAD-BA, dropping from 1.418 m to 0.601 m), and by 75.3% on AMvalley 01 (1.045 m vs. 4.234 m).
  • Reconstruction Quality: On NC20 and NC21, SDF-SLAM delivers the best average Chamfer-L1 distance, reducing surface error by 20.3% (9.94 cm) and 24.2% (7.26 cm) over the strongest baselines, visibly eliminating doubled terrain layers and wall gaps.
  • Efficiency: Operating in CPU batch mode, SDF-SLAM finishes 12 of 18 sequences faster than real-time sensor acquisition—running up to 29.6$\times$ faster than dense surfel BA (MAD-BA) on long park trajectories while using 5$\times$ to 6$\times$ less peak RAM than online Voxgraph on large aerial maps.

Limitations and Future Work

  • Batch Processing & Compute Cost: SDF-SLAM currently runs in batch mode at keyframe rates (2 Hz) rather than high-rate online tracking, and remains slower than lightweight, parallelized plane-only solvers (like HBA) when simple planar walls are abundant.
  • Decoupled Global Stage: Global optimization aligns submap coordinate frames rigidly, freezing internal submap TSDF geometry once local SDF-BA finishes.
  • Future Directions: The authors plan to explore faster large-scale solvers, tighter coupling between local and global optimization stages, and richer signed distance representations tailored for downstream robot navigation and exploration.

Summary updated

BibTeX
@misc{wang2026sdf,
  author = {Yingyu Wang and Tiancheng Li and Lan Wu and Liang Zhao and Shoudong Huang},
  title = {{SDF-BA: Geometric Bundle Adjustment in Signed Distance Fields for LiDAR SLAM}},
  year = {2026},
  eprint = {2611.38137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38137},
}
Figure