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

Long-term Visual Localization using Semantically Segmented Images

Erik Stenborg, Carl Toft, Lars HammarstrandarXiv 2018

TL;DR

This paper introduces a novel approach to long-term visual localization for autonomous vehicles by swapping traditional, storage-heavy visual descriptors (like SIFT) for semantic segmentation labels. By utilizing a particle filter that matches semantically labeled 3D point maps with real-time segmented images, the system achieves localization accuracy on par with feature-based methods (under 1 meter most of the time) while drastically reducing map storage requirements and improving robustness across changing seasons.

What Problem Does This Paper Address?

For autonomous vehicles to navigate safely, they must precisely know where they are on a pre-constructed map. Traditional visual localization relies on matching handcrafted point features (e.g., SIFT, SURF) between a live camera feed and a 3D point cloud map.

However, this approach suffers from two major flaws:

  1. Environmental Invariance: The visual appearance of the world changes drastically with time of day, weather, and seasons (e.g., a tree in summer vs. winter, or a snow-covered street). Traditional feature detectors and descriptors frequently fail to match under these cross-seasonal changes.
  2. Storage Overhead: High-dimensional feature descriptors take up massive amounts of storage space, making it difficult to scale maps to entire cities or countries.

As shown in the top half of the image below, visual appearance changes dramatically over time, whereas the semantic structure (bottom half) remains relatively stable.

Example of visual appearance changes vs. stable semantic segmentation over time.

Methods

The authors propose offloading the challenge of seasonal invariance from the feature descriptor to a deep learning-based image segmenter.

Instead of saving a 128-dimensional SIFT vector for every 3D point in the map, their Semantic Map only stores the 3D coordinates, a visibility cone, and a scalar semantic class label (e.g., "road", "building", "vegetation") derived from the Cityscapes dataset classes.

To localize within this map, the system uses a Bootstrap Particle Filter:

  1. Live Segmentation: The vehicle's camera images are processed using a neural network (Dilation 10) to assign a semantic class to every pixel.
  2. Map Projection: For each particle (representing a pose hypothesis), the potentially visible 3D map points are projected onto the image plane.
  3. Likelihood Evaluation: The filter evaluates how well the projected map points' classes align with the live image's segmented pixels. A scaling factor is introduced to prevent overconfidence caused by pixel correlation.

The proposed method is compared against a traditional baseline consisting of a SIFT-based map paired with an Unscented Kalman Filter (UKF) and RANSAC for outlier rejection.

Cropped area from a segmented image with map points projected onto it.

Datasets

The framework was evaluated using the Carnegie Mellon University (CMU) Visual Localization Dataset.

  • Route: A ~9-kilometer trajectory in Pittsburgh capturing a mix of urban, residential, and park environments.
  • Timeline: The route was driven 16 times over the course of a full year (September 2010 to September 2011), capturing extreme seasonal variations.
  • Mapping vs. Localization: The base map was built using a structure-from-motion pipeline on data from a single day (September 1, 2010). The remaining 11 sequences were used exclusively for testing localization performance against this aging map.

Key Insights and Ideas

  • Offloading Invariance: By relying on a semantic segmenter, the localization pipeline doesn't need to know what "winter" looks like; it just needs the neural network to correctly identify "road" whether it's covered in asphalt or light snow.
  • Massive Compression: Because a semantic label is just a scalar integer rather than a long floating-point vector, the semantic descriptor map is more than 6 times smaller than a SIFT map. If compressed to only store the top three most probable classes per point, it requires just 39 bits per point.
Comparison of storage space required per map point between SIFT and Semantic Class methods.

Key Results

The semantic localization system performed remarkably on par with the SIFT baseline across the 11-month testing period, keeping the localization error below 1 meter most of the time.

Performance varied distinctly by environment type:

  • Urban & Residential: Highly successful. The distinct geometric layouts of buildings and roads provided excellent landmarks for the semantic filter.
  • Parks: Both methods struggled here. SIFT failed because vegetation appearance changes completely across seasons, while the semantic method suffered from geometric ambiguity (everything looks like the "vegetation" class).
Localization error distributions across Urban, Residential, and Park environments over a year.

Limitations and Future Work

While promising, the authors highlight two primary failure modes for semantic localization:

  1. Segmentation Errors: If the neural network misclassifies an object—such as mistaking snow-covered sidewalks for roads—the particle filter receives incorrect updates. This was particularly evident in the December dataset.
  2. Perceptual Aliasing: In environments dominated by a single class (e.g., a long, uniform forest or a blank retaining wall), the semantic data lacks the unique texture required to pinpoint the exact position along that trajectory.

Future Directions: The authors suggest that performance could be improved by training segmentation networks on a wider variety of weather conditions (like heavy snow), introducing more granular semantic sub-classes (e.g., separating tree trunks from foliage, or adding road markings), and exploring hybrid approaches that combine semantic data with traditional sparse feature points.

Summary updated

BibTeX
@misc{stenborg2018long,
  author = {Erik Stenborg and Carl Toft and Lars Hammarstrand},
  title = {{Long-term Visual Localization using Semantically Segmented Images}},
  year = {2018},
  eprint = {1801.05269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.05269},
}
Figure