4.1. Dataset and Experimental Settings
- (1)
Dataset
We conduct the main experiments on the DenseUAV dataset. DenseUAV provides UAV query images and their corresponding satellite reference images. It is suitable for evaluating the cross-view self-localization capability of low-altitude UAVs in urban areas. It should be noted that the original satellite gallery of DenseUAV contains multiple satellite tiles at the same geographic coordinate. This setting is essentially a redundant gallery design. To make coordinate localization evaluation clearer, we retain only one satellite tile at each location and construct a default gallery containing 3048 candidate satellite tiles. The satellite sampling interval of this default gallery is approximately 20 m. It is used to evaluate retrieval and coordinate localization performance under the standard DenseUAV setting.
As shown in
Figure 5a, we further evaluate the robustness of the method under sparse satellite galleries. In this experiment, the UAV query images remain unchanged, and only the sampling density of the satellite candidate gallery is modified. Specifically, the default gallery has a satellite sampling interval of 20 m. We further perform interval sampling according to the center coordinates of satellite tiles and construct sparse galleries with sampling intervals of 40 m and 60 m. This setting represents practical deployment scenarios where the satellite gallery cannot be arbitrarily densified. It also tests whether discrete top-1 tile-center readout produces more obvious coordinate quantization errors when the gallery becomes sparse. As shown in the figure, the distance between the true UAV location and the nearest available satellite tile center may increase as the satellite sampling interval increases. This experiment, therefore, directly corresponds to the core motivation of this study, namely that discrete gallery anchors limit continuous coordinate localization.
As shown in
Figure 5b, we construct a non-aligned satellite gallery to further examine whether the method depends on a strict one-to-one correspondence between the UAV query and the satellite tile center. This experiment reuses the UAV query images and their ground-truth coordinates from DenseUAV but retiles the satellite base map with the same tile resolution and a sampling interval of 20 m as the default gallery. This produces a new gallery containing 2740 candidate satellite tiles. In this non-aligned gallery, the average distance between the UAV ground-truth locations and their nearest satellite tile centers is 12.7 m. Compared with the default gallery, this setting no longer guarantees that the UAV ground-truth coordinate lies near the center of a satellite tile, while keeping the tiling resolution and sampling interval consistent with the aligned setting. It is, therefore, closer to the way satellite tiles are generated from a fixed grid in real map systems. As shown in the figure, the non-aligned satellite gallery breaks the simplified assumption that the query location is equal to the center of a tile. It can, therefore, more directly test the necessity of organizing discrete candidate evidence as a continuous geographic posterior in PFIRNet.
- (2)
Evaluation Metrics
We first use retrieval metrics to evaluate whether the model can return the correct or approximately correct candidate region from the satellite gallery. Following the common evaluation protocol in cross-view geo-localization, we use top-K retrieval accuracy, namely Recall@K (R@K), to evaluate whether the correct match appears in the top-K retrieval results. Let the test set contain
query samples, and let
denote the rank of the correct match for the
-th query in the ranked list. R@K is defined as:
where
is the indicator function. When the correct match appears within the top-K results, the query is counted as a successful retrieval. We mainly report R@1 to evaluate candidate-region recall when only one relocalization attempt is allowed.
In addition to R@K, we also compute Average Precision (AP) to evaluate retrieval stability over the full ranked list. AP can be regarded as the discrete area under the precision–recall curve and is computed as:
where
denotes the position index in the ranked list,
denotes the precision of the top-
retrieval results, and
denotes the recall increment from position
to position
. Compared with R@1, AP does not focus only on the top-ranked candidate. It also reflects the overall distribution of valid candidates in the ranked list.
PFIRNet does not aim only to improve retrieval ranking. Its goal is to convert retrieval evidence into a coordinate-level continuous posterior. Therefore, we do not use a single R@1 value as the main basis for drawing conclusions. Coordinate localization performance is mainly described by median localization error and threshold success rate S@τ. The median localization error is the median of localization errors over all test samples. S@τ denotes the proportion of samples whose localization error does not exceed the threshold τ. In the DenseUAV experiments, we report mean error, median error, S@10m, S@30m, and S@τ 50m to characterize both fine-grained localization accuracy and region-level localization stability under more relaxed thresholds. In the non-aligned satellite gallery, retrieval metrics use the satellite tile nearest to the true UAV coordinate as the proxy positive. However, all coordinate localization metrics are always computed using the true UAV coordinate, rather than the tile center of the proxy positive.
- (3)
Hardware and Training Settings
All models are implemented in PyTorch and trained on an NVIDIA GeForce RTX 4090 GPU. The retrieval backbone is the DenseUAV Transformer-based two-branch feature extractor initialized from the released DenseUAV checkpoint, with an input resolution of and a 512-dimensional output feature. The DenseUAV training split contains 2256 query IDs, and the independent test split contains queries. To prevent the second stage from directly memorizing first-stage outputs on the same samples, we divide the training IDs according to sample IDs. Specifically, 80% of the training IDs, corresponding to 1805 IDs, are used to train the stage-one CPFL model. After stage-one training is completed, its backbone parameters are frozen. We then run stage-one inference on the remaining 451 training IDs to generate candidate posteriors, default outputs, alternative posterior peaks, action features, and error labels for training the stage-two RC-MPAV module.
For stage one, the annealed geographic scale is defined as:
where
,
, and
. When the dataset-adaptive lower-bound option is enabled, the lower bound is additionally constrained by a 5.0 m floor and the 75th percentile of the measured alignment scale. The positive and negative geographic radii are set to
and
, respectively. The geographic ranking margin parameter is
, and the candidate similarity temperature is
.
The CPFL probability field is constructed on a
local metric grid with a 30.0 m boundary margin. The coordinate supervision scale is
. In the reported manuscript experiments, the candidate support spread is set to
, and the corresponding sensitivity experiment in
Section 4.2 evaluates this parameter around the selected operating range. The stage-one candidate-field and ranking terms use
,
, and
. The additional sharp-triplet term uses unit weight. In Equation (12),
denotes only the geographic classification term.
For stage two, posterior peaks are retained when their response is at least of the dominant peak and are separated by a minimum distance of 40.0 m before local action generation. The implementation extracts, at most, five posterior basins, uses a 25.0 m NMS radius for basin-level peak suppression, and generates, at most, two ellipse-based actions per basin with ellipse scale 1.0. The local readout radius is estimated adaptively as the radius containing 50% of the posterior mass around the -th basin; when this estimate is unavailable, falls back to 25.0 m. Thus, is not an undisclosed fixed scalar. It is an inference-time radius determined by the local posterior shape.
RC-MPAV uses as the minimum posterior-support threshold in the risk-calibrated decision rule. The loss weights in Equation (18) are , , and , while the action-choice term has unit weight. For the internal risk labels, the improvement margin and harm margin are both 5.0 m, the catastrophic-error margin is 100.0 m, and the default-action failure threshold is 25.0 m. The operational fail-safe gates are fixed to a minimum default-failure probability of 0.50, a minimum improvement probability of 0.55, a maximum harm probability of 0.45, a maximum catastrophic probability of 0.10, a minimum support probability of 0.50, and a minimum expected utility gain of 5.0 m. During inference, the default readout is retained unless an alternative action satisfies the risk, support, and positive-gain constraints.
Stage-one training uses AdamW with a learning rate of , batch size 2, and 40 epochs. Stage-two training freezes the backbone and optimizes the RC-MPAV refinement head with AdamW, a learning rate of , batch size 8, and 30 epochs. Both stages use a weight decay of . Mixed-precision training is enabled on the RTX 4090. All final results are evaluated on the independent test set with under the same gallery protocol and coordinate-error calculation procedure.
4.2. Ablation Experiments
- (1)
Ablation Study on the Overall Framework
To evaluate the necessity of each core module and their synergy in PFIRNet, we further conduct an overall ablation study on the full pipeline. The results are reported in
Table 2. We compare the DenseUAV baseline, the model enhanced with AGDS, the model further equipped with CPFL, and the complete PFIRNet with RC-MPAV. This setting allows us to isolate how distance-aware supervision, continuous probability field readout, and risk-calibrated verification contribute to the final localization performance.
Table 2 shows a steady improvement as the modules are added. AGDS raises R@1 from 80.36% to 83.78% and AP from 69.21% to 76.27%. The median error also drops from 20.12 m to 16.87 m. These changes show that distance-aware geographic supervision improves the retrieval response and makes the candidate ranking more useful for coordinate estimation.
Adding CPFL keeps R@1 and AP unchanged but further reduces the median error to 14.28 m and increases S@10m to 46.44%. This result matches the role of CPFL. It does not aim to retrieve a different candidate list. Instead, it converts the top-k candidates into a continuous coordinate-space posterior, which reduces the dependence on direct tile-center readout.
The complete PFIRNet reduces the median error to 9.84 m and improves S@10m to 51.87%. Since the retrieval metrics remain fixed, this gain mainly comes from the final coordinate decision. RC-MPAV complements CPFL by checking competing posterior peaks and updating the estimate only when an alternative readout is reliable. The ablation, therefore, confirms that the three modules serve different purposes in the same pipeline. AGDS shapes the retrieval response, CPFL builds the continuous coordinate posterior, and RC-MPAV improves the reliability of the final readout.
- (2)
Ablation Study on Geographic Distribution Supervision
In UAV-to-satellite localization, nearby satellite tiles often share road structures, building boundaries, or land-cover textures with the query image. If all these candidates are treated as hard negative samples during training, the learned similarity distribution may favor image-identity discrimination rather than faithfully reflecting true geographic distance. To evaluate the effect of Geographic Distribution Supervision, we modify the supervision strategy on the DenseUAV baseline while keeping the basic retrieval framework unchanged. The results are reported in
Table 3. We compare hard triplet supervision, Gaussian soft labels, AGDS without annealing, and the full AGDS. The metrics evaluate retrieval accuracy, ranking stability, similarity distance consistency, and near-range localization performance.
Table 3 shows that changing the supervision strategy clearly affects both retrieval behavior and coordinate-level localization. The hard triplet baseline achieves 80.36% R@1 and 38.92% S@10m, but its Spearman correlation is only 0.36. This indicates that hard positive–negative supervision can support candidate discrimination, but it does not fully preserve the geographic ordering among nearby satellite tiles.
Gaussian soft labels increase AP to 77.24% and improve Spearman correlation to 0.53. The smoother target distribution, therefore, improves ranking stability and distance consistency. However, R@1 decreases to 78.12%, and S@10m drops to 35.62%. A fixed soft distribution can make the ranked list smoother, but it does not necessarily improve fine-grained localization around the true coordinate.
The comparison between AGDS without annealing and full AGDS further shows the role of adaptive supervision. Without annealing, AGDS improves R@1 to 81.23%, but S@10m decreases to 33.27%. The full AGDS achieves the best R@1, Spearman correlation, and S@10m, reaching 83.78%, 0.56, and 44.18%, respectively. Its AP is slightly lower than that of Gaussian soft labels, but its stronger near-range localization result is more consistent with the objective of UAV self-localization. These results show that distance-aware supervision is most effective when its geographic support is adjusted progressively during training.
- (3)
Ablation Study on CPFL
To examine the effect of CPFL, we build on the AGDS setting and compare three coordinate readout strategies. The results are reported in
Table 4. Top-1 tile center uses the center of the highest-scoring tile directly, weighted top-k coordinate averages multiple candidate coordinates, and CPFL constructs a continuous probability field before readout. These strategies correspond to discrete anchor readout, direct multi-candidate fusion, and spatial posterior modeling.
Table 4 shows that CPFL gives the lowest mean and median localization errors among the three readout strategies. Compared with Top-1 tile center, CPFL reduces the mean error from 360.58 m to 348.65 m and the median error from 16.87 m to 14.28 m. It also improves S@30m from 70.84% to 71.93%. These changes show that direct tile-center readout remains a strong baseline, but it is still limited by the discrete sampling of the satellite gallery.
Weighted top-k coordinate performs worse than Top-1 tile center on mean error, median error, and S@10m. The result suggests that a simple average of high-scoring candidates does not reliably preserve spatial meaning when the candidates are separated in geographic space. CPFL avoids this failure mode by retaining the spatial structure of the candidate responses in a continuous field, rather than collapsing them into one averaged coordinate.
The threshold results are less uniform. The weighted top-k coordinate is slightly higher at S@50m. CPFL, therefore, should not be described as uniformly superior under every threshold. Its main advantage lies in reducing coordinate error and providing a structured posterior for the later risk verification stage.
- (4)
Ablation study on RC-MPAV
RC-MPAV is designed to refine the final coordinate readout over the multimodal posterior field produced by CPFL. Although the stage-one probability field already encodes multiple spatial hypotheses, the final estimate may still be affected by unsafe switching among competing peaks. To analyze the contribution of each loss term in RC-MPAV, we compare the complete model with variants obtained by removing one supervision term at a time. In all variants, the same stage-one CPFL readout is used as the starting point, so the comparison isolates the effect of the RC-MPAV training objective itself. The evaluation metrics include median error, S@10m, S@30m, and S@50m, which characterize the average localization error, the typical localization accuracy, and the near-range and region-level success rates, respectively.
As shown in
Table 5, the four ablated variants form a clear staircase. Median error moves from 12.61 m to 11.64 m, then to 10.92 m and 10.68 m, while S@10m rises from 46.92% to 48.17%, 49.69%, and 50.01%. The complete RC-MPAV model reaches 9.84 m and 51.87%. The change is gradual rather than abrupt, which suggests that the supervision terms contribute complementary pieces of guidance rather than a single dominant correction.
The threshold scores show a similar pattern. S@30m improves from 72.48% to 76.14% across the ablated variants, and S@50m moves from 77.28% to 82.03%. The complete model reaches 76.93% and 82.54%. The gain is most visible at the stricter 10 m threshold, where the gap to the full model remains largest. RC-MPAV is, therefore, doing more than preserving region-level recall. It is mainly tightening the final readout around the true coordinate and making the peak choice less fragile under multimodal posterior responses.
- (5)
Ablation Study on Key Hyperparameters
This supplementary experiment examines two key hyperparameters in CPFL, the number of top-k candidates used for field construction and the Gaussian support spread. The results are reported in
Table 6 and
Table 7. The first part varies top-k to test how much candidate evidence the probability field needs, and the second part fixes top-k at 32 to check how the spatial spread shapes the posterior field.
With only eight candidates, the posterior field has limited spatial support, and the median error remains at 15.71 m. Expanding top-k to 16 tightens the readout, bringing the median error down to 14.24 m and raising S@10m to 46.12%. The 32-candidate setting keeps the median error at essentially the same level, while improving S@30m to 71.93% and S@50m to 76.64%. That makes it the most balanced choice across the full set of thresholds.
The trend changes when top-k is increased to 64. The median error rises to 18.37 m, and S@10m falls to 41.24%. A larger candidate set is then pulling in more distant but visually similar regions, which spreads the posterior response and weakens coordinate readout. In this setting, more candidates do not mean better support. The field becomes less concentrated, and the benefit from additional evidence is offset by noise from less relevant regions. To check the spatial smoothness of the posterior field, we fix top-k at 32 and vary the Gaussian support spread.
The 30 m setting gives the strongest overall result. A smaller spread sharpens the field, but it also makes the posterior response easier to fragment. A larger spread broadens the support, yet the peaks become less distinct. Both changes weaken the readout compared with the 30 m setting, which keeps enough locality to preserve the main peaks while still providing stable spatial support. Taken together, the two experiments point to the same setting principle. CPFL benefits from a moderate amount of candidate evidence and a moderate Gaussian spread, rather than from an aggressive expansion in either direction.
4.3. Comparison with Cross-View Localization Algorithms
To comprehensively evaluate the localization performance of PFIRNet on DenseUAV, we compare it with one-stage retrieval methods and two-stage matching methods. The one-stage methods include LPN, FSRA, DenseUAV, and DenseUAV + LPN. These methods mainly rely on cross-view feature retrieval and usually use the top-ranked satellite tile as the localization basis. The two-stage methods further introduce local matchers after region retrieval, including LoFTR, ASpanFormer, and RoMa-Tiny, to estimate finer positions within candidate satellite regions. For these two-stage baselines, R@1 and AP are determined by their stage-one retrieval results. The subsequent localization metrics reflect the outputs after local matching or coordinate refinement. In the table, Ours Stage-one corresponds to the stage-one model composed of AGDS and CPFL. Ours further adds RC-MPAV and performs risk-controlled readout over the multimodal posterior in the continuous probability field. All methods are re-evaluated under the same DenseUAV coordinate evaluation protocol to ensure that retrieval metrics and meter-level localization metrics are comparable.
As shown in
Figure 6, the output of PFIRNet is not restricted to the center of a single satellite tile. Instead, it provides a localization result in continuous coordinate space. Compared with traditional retrieval methods that directly return discrete candidate centers, PFIRNet uses top-k candidates to construct a probability field and reads out coordinates from the posterior distribution. These coordinates are closer to the true location. In several visualization examples, the predicted points of DenseUAV and FSRA can deviate from the true location. When the top-ranked candidate falls in an incorrect region, the local matching in DenseUAV + LPN + RoMa-Tiny also struggles to establish stable correspondences, and the localization error increases substantially. In contrast, PFIRNet can still use the continuous posterior and the second-stage multi-peak verification to constrain the final prediction to a position closer to the true coordinate.
This visualization also reflects the difference between PFIRNet and traditional two-stage matching pipelines. Local matching methods depend on the reliability of the candidate region from the previous stage. Once the retrieved candidate has deviated from the true region, subsequent matching can usually only refine the estimate within the wrong spatial range. PFIRNet preserves multiple posterior peaks and their spatial support relationships. It then performs constrained selection among the default peak, local posterior readout, and alternative peaks. Therefore, even when some retrieval baselines show obvious offsets, PFIRNet may still recover a more reasonable coordinate from an effective posterior peak in the probability field.
Table 8 compares PFIRNet with both one-stage retrieval methods and two-stage matching methods on DenseUAV. Among the one-stage methods, Ours Stage-one achieves the best retrieval performance, with R@1 of 83.78% and AP of 76.27%. It also reaches 46.44% at S@10m, 71.93% at S@30m, and 76.64% at S@50m. These results place it ahead of the other one-stage baselines on both candidate recall and threshold-based localization accuracy.
The median error of Ours Stage-one remains 14.28 m, which is better than DenseUAV and the DenseUAV + LPN variant but still leaves room for refinement at the final readout stage. The gap between retrieval strength and coordinate precision is visible here. A strong ranked list does not fully remove long-tail errors or ambiguity among nearby posterior peaks.
DenseUAV + LPN + RoMa-Tiny is the strongest traditional two-stage baseline. It reaches a median error of 13.24 m, with S@10m, S@30m, and S@50m of 47.24%, 76.23%, and 80.53%, respectively. PFIRNet improves on this result across all major metrics. The full model reduces the median error to 9.84 m and raises S@10m, S@30m, and S@50m to 51.87%, 76.93%, and 82.54%. Compared with DenseUAV + LPN + RoMa-Tiny, the median error drops by 3.40 m, while the threshold success rates increase by 4.63, 0.70, and 2.01 percentage points.
The comparison suggests that PFIRNet is not gaining performance only from better retrieval ranking. Traditional two-stage pipelines still depend on local matching inside the retrieved region. PFIRNet instead turns the top-k retrieval evidence into a continuous probability field and uses RC-MPAV to make the final coordinate decision more stable. That combination improves both typical localization error and threshold success rates, especially at the stricter 10 m level.
These results show that the advantage of PFIRNet does not come only from a higher retrieval ranking. Traditional two-stage methods rely on local matchers to refine the estimate within the retrieved candidate region. In contrast, PFIRNet organizes top-k retrieval evidence into a continuous probability field and uses RC-MPAV to perform risk-controlled selection over multiple posterior peaks. As a result, PFIRNet achieves higher retrieval stability, lower typical localization error, and higher threshold success rates. This shows that coordinate-level posterior inference is better suited to this task than simple discrete candidate selection or post-retrieval local matching.
4.4. Motivation Validation Experiments
- (1)
Validation on Sparse Satellite Galleries
To evaluate the dependence of the method on satellite gallery density, we gradually increase the satellite sampling interval while keeping the DenseUAV query set unchanged. We compare localization performance under three settings: default, 40 m, and 60 m. This experiment corresponds to a common constraint in real deployment. The satellite gallery cannot be densified without limit, and the offset between discrete tile centers and true UAV coordinates becomes more pronounced as the sampling interval increases.
As shown in
Table 9, the DenseUAV baseline degrades substantially as the satellite sampling interval increases. Under the default setting, DenseUAV achieves 69.21% AP, 20.12 m median localization error, and S@10m, S@30m, and S@50m values of 38.92%, 65.44%, and 70.13%. When the sampling interval increases to 40 m, AP decreases to 46.19%, the median error increases to 28.13 m, and S@10m decreases to 30.43%. Under the 60 m setting, AP further drops to 33.26%, the median error rises to 46.13 m, and S@10m is reduced to 13.74%. The trend shows that sparse satellite galleries weaken both retrieval stability and fine-grained coordinate accuracy for discrete retrieval-based localization.
Ours outperforms DenseUAV under all sampling intervals, and the advantage becomes more evident in the sparse settings. Under the default setting, AP increases from 69.21% to 76.27%, and the median error decreases from 20.12 m to 9.84 m. At a 40 m sampling interval, Ours reaches 62.13% AP and 14.03 m median error, improving AP by 15.94 percentage points and reducing the median error by 14.10 m. S@50m also rises from 64.61% to 79.63%. At the 60 m interval, Ours retains 57.13% AP and 18.64 m median error, compared with 33.26% AP and 46.13 m for DenseUAV. The corresponding improvements are 23.87 percentage points in AP and 27.49 m in median error. These results indicate that PFIRNet is more robust when the satellite gallery becomes sparse. It mitigates the localization error caused by increasing tile-center spacing through continuous posterior inference.
- (2)
Localization Robustness under Non-Aligned Satellite Galleries
To examine whether the model depends on a strict correspondence between the UAV query location and the satellite tile center, we further construct a non-aligned satellite gallery. Compared with the strictly aligned setting, the non-aligned setting reorganizes satellite tiling so that the true UAV coordinate no longer falls near a candidate tile center by default. This setting is closer to practical map tiling scenarios. It also directly tests whether the model can use off-center satellite tiles as evidence in continuous space.
As shown in
Table 10, non-aligned satellite galleries substantially weaken the coordinate localization ability of the DenseUAV baseline. Its AP decreases from 69.21% to 62.41%, and its median localization error increases from 20.12 m to 32.63 m. The change is more visible at S@10m, which drops from 38.92% to 14.37%. This shows that traditional discrete retrieval readout is strongly affected when satellite tile centers are no longer strictly aligned with true UAV locations. It is especially difficult for this readout to maintain fine-grained localization accuracy within the 10 m threshold.
Ours remains much more stable under the non-aligned setting. AP changes only slightly, from 76.27% to 75.73%, while the median localization error increases from 9.84 m to 12.31 m. At the same time, S@10m remains at 46.87%, and S@30m and S@50m reach 72.17% and 81.74%, respectively. Compared with DenseUAV under the non-aligned setting, Ours reduces the median localization error by 20.32 m and improves S@10m, S@30m, and S@50m by 32.50, 26.73, and 17.61 percentage points. These results show that PFIRNet does not rely on the single-positive assumption of strict center alignment. Instead, it maintains more reliable coordinate localization in non-aligned satellite galleries through distance-aware supervision and continuous probability field readout.