Source-linked AI summary
Not Where You Think: Protecting Location Privacy Against Reasoning-Based Geolocation
Shanghao Shi, Jian Xiao, Hao Li, Yuanhaur Chang, Yevgeniy Vorobeychik, Nathan Jacobs, Neal Patwari, Ning Zhang
TL;DR
Ordinary photos can reveal location through visual clues even after metadata and obvious identifiers are removed, while defenses for this content-based inference remain underexplored. The paper analyzes clue-based localization with GeoTrace and develops GeoShift, which edits selected clues to redirect predictions. GeoShift reduces street-level localization while maintaining visual similarity and limiting precise localization against adaptive attacks.
Problem
General-purpose reasoning models can infer location from image content, but how users can interrupt this inference before sharing while preserving image utility remains underexplored.
Source: §I · p. 1Method
GeoTrace structures visual clue extraction and coarse-to-fine geographic reasoning, while GeoShift preserves stable scene properties and edits high-impact clues toward a compatible false location.
Source: §I · pp. 1–2Results
Street-level localization drops from 16.95% to 2.48% under GPT-5-mini and from 25.71% to 3.81% under Gemini-3-Flash with the Gemini-based defense.
Source: §I · p. 2Takeaways & Limitations
Broad scene properties mainly support coarse localization, while small, distinctive local clues carry greater weight in precise predictions and can be targeted by a user-side defense.
Source: §I · p. 2
Abstract
from arXiv · showhide
Recent large reasoning models can infer where ordinary photos were taken using only visual information, creating a serious location privacy risk even when metadata and obvious geographic identifiers are removed. To understand the mechanism behind such fine-grained localization, we develop GeoTrace, a structured reasoning attack that exposes how models extract location-relevant visual clues and compose them through coarse-to-fine geographic reasoning. We evaluate GeoTrace on a worldwide benchmark of 525 ordinary images spanning natural, urban, residential, and human-centered scenes while excluding famous landmarks and direct location indicators. Our results show that GeoTrace localizes 25.71% of images within 1 km with Gemini-3-Flash and 16.95% with GPT-5-mini. More importantly, our analysis reveals a key insight in the visual clue chain: broad scene properties mainly support coarse localization, whereas precise localization disproportionately relies on small, distinctive, and editable local clues. Building on this insight, we develop GeoShift, a proactive user-side defense that breaks the visual clue chain before image release. Rather than simply removing geographic evidence, GeoShift preserves stable scene properties, selects a visually compatible false target location, and strategically rewrites high-impact geo-revealing clues to construct a coherent alternative geographic hypothesis. Experiments show that GeoShift reduces street-level localization from 16.95% to 2.48% under GPT-5-mini and from 25.71% to 3.81% under Gemini-3-Flash, while preserving visual quality and remaining effective against adaptive attacks.
I. INTRODUCTION
The paper studies location inference from image content, a threat not addressed by work focused on explicit location channels. It analyzes how models compose visual clues and develops GeoShift to redirect localization while preserving image utility.
I. INTRODUCTION
- Prior studies mainly establish image-based location inference feasibility, leaving its underlying attack mechanism and proactive protection before sharing underexplored.Existing location-privacy work largely addresses explicit disclosure through systems, platforms, or metadata channels.Source: §I · p. 1
- The paper formalizes a visual clue chain in which models extract location-relevant evidence, ground it in geographic knowledge, narrow hypotheses, and anchor coordinates on influential cues.Its two components are threat analysis of the chain and a defense designed to break it.Source: §I · p. 1
- On 525 worldwide ordinary images, Gemini-3-Flash localizes 25.71% within 1 km and GPT-5-mini localizes 16.95% within 1 km.The benchmark spans natural, urban, residential, and human-centered scenes while excluding metadata, famous landmarks, and direct location indicators.Source: §I · p. 2
- GeoShift preserves stable scene properties, selects a visually compatible false target, and edits a small set of high-impact clues through scene-coherent local modifications.The design avoids broad semantic changes and does not require users to perform expert geolocation analysis or hand-crafted editing.Source: §I · p. 2
- Street-level localization falls from 16.95% to 2.48% under GPT-5-mini and from 25.71% to 3.81% under Gemini-3-Flash with the Gemini-based defense.GeoShift also increases median localization error from tens of kilometers to over 1000 kilometers; defended images remain visually similar, and the defense still limits precise localization against adaptive attacks.Source: §I · p. 2
- Broad scene properties mainly support coarse localization, whereas precise localization relies more heavily on small, distinctive local clues.GeoTrace separates visual clue extraction from coarse-to-fine geographic reasoning to expose how models compose evidence into location predictions.Source: §I · p. 2
II. BACKGROUND AND MOTIVATION
Large reasoning models can interpret images and text through multistep inference, and their general-purpose capabilities can extract sensitive information from ordinary content. Location-privacy research has largely addressed explicit data channels, while visual-content inference and defenses against reasoning-based localization remain distinct concerns.
A. Large Reasoning Models
- Large reasoning models interpret images and text, compare hypotheses, refine answers through intermediate steps, and can ground reasoning with external tools.These capabilities can also make them powerful tools for extracting sensitive information from ordinary user content.Source: A. Large Reasoning Models · p. 2
- Privacy research on large models includes training-data extraction, sensitive-attribute inference, membership inference, and leakage through agentic interactions or reasoning traces.This work instead focuses on inferring private location information from images and reducing that leakage.Source: A. Large Reasoning Models · p. 3
B. Location Privacy Leakage
- Classic location-privacy studies address explicit coordinates, metadata, platform behavior, or system side channels, rather than location leakage from image content.Their mechanisms include perturbing or obfuscating released geolocation data and protecting location-based service queries.Source: B. Location Privacy Leakage · p. 3
- Image-geolocation systems show that visual content carries geographic information, while recent reasoning-model studies establish privacy risk but mainly analyze attack feasibility.Prior work includes customized fine-tuning and a California-focused benchmark; this paper instead studies worldwide ordinary images, structured reasoning, and proactive defense.Source: B. Location Privacy Leakage · p. 3
- GeoShield targets direct VLM geolocation with image perturbations, whereas this paper focuses on reasoning-based localization.The threat model is visual-only inference from an image available to an attacker, without captions, identity, posting history, capture time, or coarse location hints.Source: B. Location Privacy Leakage · p. 3, Figure 1 · p. 3
III. THREAT MODEL
The threat model assumes an attacker uses only an image’s visual evidence and web-enabled multimodal reasoning models to infer where it was taken. The benchmark and defense setting focus on ordinary outdoor images spanning scenes and regions worldwide, filtered to reduce landmark and direct-location bias.
III. THREAT MODEL
- The attacker may obtain a victim-associated image publicly and query web-enabled multimodal reasoning models, without captions, identity, posting history, timestamps, or coarse location hints.The attacker’s aim is to infer the precise capture location.Source: §III · p. 3
- The defender has the original image and ground-truth coordinates, and seeks minimal semantic edits that redirect localization while preserving image quality and plausibility.The defender may use a different capable multimodal model than the attacker; neither side is assumed to have expert geolocation knowledge.Source: §III · pp. 3–4
A. Benchmark Construction
- The benchmark contains 525 outdoor geo-tagged images from five sources, covering natural, urban, residential, and human-centered scenes.Its images have ground-truth coordinates; low-quality, ambiguous, or insufficiently precise annotations are removed whenever possible.Source: A. Benchmark Construction · p. 4
- A CLIP-based score threshold of 0.75 and human inspection remove landmark-like images and direct location indicators, including visible metadata.The filtering is intended to evaluate visual reasoning rather than trivial landmark recognition.Source: A. Benchmark Construction · p. 4
- The benchmark spans six regions: North America (199), Asia (110), Europe (76), Latin America (61), Oceania (40), and Africa (39).This coverage avoids evaluating the attack within only one country, region, or visual domain.Source: A. Benchmark Construction · p. 5
B. Evaluation Metrics
The evaluation measures localization error continuously and as the share of images falling within specified distances of the ground truth. It also uses GeoScore to complement threshold-based leakage rates and assesses defense before and after application.
B. Evaluation Metrics
- Leakage@r is the fraction of images localized within r kilometers of the ground truth, reported at five distance thresholds from 1 km to 2500 km.The thresholds correspond to street-, city-, region-, country-, and continent-level localization.Source: B. Evaluation Metrics · p. 5
- Mean and median localization error capture different aspects of distance-based performance, with the median more robust to heavy-tailed errors and the mean capturing overall failure magnitude.Source: B. Evaluation Metrics · p. 5
- GeoScore maps localization error to a score between 0 and 5000, giving more credit to nearby predictions and smoothly penalizing larger errors.For defense evaluation, the same metrics are reported before and after defense to quantify leakage reduction and visual-quality preservation.Source: B. Evaluation Metrics · p. 5
V. GEOGRAPHIC REASONING ATTACK
GeoTrace separates the extraction of location-relevant visual clues from geographic inference, then searches through geographic levels from coarse to fine. Its design aggregates ambiguous evidence, resolves conflicts, and checks that the final location and coordinates are consistent with the reasoning chain.
A. Attack Intuitions
- GeoTrace separates clue extraction from localization because only a subset of image features is geographically informative, while hierarchical geographic search breaks global localization into progressively narrower reasoning steps.Clues can include visible signs, environmental patterns, built-environment styles, or infrastructure.Source: A. Attack Intuitions · p. 5
B. Attack Design
- The first stage organizes 20 common clue types into five categories, with natural-environment clues often supporting coarse inference and semantic or built-environment clues providing finer evidence when present.An open-ended “others” category accommodates clues outside the predefined list.Source: B. Attack Design · p. 5
- The clue-extraction stage returns each clue’s type, observed evidence, and confidence without predicting a final location, providing structured evidence for the next stage.Source: B. Attack Design · p. 5
- The second stage grounds extracted clues with web search while progressively committing to hypotheses from country through street or point of interest.It aggregates clues and confidence levels, preserves ruled-out regions, resolves inconsistent evidence, and avoids finer predictions when evidence is insufficient.Source: B. Attack Design · p. 6
- The final stage checks consistency among the predicted country, region, city, fine-grained location, and coordinates, returning a coarser prediction when evidence is insufficient.The output includes coordinates, a textual description, precision level, rationale, and confidence score.Source: B. Attack Design · p. 6
C. Attack Evaluation
GeoTrace achieves fine-grained localization on ordinary images, and its trace analysis distinguishes broad cues that support coarse localization from small clues associated with precise localization.
C. Attack Evaluation
- GeoTrace localizes 16.95% of images with GPT-5-mini and 25.71% with Gemini-3-Flash within 1 km; within 25 km, it localizes 48.38% and 58.48%, respectively.Source: C. Attack Evaluation · p. 6
- Localization errors are long-tailed: Gemini-3-Flash has a 9.24 km median error versus a 520.93 km mean, while GPT-5-mini has a 28.86 km median versus a 1320.72 km mean.The paper attributes the gap to a small number of large localization failures.Source: C. Attack Evaluation · p. 6
- GeoTrace achieves the highest street-level localization accuracy among direct prompting, direct prompting with web search, and GeoMiner [21], while remaining competitive at broader levels.The comparison uses GPT-5-mini.Source: Table II · p. 7, C. Attack Evaluation · p. 7
- GeoTrace costs $0.173 per image with Gemini-3-Flash and $0.117 per image with GPT-5-mini in the reported setup.The Gemini setup uses approximately 4.29M input tokens, 6.11M output tokens, and 550 web searches; the GPT-5-mini setup uses 20.16M input tokens and 3.45M output tokens.Source: C. Attack Evaluation · p. 7
D. Analysis
- Small, distinctive clues dominate precise localization: signage appears in 69.2% of precisely localized images, while environment type appears in 79.7% of coarsely localized images.Micro-infrastructure (65.7%) and building architecture (55.9%) are also frequent precise clues; flora (75.4%) and climate (75.4%) are frequent coarse cues.Source: D. Analysis · p. 7
VI. PROACTIVE DEFENSE
GeoShift redirects localization rather than suppressing geographic evidence: it preserves stable scene properties while editing a small set of clues to support a plausible false location.
A. Defense Intuition
- GeoShift exploits the asymmetry between visually similar places and the small, distinctive clues that can anchor fine-grained localization.The defense targets editable geo-revealing clues while retaining stable scene properties.Source: A. Defense Intuition · p. 8
B. Detailed Method
- GeoShift selects a visually compatible false location, plans localized clue interventions, and applies those edits to generate a protected image.A multimodal reasoning model performs location selection and intervention planning; an image editor applies the edits.Source: B. Detailed Method · p. 8
- GeoShift preserves stable properties such as climate, terrain, vegetation, urban density, and seasonal cues while choosing a compatible false target.The model identifies visible editable clues and records their regions, content, localization evidence, and rationale for editing.Source: B. Detailed Method · p. 8
- The intervention plan specifies each clue, edit region, intervention type, and target content, subject to stealthiness and scene-coherence constraints.The plan can inject or swap content in selected regions.Source: B. Detailed Method · p. 8
- Planned semantic edits are applied only to selected local regions, while watermark interventions are rendered separately in a designated neutral region.The generative editor verifies that selected intervention regions exist before making modifications.Source: B. Detailed Method · p. 8
C. Defense Evaluation
GeoShift reduces street- and city-level localization under both tested attacks, with the Gemini-based defense providing stronger protection than the Qwen-based defense. The evaluation also reports visual-quality and cost measures for the defense.
C. Defense Evaluation
- The defense evaluation uses Gemini-3-Flash and Qwen-3-VL-30B-Instruct as defensive models and reports localization-error distributions under different defense models.Fig. 10 depicts location selection, intervention planning, and edit application.Source: C. Defense Evaluation · p. 8, Figure 11 · p. 9, Figure 10 · p. 9
- Street-level accuracy falls from 16.95% to 2.48% under GPT-5-mini and from 25.71% to 3.81% under Gemini-3-Flash with Gemini-3-Flash defense.City-level accuracy falls from 48.38% to 9.14% and from 58.48% to 12.00%, respectively; the Gemini defense outperforms Qwen across both attacks and all reported thresholds.Source: C. Defense Evaluation · p. 9
- Under Gemini-3-Flash attack, median localization distance increases from 9.24 km without defense to 229.30 km with Qwen-3-VL defense and 1156.21 km with Gemini-3-Flash defense.Median GeoScore falls from 4968.13 without defense to 4275.84 and 2299.01, respectively.Source: C. Defense Evaluation · p. 9
- Defending all 525 images costs $16.87 with the local Qwen-3-VL defense and $33.88 with the Gemini-3-Flash defense.These correspond to $0.032 and approximately $0.0645 per image, respectively.Source: C. Defense Evaluation · p. 9
- GeoShift’s PSNR is 33.76 dB and CLIP similarity is 0.979, compared with 15.78 dB and 0.944 for Generative Editing.Generative Editing provides the strongest baseline protection but introduces significant visual distortion; Fake-Location Watermark has higher visual similarity but limited defense effectiveness.Source: Table V · p. 10, C. Defense Evaluation · p. 10
- Gemini-3-Flash defense has mean CLIP similarity of 0.979 and mean PSNR of 33.76 dB, compared with 0.885 and 19.58 dB for Qwen-3-VL defense.The paper reports that both defenses maintain reasonable stealthiness and that Gemini-3-Flash has better visual fidelity.Source: C. Defense Evaluation · pp. 9–10, Figure 12 · p. 10
D. Against Adaptive Attacks
The evaluation tests three adaptive attack strategies against Gemini-3-Flash-defended samples. Although the strategies improve attack performance to varying degrees, the reported errors remain far beyond street- or city-level localization under the strongest strategy.
D. Against Adaptive Attacks
- The top-k candidate attack returns three plausible candidates and counts as successful when any candidate is correctly localized.The visual-match attack emphasizes overall visual similarity; conflict-pruning asks the model to remove potentially conflicting clues.Source: D. Against Adaptive Attacks · pp. 10–11
- Even the strongest adaptive strategy, top-k candidate attack, leaves median localization errors of 715.01 km for Gemini-3-Flash and 498.22 km for GPT-5-mini.Its street- and city-level accuracy rises to 5.14% and 27.05% under GPT-5-mini, and 9.02% and 23.61% under Gemini-3-Flash.Source: Table VI · p. 11, D. Against Adaptive Attacks · p. 11, Table VII · p. 11
- Visual match is the weakest adaptive attack and performs slightly worse than the original GPT-5-mini attack; conflict-pruning gains are smaller than top-k’s.The paper attributes robustness to GeoShift changing semantic location evidence that remains in the released image, while suppressing those edits can also weaken fine-grained clues.Source: D. Against Adaptive Attacks · p. 11
E. Analysis
GeoShift retains strong protection after JPEG compression and resizing followed by restoration. Its effectiveness is associated with editing coherent, high-impact clues, while failures arise from difficult-to-replace visual cues or attacker detection.
E. Analysis
- GeoShift maintains strong protection after JPEG compression and resizing followed by restoration when evaluated with GeoTrace and GPT-5-mini.The processed-image localization results are reported in Tab. VIII.Source: E. Analysis · pp. 11–12
- Signage was modified in 100% of analyzed defenses, language or script in 68.9%, and watermarks in 49.1%.Images shifted beyond 200 km averaged 1.94 generative edits, compared with 2.22 edits for images still localized within 1 km; effectiveness depended more on coherent, high-impact edits than edit count.Source: E. Analysis · p. 12
- Among defense failures, 35% remained anchored by irreplaceable POI-like visual patterns, while 65% involved attackers detecting and rejecting the defense.The latter cases typically involved a cue-consistency conflict when edits were not sufficiently coherent or subtle.Source: E. Analysis · p. 13
VII. DISCUSSION
The discussion contrasts semantic clue edits with model-specific pixel perturbations and considers deployment trade-offs and coordinated protection for image sets. The conclusion summarizes GeoTrace and GeoShift, while the ethical discussion bounds the study to curated benchmark images rather than real people or profiles.
VII. DISCUSSION
- Unlike pixel-level perturbations whose transferability may be limited across models, GeoShift changes localized visual evidence at the semantic level.The discussion notes this may make the defense less dependent on model-specific perturbation transfer.Source: §VII · p. 13
- GeoShift’s defensive model need not be stronger than the attacker because it selects a compatible alternative and edits a few clues rather than locating the true place.Lightweight defensive models provide meaningful protection, while stronger ones produce more coherent targets and higher-quality interventions.Source: §VII · p. 13
- The proposed deployment path uses lightweight local models and editors to reduce API calls and avoid uploading private images to external services.The discussion also suggests a warning-only system when automatic editing is not feasible.Source: §VII · p. 13
- Independently redirecting images from one place to different false locations may create inconsistencies that adaptive attackers can exploit.The proposed extension jointly maps images from the same location to one shared false target with mutually consistent cues.Source: §VII · p. 13
VIII. CONCLUSION
- GeoTrace exposes visual-only location inference from ordinary images, and GeoShift edits high-impact clues toward a visually compatible false location.The conclusion reports reduced fine-grained localization across multiple attack models while preserving visual quality and remaining effective against adaptive attacks.Source: §VIII · p. 13
ETHICAL CONSIDERATIONS
- Experiments use curated benchmark images with ground-truth coordinates and do not target real individuals, social media accounts, or private profiles.The study also excludes auxiliary personal information such as identities, captions, posting history, and user metadata.Source: ETHICAL CONSIDERATIONS · p. 14
APPENDIX A ATTACK PROMPTS
The appendices provide GeoTrace prompts for extracting visual clues and conducting coarse-to-fine geographic search, alongside GeoShift’s defense-planning prompt.
APPENDIX A ATTACK PROMPTS
- GeoTrace’s visual-clue extraction and coarse-to-fine geographic-search prompts are provided in Figs. 15 and 16.The appendix identifies these as the detailed prompts for the two attack stages.Source: Appendix A · p. 15
APPENDIX B DEFENSE PROMPT
- GeoShift’s detailed defense-planning prompt is provided in Fig. 17.The appendix identifies Fig. 17 as the defense prompt.Source: Appendix B · pp. 15, 18, Figure 17 · p. 18
- Fig. 15 presents the prompt used for GeoTrace visual-clue extraction.The prompt is identified as an attack prompt.Source: Figure 15 · p. 16
- The search prompt instructs the model to commit to one best hypothesis at each geographic level before narrowing further.It frames the task as a systematic coarse-to-fine search.Source: Appendix B · p. 17
- The search prompt supplies both a clue summary and raw Stage 1 JSON as inputs.The prompt labels these inputs as {clue_summary} and {clue_raw_json}.Source: Appendix B · p. 17
- Fig. 16 presents the prompt used for GeoTrace’s coarse-to-fine geographic search.The prompt is identified as an attack prompt.Source: Figure 16 · p. 17