Loc$^{2}$: Interpretable Cross-View Localization via Depth-Lifted Local Feature Matching

Zimin Xia, Chenghao Xu, Alexandre Alahi

TL;DR

Loc$^2$ is a novel framework for fine-grained cross-view localization that matches local features directly between ground-level and aerial images. By "lifting" these matches into 3D space using monocular depth and applying a differentiable scale-aware alignment, it achieves state-of-the-art accuracy and provides a rare level of visual interpretability for robotic navigation.

Visualizing Loc² cross-view matching

What Problem Does This Paper Address?

Precise visual localization—knowing exactly where a robot or vehicle is based on what it sees—is a pillar of autonomous systems. While GPS gets you close, "fine-grained" localization requires matching a ground-level camera view to a geo-referenced aerial (satellite) map.

This is incredibly difficult because the viewpoints are radically different. Most existing methods try to solve this by either:

  1. Global Descriptors: Compressing the whole image into a single vector, which is often too coarse for precise positioning.
  2. BEV Warping: Artificially "flattening" the ground image into a Bird’s-Eye-View (BEV). This process is lossy; it discards vertical information (like the height of a building) and introduces "ray-directional" distortions that confuse matching algorithms.

Furthermore, many deep learning models act as "black boxes," making it hard for engineers to diagnose why a localization attempt failed.

Methods

The authors introduce Loc$^2$, which skips the problematic BEV warping step during feature extraction. Instead, it matches features directly on the original image planes.

Loc² Local Feature Matching Pipeline
  1. Local Feature Matching: The system uses a frozen DINOv2 backbone with a lightweight "projection head" to find correspondences between pixels in the ground image and points on the aerial map. Crucially, it is trained using weak supervision—it only needs the camera's pose, not expensive pixel-by-pixel labels.
  2. Depth Lifting: Once matches are found, the ground-level points are "lifted" into 3D space using monocular depth estimation.
  3. Scale-aware Procrustes Alignment: This is the mathematical "secret sauce." Monocular depth models are often accurate in relative terms but "off" in absolute metric scale. Loc$^2$ uses a differentiable version of the Procrustes algorithm that analytically solves for rotation, translation, and a scale factor simultaneously. This allows the model to align the ground "layout" to the aerial map even if the depth predictions aren't perfectly metric.

Datasets

The researchers evaluated Loc$^2$ on two primary benchmarks:

  • KITTI: A standard dataset for autonomous driving featuring forward-facing cameras.
  • VIGOR: A large-scale dataset containing ground-level panoramas and aerial images across four US cities.
  • CVACT: Used specifically to test "cross-dataset generalization" (training on one city/country and testing on another).

Key Insights and Ideas

  • Image Plane > BEV Space: Matching in the original image plane preserves the semantic "look" of objects (like the facade of a building or the shape of a sign) that gets smeared during BEV warping.
  • Scale Invariance is a Superpower: By solving for the scale factor analytically, the method becomes robust to different depth-estimation models. You can swap a heavy metric depth model for a lightweight relative one without retraining the whole system.
  • Interpretability by Design: Because the pose is calculated from explicit point matches, you can visualize exactly which landmarks (streetlights, road markings, building corners) the model is using. If the localization is wrong, you can see the "outlier" matches that caused the error.
  • RANSAC Integration: Since the method produces point correspondences, it can use classical robust estimation (RANSAC) to filter out bad matches (like moving cars or shadows), a feature missing from most "black box" global descriptor methods.

Key Results

Loc$^2$ sets a new bar for performance, particularly in the most difficult scenarios:

  • Accuracy: On the KITTI "cross-area" test (unseen environments), it achieved a mean localization error of 5.60m, significantly beating the previous best of 7.31m.
  • Unknown Orientation: In the VIGOR dataset, when the camera's initial heading was unknown, Loc$^2$ reduced the mean error from 10.02m (previous SOTA) to just 4.23m.
  • Efficiency: The pipeline is lightweight, running at 14.74 FPS on a single H100 GPU—faster than previous local matching approaches while being more accurate.
  • Visual Proof: The authors demonstrated that by overlaying the re-scaled ground layout onto the aerial image, they could visually identify errors in "ground truth" labels in existing datasets, proving the system's high precision.

Limitations and Future Work

While robust, Loc$^2$ still relies on the quality of monocular depth. In areas with extremely dense, high-rise vegetation or "urban canyons" where building occlusions are severe, the matching can still fail (as seen in their failure case analysis).

The authors also note that the method assumes the aerial images are roughly "nadir" (top-down). Future work could involve making the system more robust to "off-nadir" satellite imagery where buildings appear tilted, further closing the gap between research datasets and messy, real-world satellite data.

Summary updated

BibTeX
@inproceedings{xia2026loc,
  author = {Zimin Xia and Chenghao Xu and Alexandre Alahi},
  title = {{Loc$^\{2\}$: Interpretable Cross-View Localization via Depth-Lifted Local Feature Matching}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=2ciXKn2UlS},
}
Figure