On the Role of Geometry in Geo-Localization

Moti Kadosh, Yael Moses, Ariel Shamir

Abstract

Humans can build a mental map of a geographical area to find their way and recognize places. The basic task we consider is geo-localization - finding the pose (position & orientation) of a camera in a large 3D scene from a single image. We aim to experimentally explore the role of geometry in geo-localization in a convolutional neural network (CNN) solution. We do so by ignoring the often available texture of the scene. We therefore deliberately avoid using texture or rich geometric details and use images projected from a simple 3D model of a city, which we term lean images. Lean images contain solely information that relates to the geometry of the area viewed (edges, faces, or relative depth). We find that the network is capable of estimating the camera pose from the lean images, and it does so not by memorization but by some measure of geometric learning of the geographical area.

Introduction

Geo-localization is a fundamental challenge in computer vision, essential for the navigation of autonomous vehicles and robots. While global positioning systems (GPS) are ubiquitous, their reliability falters in dense urban environments—so-called "urban canyons"—where signal occlusion is common. Most state-of-the-art vision systems rely on rich appearance cues, such as textures and specific landmarks. However, this research investigates a more fundamental question: can a system localize itself using only the geometric structure of its environment?

To answer this, the authors propose the use of "lean images"—synthetic projections derived from a simplified 3D city model that lack all photographic texture. This approach isolates geometry as the primary signal for localization.

The 3D mesh model of Berlin used to generate synthetic lean images.

Methodology: Lean Images and Network Architecture

The core of this study involves three types of lean images generated from a 3D model of Berlin:

  1. Edges: Binary representations of building outlines and skylines.
  2. Faces: Binary images highlighting building facades.
  3. Depth: Grayscale images where intensity corresponds to the distance from the camera.
Examples of lean images (Edges, Faces, Depth) and a heatmap illustrating the distinctiveness of different urban locations.

The researchers employed a modified ResNet50 architecture designed for regression. Instead of classification, the network outputs a 6D vector: a 2D position ($x, y$) and a 4D quaternion representing orientation. The study evaluated two primary tasks: Geo-Matching, which tests the retrieval of previously seen poses, and Geo-Interpolation, which assesses the network's ability to estimate poses from novel viewpoints between training samples.

Key Insights

Learning vs. Memorization

A critical concern in deep learning for localization is whether the network is simply memorizing a lookup table of images. To test this, the authors conducted a "Geometrically Decorrelated" experiment by shuffling labels. The resulting performance collapse confirmed that the CNN relies on the inherent spatial correlation of the geometric data, indicating true geometric learning rather than rote memorization.

The Significance of Edges

One of the more surprising findings was that edge-only images often outperformed depth maps. This suggests that the "skyline" and the silhouettes of buildings are highly discriminative features for urban localization, providing a robust "fingerprint" of a location even without distance information.

Spatial Distinctiveness

Localization accuracy is not uniform across a city. As shown in the heatmap in Figure 2, open spaces and complex intersections are significantly easier for the network to identify than narrow, repetitive street corridors. This mirrors human experience, where landmarks and wide vistas provide better navigational cues than uniform alleyways.

Results and Conclusion

The experimental results demonstrate the high efficacy of lean images. In a 400x400m test area, the network achieved over 97% accuracy in Geo-Matching. More impressively, in the Geo-Interpolation task, the model could estimate positions within approximately 10 meters for 85% of unseen images.

However, the study also identified a "saturation point" where the fixed capacity of the ResNet50 model began to struggle as the geographical area (and thus the complexity of the "mental map") increased to 1600x1600m. This suggests that while geometry is a powerful cue, scaling to city-wide localization will require larger models or hierarchical architectures.

In conclusion, this work proves that CNNs can effectively recover camera pose using only basic geometric information. These findings pave the way for more robust localization systems that can function in texture-poor environments or use simplified geometric maps as a fallback when photographic data is unavailable.

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