On the role of geometry in geo-localization

Moti Kadosh, Yael Moses, Ariel Shamir

Abstract

This study investigates the fundamental question of whether visual texture is a prerequisite for accurate urban geo-localization. By employing deep convolutional neural networks (CNNs) trained on "lean images"—textureless projections of 3D city models—we demonstrate that geometric features alone provide sufficient information for precise camera pose estimation. Our findings reveal that structural "skeletons," such as building edges, are highly potent descriptors for location, and that the network's ability to generalize to novel viewpoints depends heavily on training data sampling density rather than raw image volume.

Introduction

Geo-localization—determining a camera's precise 3D position and orientation—is critical for autonomous systems, including self-driving vehicles and augmented reality platforms. Traditional computer vision approaches rely heavily on appearance cues, such as unique building textures, colors, or specific landmarks. However, these features are highly volatile, changing with lighting, weather, and seasonal cycles.

This research explores whether a CNN can solve the geo-localization problem using only the bare-bones geometry of a city. By stripping away visual "fluff," we aim to understand the specific role geometric features play in the learning process and determine if a network can develop a robust internal spatial map capable of generalizing to unseen viewpoints.

Methodology and Experimental Design

The researchers utilized a systematic approach to isolate geometry from appearance:

  • Lean Images: Synthetic images were generated from a 3D mesh of Berlin in three formats: building edges (binary outlines), building facades (flat-shaded faces), and depth maps.
  • Architecture: A modified ResNet50 architecture was employed. To handle geo-localization as a continuous coordinate problem, the final classification layer was replaced with a regression head to output a 6-Degree-of-Freedom (6-DoF) pose.
  • Evaluation Tasks: The study defined three primary tasks:
  • Task A (Memorization): Retrieving poses for previously seen images.
  • Task B (Decorrelated Memorization): Testing against shuffled labels to ensure the network is learning geometry rather than random pixel patterns.
  • Task C (Generalization): Estimating the pose of novel images taken from locations between training grid points.

Key Insights and Spatial Distinctiveness

One of the most significant findings is that simple binary edge images often outperform more complex depth maps. This suggests that the structural "skeleton" of an urban environment is an exceptionally strong descriptor for location. Furthermore, the network does not function as a simple look-up table; the failure of the network in Task B (shuffled labels) proves it actively exploits the geometric correlation between adjacent views.

Figure 6: Localization distinctiveness heatmap across a section of Berlin, showing that open spaces and intersections (red) are more easily recognized than narrow street canyons (blue).

The study also produced "distinctiveness heatmaps" (see Figure 6) which indicate that the network's ability to localize is not uniform across the city. Open spaces and intersections provide unique geometric signatures that are significantly easier for the network to recognize than repetitive, narrow street canyons—a behavior that mirrors human navigational patterns.

Results and Discussion

The experimental results confirm the power of geometry-based localization:

  • Accuracy: In memorization tasks, the network achieved over 92% accuracy. In generalization tests with a dense 10m training grid, it correctly localized approximately 88% of unseen images.
  • Sampling Density: Generalization capability is primarily driven by the sampling density of the training data. If the grid step is too sparse (e.g., 40m), the network fails to interpolate the geometry between known points effectively.
  • Regression Superiority: Regression-based models significantly outperformed brute-force classification approaches, which failed to generalize to unseen views (achieving <15% accuracy).

Conclusion

This research serves as a proof of concept for geometry-driven localization. While the current study uses noise-free synthetic data, the results suggest that integrating 3D geometric data from sources like OpenStreetMap could lead to localization systems that are invariant to environmental changes like weather or time of day. Future work will focus on introducing real-world occlusions and relaxing camera orientation constraints to bring these geometric insights into practical autonomous applications.

Reference: Kadosh, M., Moses, Y., & Shamir, A. (2021). On the role of geometry in geo-localization. Computational Visual Media, 7(1), 103–113.

Summary updated

BibTeX
@article{kadosh2021role,
  author = {Moti Kadosh and Yael Moses and Ariel Shamir},
  title = {{On the role of geometry in geo-localization}},
  journal = {Comput. Vis. Media},
  year = {2021},
  doi = {10.1007/s41095-020-0196-2},
}
Figure