NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compact 3D Map-Based Monocular Localization Using Semantic Edge Alignment

Kejie Qiu, Shenzhou Chen, Jiahui Zhang, Rui Huang, Le Cui, Siyu Zhu, Ping TanarXiv 2021

Abstract

Precise localization is a cornerstone of autonomous driving. While high-definition maps provide necessary accuracy, their massive data footprint poses significant challenges for storage and real-time updates. This paper introduces a localization framework that utilizes a monocular camera and IMU to align with a "compact" 3D map. By representing the environment through semantic line segments and wireframes, the system achieves decimeter-level accuracy with a map size reduced by up to four orders of magnitude compared to traditional point clouds.

Introduction

For autonomous vehicles and robots, knowing exact positioning is a matter of safety. While GPS is effective in open environments, it often fails in "urban canyons" or indoor settings due to signal interference. High-precision alternatives typically rely on 3D maps, which generally fall into two categories: dense point cloud maps and visual feature maps. Point cloud maps are detailed but massive, making them difficult to store or transmit. Visual feature maps, while smaller, are sensitive to changes in lighting, weather, and camera perspective.

This research addresses these challenges by proposing a lightweight, scalable, and robust mapping solution that uses structural "skeletons" of the environment rather than raw point data.

Figure 1: Transition from a dense 3D point cloud to a compact semantic map consisting of line segments and wireframes.

Methodology

The proposed system is based on Semantic Edge Alignment. Instead of matching thousands of arbitrary points, the system identifies and aligns structural elements of the environment.

The Compact 3D Map

The map consists of two primary elements:

  1. Line Segments: Representing features such as lane markings and curbs.
  2. Wireframes: Representing structures like traffic signs or windows.

Crucially, every element is assigned a semantic label (e.g., "curb," "sign"). This semantic layer allows the system to ignore visual clutter—such as shadows or moving vehicles—that typically degrades traditional localization algorithms.

The Localization Pipeline

The system processes monocular images through several stages to achieve precise alignment:

  • Semantic Segmentation: A DeepLabv3+ neural network labels pixels in the camera feed (e.g., road, sidewalk, sign).
  • Edge Extraction: The system identifies edges in the image and categorizes them into "road edges" and "non-road edges" based on the segmentation mask.
  • VIO Initialization: A Visual-Inertial Odometry (VIO) module uses camera and IMU data to track relative motion, providing an initial pose estimate.
  • Optimization: The system reprojects 3D landmarks from the compact map onto the 2D image. It then employs a Levenberg-Marquardt optimization to adjust the camera's estimated position until the reprojected map lines align perfectly with the detected image edges.
Figure 4: The feature extraction pipeline, illustrating semantic segmentation and the generation of distance transforms for edge alignment.

Experimental Results

The system was evaluated using real-world urban datasets collected over a 620-meter route. To ensure accuracy, ground truth was established using a high-precision reference rig equipped with industrial cameras and a Strapdown Inertial Navigation System (SINS).

  • High Precision: The system achieved a position Root Mean Square Error (RMSE) of 0.29 meters and a rotation error of 0.52°. This level of accuracy is sufficient for lane-level navigation.
  • Extreme Compression: The compact map format offers massive efficiency gains. In experimental trials, a 220MB dense map was compressed to just 25.2KB—a reduction factor of nearly 9,000x.
  • Real-Time Performance: The entire pipeline runs in real-time (approximately 133ms total) on standard desktop hardware (i7 CPU and GTX 1080 Ti).

Conclusion and Future Work

By leveraging semantic information and structural edges, this approach achieves high-precision localization with significantly lower data requirements than traditional methods. While the current system excels in urban driving scenarios, future work will focus on improving performance in sparse environments and expanding the system's capabilities to indoor navigation and automated map generation.

Summary updated

BibTeX
@misc{qiu2021compact,
  author = {Kejie Qiu and Shenzhou Chen and Jiahui Zhang and Rui Huang and Le Cui and Siyu Zhu and Ping Tan},
  title = {{Compact 3D Map-Based Monocular Localization Using Semantic Edge Alignment}},
  year = {2021},
  eprint = {2103.14826},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.14826},
}
Figure