Knowing When You Do Not Know: Sequential Map-Anchored Visual Localization for GNSS-Denied UAV Flight

Yusuf GünelarXiv 2026

TL;DR

When a drone loses GPS, it can navigate by matching its downward-looking camera to a pre-loaded satellite map—until it flies over water, uniform farmland, or outdated imagery where no match exists. This paper treats visual localization as a continuous sequence rather than a series of isolated snapshots, fusing map matches with visual odometry in a particle filter. The catch? A "weaker" image matcher that knows when to say I don't know dramatically outperforms a stronger, denser matcher that hallucinates confident matches over unrelated terrain.

What Problem Does This Paper Address?

If an unmanned aerial vehicle (UAV) has its GNSS signal jammed or spoofed, it falls back on inertial and visual odometry—tracking its own motion frame by frame. Left unchecked, those tiny step-by-step errors compound without bound: on a 74 km flight studied here, visual odometry alone drifts nearly 3 km off course.

The standard fix is cross-view geo-localization: take a photo of the ground, match it against a georeferenced satellite basemap, and recover your absolute position. Recent research has treated this as a single-image retrieval problem, pushing benchmark scores close to saturation.

But real flights aren't independent photographs. Over water, featureless fields, or regions where the satellite map and the camera disagree by years or seasons, no correct match exists. In the authors' single-frame baseline, 23% of frames on the easiest flight—and 96% on the hardest—return nothing usable. The real challenge isn't picking the right tile from a lineup; it's surviving the long stretches where the map goes blank.

Methods

The authors combine standard robotics machinery with a few practical twists:

  • Frame Preparation & Absolute Fixes: Each UAV frame is rotated to north-up using the onboard heading and resampled to match the basemap's metric scale (correcting for latitude-dependent pixel anisotropy). A grid of 300 m basemap tiles is indexed with frozen DINOv2 descriptors. Candidate tiles are verified using LoFTR (a transformer-based local feature matcher) and MAGSAC homography estimation.
  • Boresight Calibration: Because a camera's optical axis points where the drone is looking, not where it is, even a 2° tilt at 466 m altitude displaces the ground estimate by 16 m. The system automatically calibrates this mounting offset using each flight's first 20% of frames.
  • Sequential Fusion: A particle filter fuses visual odometry (motion model) with map matches (absolute fixes). Two mechanisms keep it healthy: measurement-driven injection (re-seeding particles from new measurements so the filter doesn't get permanently locked onto a wrong mode) and dead reckoning on heading when odometry fails.
  • Self-Calibration Without GNSS: The residual rotation of each map-to-frame homography directly exposes the platform's heading error. Feeding this back into the odometry calibrates magnetometer hard-iron distortion on the fly—no GPS required.
Fig. 1. Flight 03 (768 frames, 74 km, 466 m AGL) over its 8.8×7.3 km orthophoto. Both panels share one frame of reference. (a) Visual odometry alone accumulates heading and scale error until it leaves the basemap entirely, ending 2803 m from truth (×). (b) The same odometry anchored by map matches stays on the true track for every frame; the marked frames are the four segments where matching collapses and the filter coasts on the motion model alone until it re-anchors.

Datasets

  • UAV-VisLoc: Ten real UAV survey flights (out of eleven; one was excluded for lacking attitude/heading metadata) spanning 406–2572 m altitude, 9–103 km distance, and acquisition dates from 2016 to 2023.
  • Boson-nighttime: 26,568 aligned nighttime thermal/satellite image pairs over desert, farmland, and roads, used to test whether the paper's pre-flight deployability predictor transfers to a completely different sensor.

Key Insights and Ideas

  • Selectivity beats sensitivity: Replacing LoFTR with RoMa—a state-of-the-art dense matcher—raises the match rate on failing flights from 12–42% to 96–100%. Yet end-to-end localization collapses (e.g., 1669 m error on Flight 01 vs. 22 m with LoFTR). Why? When shown an unrelated patch of map, LoFTR returns 0 inliers; RoMa returns 341. In navigation, a matcher that confidently lies is far more dangerous than one that stays silent.
  • You can predict failure before takeoff: The match rate—the fraction of frames that match the basemap at a known position—separates working flights from failing ones ($\rho = -0.764$ against log error, with a threshold near 50%). Because this only requires a planned route and a basemap, operators can answer "will this work here?" before launching.
  • Structure predicts thermal matching too: On nighttime thermal imagery, a simple structure score computed from the basemap alone (Canny edge density minus high-frequency spectral energy) separates localisable frames from unmatchable ones at $\text{AUC} = 0.852$.
Fig. 3. Match rate against final accuracy across the ten flights. Match rate is measured with the true position given, so it describes the data rather than the algorithm, and it can be evaluated on a planned route before flying. Colour encodes altitude, which does not separate the groups: the 2572 m flight (11) succeeds and the 551 m flight (08) fails.

Key Results

  • End-to-end accuracy: On the seven usable flights, the fused system achieves a median error of 8.4–24.8 m with ≥99.7% coverage. On Flight 03 (74 km), visual odometry alone drifts 2803 m, whereas the proposed system holds 6.20 m median error at 100% coverage using 1.52 matching calls per frame.
  • Self-calibration: Estimating magnetometer deviation from map-match geometry (−1.93° and −7.08° on opposite survey legs) cuts odometry drift from 3.795% to 0.865% of distance travelled (2803 m down to 639 m over 74 km) without GNSS.
  • Compute: Runs offline at 866 ms per frame on a laptop NVIDIA RTX 3050 Ti (1.4 GB peak VRAM with LoFTR), comfortably faster than the 7 s frame interval in the dataset.

Limitations and Future Work

All ten flights come from a single dataset and country, sharing the same capture system and basemap class. Three of the ten flights still fail—a real operational limit when terrain and basemap diverge. The planar homography assumption degrades for oblique views, and building relief displacement caps the achievable accuracy floor near 6 m rather than 1 m. Finally, the thermal experiments are strictly per-frame (the dataset lacks trajectories), so they validate the deployability predictor rather than a full nighttime navigation loop.

Summary updated

BibTeX
@misc{gunel2026knowing,
  author = {Yusuf Günel},
  title = {{Knowing When You Do Not Know: Sequential Map-Anchored Visual Localization for GNSS-Denied UAV Flight}},
  year = {2026},
  eprint = {2612.00042},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00042},
}
Figure