Research
Odometer-Agnostic Drift Correction Using OpenStreetMap Lane Geometry
Any odometry system — LiDAR, camera, or wheel-based — slowly accumulates positional error over long drives, and this drift is worst where loop closures are rare and GPS is unreliable.

- arXiv
- 2609.10336
- Published
- 2026-09-09
- Authors
- Joaquin Caballero, Emilio Garcia-Fidalgo, Alberto Ortiz, Jarno Ralli
In plain words
Any odometry system — LiDAR, camera, or wheel-based — slowly accumulates positional error over long drives, and this drift is worst where loop closures are rare and GPS is unreliable. High-definition (HD) maps can correct this, but they are expensive to build and maintain, while existing OSM-based alternatives often need dense priors, LiDAR-specific processing, or expensive global map matching.
AI summary
Overview
Research area: Mobile robotics and autonomous driving — map-assisted localization, specifically odometry drift correction using lightweight, publicly available map data.
Technical level: Intermediate. The paper is readable without deep mathematics, but familiarity with odometry concepts, rigid-body transforms in SE(2), and iterative closest point (ICP) alignment helps.
Scope: The paper proposes and evaluates a lightweight, open-source method that corrects accumulated drift in any odometry source by aligning short sliding-window trajectory segments to lane centerlines extracted from OpenStreetMap (OSM).
What This Paper Is About
Any odometry system — LiDAR, camera, or wheel-based — slowly accumulates positional error over long drives, and this drift is worst where loop closures are rare and GPS is unreliable. High-definition (HD) maps can correct this, but they are expensive to build and maintain, while existing OSM-based alternatives often need dense priors, LiDAR-specific processing, or expensive global map matching. The authors ask whether sparse, freely available OSM lane centerlines alone provide enough geometric constraint to substantially reduce drift, and they answer with a small online alignment pipeline that works on top of any odometry backend.
Key Contributions
-
An odometry-agnostic correction framework that treats odometry as a black box: it refines the output trajectory of any pose source (LiDAR, visual, wheel-IMU) using only 2D lane geometry, with no changes to the underlying estimator.
-
A minimal map representation and preprocessing pipeline that queries OSM road data with Overpass, converts it to Lanelet2 format via CommonRoad tools, projects it to a local UTM frame, derives lane centerlines, applies a 3 m minimum point-spacing filter, and indexes the result in a 2D KD-tree — no road-graph construction or dense map generation.
-
A robust correspondence rule combining a normal-projection constraint (the trajectory point's normal must intersect the lane segment within its bounds) with a directional consistency filter (cosine similarity ≥ 0.95), which resolves ambiguous matches among parallel lanes and intersections without a brute-force search.
-
A sliding-window trimmed-ICP correction stage with correspondence-ratio gating (η = 0.5), an error threshold for accepting a correction, and a failure-counter restart mechanism, keeping computation bounded while allowing recovery from severe drift. The code is released publicly.
Main Findings
-
Best mean APE-2D against KISS-ICP-based OSM correctors: On the nine evaluated KITTI sequences, the method achieves a mean APE-2D of 1.39 m, versus 3.74 m for raw KISS-ICP and 2.18 m for Kurda et al. On the subset of sequences where Li et al. report results, the method obtains 1.27 m versus their 1.50 m.
-
Not dominant on every sequence: On KITTI sequence 01 the method improves KISS-ICP from 2.97 m to 2.81 m but is worse than Kurda et al. (1.57 m); on sequence 07 it reaches 1.10 m versus 0.38 m for raw KISS-ICP and 0.62 m for Kurda et al. The authors attribute this to highway-like geometry with long straight segments and frequent lane changes, where lane centerlines give weak constraints.
-
Better than TOM-Odometry with ORB-SLAM3: On the five KITTI sequences reported by TOM-Odometry, the method improves ORB-SLAM3 on all five and reaches a mean APE-2D of 1.79 m, compared with 4.72 m for raw ORB-SLAM3 and 2.14 m for TOM-Odometry.
-
Consistent gains across four backends and two datasets: Mean APE-2D drops for LiODOM, Basalt, KISS-ICP and ORB-SLAM3 on both KITTI and KITTI-360. On KITTI-360, LiODOM falls from 334.33 m to 19.24 m and KISS-ICP from 82.73 m to 12.17 m; on KITTI, LiODOM falls from 104.61 m to 59.84 m and KISS-ICP from 3.74 m to 1.39 m.
-
Largest gains under severe drift: The KITTI-360 results show the correction is most valuable where accumulated error is largest; for example, LiODOM's heading error on KITTI-360 falls from 45.9° to 8.8°, and its lateral error from 327.42 m to 20.91 m.
-
Heading error does not always improve: In several configurations heading error increases slightly after correction — LiODOM on KITTI (6.9° to 7.2°), Basalt on KITTI (4.7° to 5.6°) and on KITTI-360 (5.7° to 6.5°), and ORB-SLAM3 on KITTI (1.8° to 2.4°).
-
Real-time capable: Average correction cost is 19.5 ms per pose (51 Hz), of which 19.1 ms is lane matching and 0.33 ms is trimmed ICP; total runtime ranges from 14.2 ms to 27.7 ms (36–70 Hz). The KD-tree is built once per dataset, taking 39 ms for KITTI and 30 ms for KITTI-360. The implementation is Python with NumPy/SciPy and no GPU acceleration.
Methodology in Plain English
The idea is to treat OSM lane centerlines as a set of lightweight geometric landmarks and continuously nudge the estimated trajectory toward them.
Offline, road data is downloaded from OSM, filtered to keep only drivable roads, converted into a structured lane-level format that provides centerlines and lane direction, and placed in a local metric coordinate system. Points are thinned so no two consecutive centerline points are closer than 3 m, and everything is stored in a KD-tree so the nearest lane points to any location can be found quickly.
Online, for each incoming pose the method looks up the nearest candidate lane segments, projects the pose onto a segment along the pose's own normal direction, and accepts the first candidate that both intersects properly and points in roughly the same direction as the vehicle is moving. Poses that find no acceptable lane match are simply skipped.
Correction happens in a sliding window of recent poses. Once the window holds enough poses and spans at least 10 m of travel, a trimmed ICP step estimates the single 2D rigid transform that best aligns the window to its matched lane points, discarding the worst 10% of residuals. If at least half the poses in the window had valid matches and the resulting mean error is below a backend-specific threshold, the transform is accepted and accumulated into a global correction. If not, the oldest pose is dropped and retried; after too many consecutive failures, the window is reset to a short recent segment so the system can recover. Hyperparameters were chosen per backend with a bounded sweep, but the algorithm itself is identical for all backends.
Why This Matters
Research impact: The paper shows that a very simple geometric prior — sparse lane centerlines — can match or beat pipelines built on building footprints, semantic descriptors, simulated LiDAR scans, or road-graph matching, while avoiding semantic segmentation and dense registration. It establishes a strong, cheap baseline that more complex OSM-assisted localizers will need to justify themselves against.
Real-world applications:
- Consumer and commercial vehicle navigation where GPS degrades in tunnels, urban canyons, or parking structures.
- Low-cost autonomous shuttles and delivery robots operating on mapped public roads without HD-map infrastructure.
- Fleet telematics and insurance/analytics, where cleaning up post-hoc trajectories over large regions matters more than centimetre precision.
- Robotics research platforms that need a plug-in drift cleanup stage for arbitrary odometry without re-tuning the estimator.
Industry relevance: The method runs in Python at tens of Hz on a desktop CPU with no GPU, requires only free map data, and is released under an open-source license — a combination that lowers the barrier for companies that cannot afford HD-map programs but still need globally consistent trajectories.
Future Directions
-
Lane-change and parallel-lane disambiguation: The authors identify lane changes and dense multi-lane roads (the KITTI sequence 01 failure mode) as the main source of incorrect associations, and propose explicit lane-change detection as future work.
-
Vertical and road-layer constraints: Bridges and tunnels produce overlapping 2D geometry with similar headings, which the current SE(2)-only formulation cannot separate; elevation or layer information is suggested.
-
Reducing dependence on OSM fidelity: Missing lane counts, inaccurate lane widths, and shifted geometry directly affect correspondence quality; higher-fidelity lane maps or camera-based lane detection as a complementary cue are proposed.
-
Trajectory smoothing: Because corrections arrive as discrete SE(2) updates, the output can contain local discontinuities, so control or local-planning applications may need an added filtering or smoothing stage.
Target Audience
Graduate students and engineers working on localization and mapping for ground vehicles, particularly those building low-cost or map-light autonomy stacks; practitioners who already have an odometry pipeline and want a drop-in global consistency fix; and researchers benchmarking OSM-assisted localization who need a simple, reproducible reference method. Readers without any background in pose graphs or point-set registration will find the method sections dense, but the results tables are accessible to anyone familiar with trajectory error metrics.
Authors’ abstract
Despite significant progress in odometry estimation, long-term drift remains a fundamental limitation of incremental pose integration, especially in large-scale or loop-free environments. Existing map-assisted methods can reduce drift, but often depend on dense maps, sensor-specific processing, or complex matching pipelines. We propose a lightweight open-source, odometry-agnostic correction method that aligns short trajectory segments to OpenStreetMap (OSM) lane centerlines.…
The full abstract on arXiv