Papers › Sample4Geo: Hard Negative Sampling For Cross-View Geo-Localisation

Sample4Geo: Hard Negative Sampling For Cross-View Geo-Localisation

21 Mar 2023ICCV 2023 1arXiv:2303.11851archive 2025-07-28

Fabian Deuser, Konrad Habel, Norbert Oswald

Cross-View Geo-Localisation is still a challenging task where additional modules, specific pre-processing or zooming strategies are necessary to determine accurate positions of images. Since different views have different geometries, pre-processing like polar transformation helps to merge them. However, this results in distorted images which then have to be rectified. Adding hard negatives to the training batch could improve the overall performance but with the default loss functions in geo-localisation it is difficult to include them. In this article, we present a simplified but effective architecture based on contrastive learning with symmetric InfoNCE loss that outperforms current state-of-the-art results. Our framework consists of a narrow training pipeline that eliminates the need of using aggregation modules, avoids further pre-processing steps and even increases the generalisation capability of the model to unknown regions. We introduce two types of sampling strategies for hard negatives. The first explicitly exploits geographically neighboring locations to provide a good starting point. The second leverages the visual similarity between the image embeddings in order to mine hard negative samples. Our work shows excellent performance on common cross-view datasets like CVUSA, CVACT, University-1652 and VIGOR. A comparison between cross-area and same-area settings demonstrate the good generalisation capability of our model.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.11851")

Code

Syntology Ran 1 of 1 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Skyy93/Sample4Geo officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

1 sample harvested; 1 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran

Licence: 1 of the 1 sample is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Skyy93/Sample4Geo. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

InfoNCE Skyy93/Sample4Geo/sample4geo/loss.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 1857d4c1872ebe57 · report

Tasks

Contrastive LearningCross-View Geo-LocalisationDrone-view target localizationImage-Based LocalizationVisual Place Recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Cross-View Geo-Localisation SpaGBOL Sample4Geo Top-1 50.80 #3 of 9 Archive leaderboard report
Drone-view target localization University-1652 Sample4Geo AP 93.81 #3 of 11 Archive leaderboard report
Drone-view target localization University-1652 Sample4Geo Recall@1 92.65 #3 of 11 Archive leaderboard report
Image-Based Localization VIGOR Cross Area Sample4Geo Hit Rate 69.87 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Cross Area Sample4Geo Recall@1 61.70 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Cross Area Sample4Geo Recall@1% 98.17 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Cross Area Sample4Geo Recall@10 88.00 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Cross Area Sample4Geo Recall@5 83.50 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Same Area Sample4Geo Hit Rate 89.82 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Same Area Sample4Geo Recall@1 77.86 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Same Area Sample4Geo Recall@1% 99.61 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Same Area Sample4Geo Recall@10 97.21 #2 of 5 Archive leaderboard report
Image-Based Localization VIGOR Same Area Sample4Geo Recall@5 95.66 #2 of 5 Archive leaderboard report
Image-Based Localization cvact Sample4Geo Recall@1 90.81 #2 of 8 Archive leaderboard report
Image-Based Localization cvact Sample4Geo Recall@1 (%) 98.77 #2 of 8 Archive leaderboard report
Image-Based Localization cvact Sample4Geo Recall@10 97.48 #2 of 8 Archive leaderboard report
Image-Based Localization cvact Sample4Geo Recall@5 96.74 #2 of 8 Archive leaderboard report
Image-Based Localization cvusa Sample4Geo Recall@1 98.68 #2 of 8 Archive leaderboard report
Image-Based Localization cvusa Sample4Geo Recall@10 99.78 #2 of 8 Archive leaderboard report
Image-Based Localization cvusa Sample4Geo Recall@5 99.68 #2 of 8 Archive leaderboard report
Image-Based Localization cvusa Sample4Geo Recall@top1% 99.87 #2 of 8 Archive leaderboard report
Visual Place Recognition CV-Cities Sample4Geo Recall@1 74.49 #2 of 3 Archive leaderboard report
Visual Place Recognition CV-Cities Sample4Geo Recall@5 84.07 #2 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Contrastive LearningInfoNCE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections