WorksComputer Science
GeoCloak: An Agentic Framework for Semantics-Preserving Geolocation Privacy via Peripheral Clue Manipulation
Abstract
The rapid advancement of large vision language models (LVLMs) has made geolocation inference from images highly accurate and accessible. This poses serious privacy risks: a passive adversary with black-box LVLM access can infer a user's location from a single photo with no metadata. Existing protection methods rely almost exclusively on adversarial perturbation, which introduces perceptible visual artifacts and utility degradation. We identify the visual-geolocation asymmetry: geolocation-decisive clues, such as street signs, tend to be visually peripheral but dominate location inference. Exploiting this asymmetry, we propose GeoCloak, an agentic framework for semantics-preserving geolocation privacy protection. It acts as a clue-aware planner that analyzes each image to identify geolocation-relevant clues, dispatches targeted semantic edits to directly suppress peripheral clues, and autonomously configures adversarial perturbation to further suppress residual geolocation features, all under iterative utility-aware feedback. We evaluate GeoCloak on four diverse datasets spanning 108 countries and 576 cities against five LVLMs and three inference methods. GeoCloak reduces overall city-level accuracy from 41.2% to 9.9%, approximately half of the best-performing baseline, while achieving substantially superior utility preservation both qualitatively and quantitatively. We hope this work takes a meaningful step toward practical, semantics-preserving geolocation privacy protection, giving users greater control over the location information inadvertently embedded in their shared images.
Introduction
The rapid advancement of large vision language models (LVLMs) has made image geolocation inference unprecedentedly accessible and accurate. Where geolocation once required specialized expertise and hours of manual analysis, LVLMs can infer precise geographic locations from a single image in minutes [33, 35]. This capability has been further extended through inference-time approaches including prompting strategies [26, 34, 45], retrieval augmentation [20, 57], as well as tool-augmented agentic systems [28, 49, 56] and
post-training with geographic reward signals [21, 24, 25, 53]. Consequently, an attacker with access to an LVLM can upload a photo and infer its precise geolocation, posing an unprecedented threat to individual location privacy.
To counter this threat, existing work mainly proposes defenses at two levels. Model-level approaches such as output moderation [35] and prompt-based refusal [34] restrict location disclosure at inference time. However, these defenses rely on LVLM providers to enforce them, and an attacker can simply turn to an unguarded model to bypass them entirely. At the image level, the dominant approach is adversarial perturbation. Before sharing, carefully crafted signals are injected into the image to disrupt LVLM inference. Existing methods fall into two categories. Targeted approaches, such as M-Attack [29] and AnyAttack [55], steer predictions toward a specific wrong location. Untargeted approaches, such as GeoShield [32] and ReasonBreak [54], concentrate perturbations on geo-revealing regions. However, these methods apply a fixed perturbation pipeline uniformly to each image without adapting to its content, relying on post-hoc utility evaluation rather than actively incorporating utility constraints into the protection process, introducing perceptible visual artifacts and degrading image utility (§ 7.1).
In this paper, we propose GeoCloak, an agentic framework for semantics-preserving geolocation privacy protection, motivated by a key observation. As illustrated in Figure 1, a small floor sign in Khmer script definitively places this image in Cambodia, yet it occupies only a tiny fraction of the visual scene. We term this the visual-geolocation asymmetry. That is, the clues most decisive for LVLM geolocation inference, e.g., street signs, are often visually inconspicuous and easy for humans to overlook. This asymmetry further characterizes the images that genuinely require protection. In such images, the location can be inferred from subtle, inconspicuous clues that users never intended to share.
Figure 1. An illustration of the visual-geolocation asymmetry. The most decisive geolocation clue (ranking score 1.0) is a small, visually peripheral sign in Khmer script.
Exploiting this asymmetry, GeoCloak introduces semantic editing as a novel protection mechanism that directly targets these peripheral clues, achieving strong privacy protection with minimal impact on visual quality. Adversarial perturbation is reserved for residual scene-level features. By integrating adversarial perturbation within an iterative feedback loop, GeoCloak actively adjusts hyperparameters and loss configuration based on utility feedback, keeping visual degradation manageable. Since every image captures a unique scene, the geolocation clues it contains are inherently image-specific, and so are the protection strategies it demands. A static pipeline is fundamentally ill-suited to this problem. We address this with an agentic protection framework, that acts as a clue-aware planner. It first identifies the geolocation-relevant elements present in each image. It then dispatches appropriate manipulation tools: semantic editing, adversarial perturbation, or both. Finally, it iteratively evaluates the resulting privacy-utility tradeoff via metrics such as CLIP similarity, converging on a protected image that is both geolocationally misleading and semantically faithful.
We evaluate GeoCloak on four diverse datasets spanning 108 countries and 576 cities. Location sharing is not always undesirable [8, 9], and we therefore adopt an evaluation scope, prioritizing protection for images where location can be inferred from subtle, inconspicuous clues that users did not intend to reveal. § 3 and § 6 details the evaluation scope and exclusion criteria, respectively. Our main evaluation covers five LVLMs from diverse model families and three distinct inference paradigms, zero-shot prompting, two-stage clue-guided reasoning (GeoMiner [34]), and post-trained tool-augmented agentic inference (GeoVista [49]), yielding 11 attacker configurations. To assess transfer beyond LVLM-based inference, we further test GeoCLIP [5], an embedding-based retrieval method, and GeoSeer [10], a commercial black-box tool. We consider two state-of-the-art image-level defenses, M-Attack [29] (targeted) and GeoShield [32] (untargeted), as baselines. GeoCloak significantly outperforms both baselines across all settings. Starting from an initial city-level accuracy of 41.2%, GeoCloak reduces it to 9.9%, compared to 24.5% for M-Attack and 19.7% for GeoShield. Despite being powered by Gemini-2.5-Pro, GeoCloak generalizes beyond its backbone, defending effectively against stronger models. Against the strongest attacker in our evaluation, Gemini-3.1-Pro under zero-shot inference, GeoCloak reduces city-level accuracy from 51.3% to 13.8%, while GeoShield and M-Attack only achieve 33.2% and 37.3%, respectively. GeoCloak remains effective across zero-shot, clue-guided, and tool-augmented inference. It also transfers to non-LVLM attackers, including the retrieval-based GeoCLIP and the commercial black-box GeoSeer. We further conduct a human perception study, in which GeoCloak receives an overall quality rating of 4.43/5, substantially higher than M-Attack (2.63) and GeoShield (2.53). Automatic metrics further confirm its utility preservation. GeoCloak achieves a CLIP similarity of 0.9197, compared with 0.7719 for M-Attack and 0.4209 for GeoShield. More detailed results are provided in § 7.1 and Appendix § 20. Further analysis confirms that semantic editing alone already achieves strong protection, while combining it with adversarial perturbation further improves results. GeoCloak also generalizes well to both proprietary and open-sourced backbones (§ 8). Targeting the strongest country-level protection, GeoCloak requires a median cost of $0.32 per image (approximately $0.16 with the Gemini Batch API) and 8.3 minutes, making it practically deployable for real-world geolocation privacy protection (§ 8.1). We demonstrate that GeoCloak remains effective against adaptive attacks based on conflict-aware prompting, image preprocessing, and fine-tuning on protected images (§ 8.2). Overall, our main contributions are:
We identify a visual-geolocation asymmetry: geolocation-decisive clues are visually peripheral yet highly informative.
We propose GeoCloak, an agentic framework that autonomously exploits this asymmetry through targeted semantic editing and adversarial perturbation under iterative utility-aware feedback. We further release a user-centered interactive version of GeoCloak that empowers users to directly control the protection process according to their own privacy preferences.
We evaluate GeoCloak on four datasets spanning 108 countries and 576 cities across 11 configurations from diverse LVLM families and inference paradigms, along with non-LVLM-based, commercial, and adaptive attackers, demonstrating superior privacy protection and utility preservation.
Related Work
Geolocation Inference. Recent work has increasingly leveraged LVLMs for geolocation inference, harnessing their world knowledge accumulated during pre-training and, more importantly, their ability to reason over visual clues such as landmarks, signage, vegetation, and architectural styles [26, 33, 34, 56]. A line of work exploits prompting strategies, from zero-shot queries [33, 35] to structured chain-of-thought frameworks [26, 34, 45], to elicit hierarchical geographic reasoning from LVLMs. Beyond prompting, some work augments LVLMs with retrieval-augmented generation to ground predictions with external geo-tagged references [20, 57], while others build agentic systems that equip LVLMs with customized tools, such as web search, image zoom-in, and street view navigation, enabling iterative, multi-step evidence gathering [28, 56]. A further line of work improves geolocation capability through post-training, via supervised fine-tuning or reinforcement learning with geographic reward signals [21, 24, 25, 53]. More recently, agentic and post-training approaches have converged: several works train LVLMs end-to-end to act as geolocation agents, instilling both tool-calling capabilities and geographic reasoning through multi-stage post-training pipelines [19, 49]. Prior retrieval-based [5, 48] and classification-based methods [16, 51] have been empirically shown to underperform LVLMs despite requiring millions of labeled training images [33, 35, 45].
Protection Methods. Traditional defenses such as metadata stripping and image blurring have been shown to offer limited effectiveness against LVLMs, which infer location directly from visual content [33, 34]. More recently, protection methods targeting LVLM-based geolocation inference have emerged, operating either at the model level [34, 35] or the image level [29, 55]. At the model level, output moderation [35] and prompt-based refusal [34] restrict location disclosure at inference time. They require deployment on the service side, leaving individual image owners with no direct control over how their shared images are processed. At the image level, the dominant approach is adversarial perturbation, adding imperceptible noise to images before sharing to disrupt LVLM geolocation inference. Existing approaches fall into two categories. Targeted methods, such as M-Attack [29] and AnyAttack [55], steer predictions toward a specific incorrect location by aligning image features with a target image. Untargeted methods, such as GeoShield [32] and ReasonBreak [54], instead aim to suppress geolocation capability without specifying a target. These approaches, however, rely on post-hoc utility evaluation rather than actively incorporating utility constraints into the protection process. This inevitably introduces perceptible visual artifacts and utility degradation, as demonstrated in Figure 3, Table 6, and Appendix § 19.

Figure 3. Qualitative comparison of defense methods. Numbers indicate how many of the 11 attackers, each corresponding to a unique (model, inference method) pair, successfully geolocate the image. We present cases where all defenses largely succeed. Best viewed (Appendix § 19) with zoom to observe severe visual artifacts, such as floating text, superimposed objects, spatial distortions, and unnatural cropping.
| Dataset | Defense | CLIP Sim | BERT Score | BLEU | ROUGE-L |
| Overall | M-Attack | 0.7719 | 0.9124 | 0.0968 | 0.3839 |
| GeoShield | 0.4209 | 0.9047 | 0.0766 | 0.3480 | |
| GeoCloak | 0.9197 | 0.9158 | 0.1136 | 0.4054 |
Table 6. Utility comparison of defense methods across four datasets. Higher is better ( higher is better). Bold indicates the best value per dataset.
Threat Model
Scenario. Users frequently share images that inadvertently contain visual clues, such as street signs and background architectural details, that are highly informative of geographic location. As LVLMs become increasingly capable of exploiting such clues, these shared images may unintentionally disclose location information that users never intended to reveal, posing serious privacy risks.
Attacker. The attacker is a malicious individual who seeks to infer the city-, state-, or country-level geolocation of images shared by users on public platforms. The attacker is assumed to have access to the protected image only, without access to the original unprotected version. To perform geolocation inference, the attacker leverages state-of-the-art LVLMs and various geolocation inference methods.
Defender. The user is an individual who wishes to share an image on social media or other public platforms, but wants to prevent their location from being inferred. Before sharing, the user provides the image and its ground-truth geolocation to GeoCloak, which analyzes the image and applies targeted modifications. The ground-truth geolocation is required, as it serves as the termination condition for the iterative protection loop, protection is declared successful only when GeoCloak can no longer correctly infer the ground-truth location from the modified image. When external model APIs are used, the trust assumption extends to the providers that process the images and the ground-truth location. Alternatively, users or trusted organizations can host both GeoCloak and its underlying open-source models within their own infrastructure, keeping
ing these inputs within that environment. Our open-source configuration demonstrates that effective protection does not require proprietary model APIs (Table 7).
| Design Choice | Overall ↓ |
| Initial | 24.1% |
| GeoCloak w/o Semantic Editing | 15.4% |
| GeoCloak w/o Perturbation | 5.1% |
| Closed-source alternative† | 6.3% |
| Open-source alternative‡ | 7.4% |
| GeoCloak (Full) | 4.0% |
Table 7. Ablation study on GeoCloak design choices. Overall city-level attack success rate (%) is averaged across 11 attacker configurations on the Im2GPS3k.
Protection Goal. GeoCloak aims to achieve two objectives: (1) privacy goal: prevent the attacker from correctly inferring the geolocation of a protected image; (2) utility goal: preserve the semantic content and visual quality of the original image so that the user’s intended sharing experience is not compromised.
Scope. Several studies [6, 49] argue that easily localizable landmark images inflate reported accuracy and fail to reflect the true geolocation reasoning capability of LVLMs, as such locations are often recognized through memorization rather than visual reasoning. Therefore, these images are excluded during evaluation. However, we argue that this issue should not be considered solely from an evaluation perspective, but also from the standpoint of user sharing intention. Location sharing is not always undesirable, e.g., platforms such as OpenBenches [9] rely on users intentionally sharing photos alongside their geographic locations. While major platforms and operating systems have begun stripping location metadata by default to protect user privacy, this one-size-fits-all approach has been criticized for overriding the intentional sharing preferences of users who actively want their location to be known [8]. From both an evaluation and a user intent perspective, we scope our study to exclude images containing globally recognizable landmarks that are visually dominant, as such images are more likely to reflect an intention to share location information rather than concealing it. For instance, a user who captures a photo with the Eiffel Tower prominently occupying the frame is most likely intending to share that they are in Paris at that moment. Prior work [6, 49] does not specify how to systematically identify and exclude such images; we address this gap by introducing a practical procedure for filtering them (see § 6).
GeoCloak
System Overview
As illustrated in Figure 2, GeoCloak is an agentic framework comprising two specialized agents, ClueAgent and EditAgent, coordinated by a central Orchestrator. Given an input image and its ground-truth geolocation, the system iteratively applies targeted modifications until the image can no longer be correctly geolocated while visual utility is preserved, or until a maximum number of steps is reached. ClueAgent identifies geolocation-revealing clues and predicts the current location, while EditAgent formulates a protection plan and executes targeted edits; details are given in § 4.2 and § 4.3. The Orchestrator coordinates two checks: a utility check to ensure visual quality is preserved, and a protection check to determine whether geolocation has been successfully disrupted. Formally, we define the utility check of a protected image at iteration as:
Figure 2. Overview of GeoCloak. A utility check ensures visual quality, and ClueAgent re-evaluates the image as a protection check, terminating when the correct location can no longer be inferred. See multi-turn examples in Appendix § 13.
where returns the set of primary objects detected by the LVLM, is the CLIP image encoder, and is the original image. acts as a hard constraint: any significant modification that alters the primary objects immediately yields , regardless of visual similarity. The cosine term measures residual visual drift. We further define a multi-granularity protection check as:
where jointly determines whether and agree at granularity and . The loop terminates at the earliest iteration :
where is the maximum number of allowed iterations, is the utility threshold, and is the target protection granularity. When , we report the strongest protection level achieved: country-level if , state-level if only , and city-level if only . If no protection is achieved (i.e., the image remains unmodified), a fallback adversarial perturbation is applied, yielding , constrained to . At , only the protection check is performed: ClueAgent and the Orchestrator analyze to check whether the image is currently geolocatable, i.e., whether . At each subsequent iteration , both agents and both checks are involved: EditAgent formulates a plan and generates executable code, which the Orchestrator executes to yield a candidate . The Orchestrator first performs the utility check (Equation (1)): if , the modification is rolled back and EditAgent revises its plan. If it passes, ClueAgent and Orchestrator re-evaluate the image (protection check) via Equation (2): if , the loop terminates; otherwise the next iteration begins. EditAgent employs two complementary skills, detailed in § 4.3. We further exhibit a successful example of multi-turn GeoCloak protection in Appendix § 13.
ClueAgent
Overview. ClueAgent serves a dual role in GeoCloak: it acts as both a geolocation analyzer and an attacker. At the start of each iteration , ClueAgent is prompted to analyze the current image and identify all geolocation-revealing clues, producing a structured clue set:
Each clue is characterized by a four-tuple:
comprising its type , description , region (bounding box in pixel coordinates), and ranking score . The type has four values: landmark, text&signage, culture, and spatial, following the categories proposed by [26]. The description captures the semantic content of each clue and the reasoning behind its geolocation relevance, serving as the primary input for EditAgent to formulate targeted modification strategies. Clues are assigned a ranking score reflecting how precisely they localize the scene, from uniquely identifying a specific location down to weak or ambiguous signals, where a higher rank indicates the clue more precisely identifies the location. In addition to producing , ClueAgent acts as an attacker by predicting a location estimate from the identified clues. Concretely, ClueAgent is an LVLM that is prompted with the full clue set and asked to output its best geolocation prediction:
where is a location name (e.g., “Warsaw, Poland”), which serves as the termination condition for the iteration loop. That is, protection is declared successful when ClueAgent can no longer correctly infer the ground truth location from the modified image, i.e., , where denotes the ground-truth location. This criterion determines when to stop editing based on ClueAgent’s prediction and does not imply that all location-revealing clues have been removed. Protection beyond ClueAgent is assessed through the external attacker evaluation described in § 5.1.
Adaptive Strategy. We further consider the case where ClueAgent fails to correctly geolocate the image even on the unmodified image, i.e., , which occurs when geolocation clues are subtle or ambiguous. In this case, since a stronger attacker in practice may succeed where ClueAgent fails, we propose an adaptive strategy. Our system switches to a GT-guided mode in which the ground truth is explicitly provided as additional context to guide the clue identification process. Crucially, this mode is determined once at based on whether ClueAgent succeeds on the original image, and remains fixed for the entire run:
Under GT-guided mode, each iteration uses an oracle-augmented clue analysis:
which is then passed to EditAgent in place of . The ground-truth guidance helps ClueAgent identify residual clues that a more capable attacker might exploit, even when its own geolocation inference fails. The loop stops when ClueAgent can no longer identify clues relevant to the ground-truth location, replacing the geolocation-mismatch condition in Equation (3). The utility constraint and iteration limit remain unchanged.
EditAgent
Overview. EditAgent aims to formulate targeted modifications to suppress geolocation-revealing clues identified by ClueAgent. Upon receiving the active clue set (equal to in standard mode or in GT-guided mode, as determined by Equation (7)), EditAgent produces a structured modification plan , selects and executes appropriate skills, and yields an updated image :
EditAgent is equipped with two complementary skills: semantic editing, which applies targeted modifications to discrete, fine-grained clues; and adversarial perturbation, which applies gradient-based noise to disrupt large or structural clues that resist semantic editing. For each iteration, EditAgent selects the appropriate skill based on the remaining clues and generates a structured plan specifying the skill, its corresponding parameters, and a reasoning field that details the rationale behind the chosen strategy. For semantic editing, this includes the editing strategy and a natural language prompt. For adversarial perturbation, this includes configuring the optimization objectives (e.g., loss function) and hyperparameters (e.g., privacy budget). Each plan is accompanied by executable Python code passed to the Orchestrator.
Semantic Editing Skill. This skill targets discrete, localizable clues by applying one of five strategies: ReplaceText, AddDecoy, ReplaceObject, EraseObject, and StyleTransfer. It is implemented as a prompted LVLM call that receives the clue set , the current image , and the strategy , and returns a structured plan specifying and . Due to space limitation, we provide examples of each strategy in Appendix § 15. The full prompt template is provided in Appendix § 14. Given the clue with high ranking score relative to their region area :
EditAgent selects a strategy and constructs a natural-language prompt to drive the edit:
where denotes the five editing strategies.
ReplaceTextsubstitutes geolocation-revealing text, such as street signs, shop names, or license plates, with text from a visually similar but geographically distinct region.AddDecoyis applied when dominant clues are too large or structural to edit directly; it inserts a nearby misleading element to recontextualize existing clues.ReplaceObjectswaps geolocation-specific objects, such as post boxes, tram models, or traffic signs, with plausible alternatives from a nearby country.EraseObjectremoves clues that are too distinctive to replace but small enough to inpaint cleanly.StyleTransfershifts the visual style of peripheral background elements, such as distant buildings or vegetation, toward a geographically distinct but visually similar region, while leaving the primary subject untouched.
Note that we do not distinguish between text and objects for erasure, as both are simply removed and inpainted; the distinction becomes necessary for replacement, where the substitution strategy differs fundamentally between linguistic clues and physical objects. Strategy selection is implemented via the LVLM following five ordered principles, which together enforce a privacy–utility trade-off: (1) start small, where we prioritize clues by , favoring those with a high ranking score relative to their region area ; (2) blend naturally, where all modifications specified by the generated prompt must be consistent with the scene’s lighting, perspective, and style; (3) stay culturally close, where replacements must be drawn from a geographically adjacent region to remain visually plausible; (4) preserve the main subject, where must not overlap with the primary subject region detected by the LVLM; (5) persist and escalate, where upon failure, retry with a revised , then switches to an alternative strategy . The region of the image is updated as:
Adversarial Perturbation Skill. This skill applies gradient-based noise to disrupt large or structural clues that resist semantic editing, such as scene-level architectural features. It requires EditAgent to make several autonomous decisions when constructing and refining a perturbation. For the optimization reference, it selects either region-focus, which builds a bounding-box pool including all clue regions and the full image, or full-image, which uses only the full image as the reference target. For the loss function, it selects , where corresponds to feature-only-loss and to dual-loss. At each optimization step , the adversarial image is cropped into a local and global view,
A reference crop is sampled uniformly from the bounding box pool:
Let denote the image encoder and the text encoder of an ensemble of CLIP models. The per-step loss is accumulated over both adversarial crops and all ensemble members :
where is the text-pull weight and is a non-geolocation description generated by EditAgent that preserves the scene’s visual content while stripping all location-identifying elements. The perturbation is updated via sign stochastic gradient ascent with step size and projected onto the ball of radius , where denotes the perturbation budget:
and is run for steps. Under (feature_only), maximizing minimizes cosine similarity between the adversarial crops and the reference, pushing the image away from its geolocation-revealing CLIP representation. Under (dual_loss), the second term pulls the adversarial crops toward , constraining the perturbation direction and reducing visual degradation.
Once EditAgent selects adversarial perturbation as the protection skill for the first time, it inspects the available clues and initially selects the optimization reference (region_focus if clues carry bounding boxes, otherwise full_image), loss function (dual_loss when the scene has clear visual content, otherwise feature_only), and sets an initial and . When dual_loss is chosen, EditAgent additionally composes a , and sets an initial . When a previous attempt has been made, EditAgent iteratively adapts its configuration based on the observed privacy-utility tradeoff. If (e.g., primary objects have been altered or visual drift is excessive, EditAgent rolls back the current perturbation and tightens the configuration: it can switch to dual_loss, raise , make the description more descriptive, reduce , or reduce . If privacy protection is insufficient while , it can switch to region_focus, make the description more generic, lower , switch to feature_only, increase , or increase . The full prompt template is provided in Appendix § 14.
Evaluation
Experimental Setup
Datasets. We evaluate GeoCloak on four datasets that support level-wise geolocation evaluation to comprehensively assess protection effectiveness across diverse geographic and visual contexts: Im2GPS3k [48], GeoBench [49], Dataset-GSS [26], and Dataset-PCW [26]. We use all available data from GeoBench and Dataset-PCW. Because Im2GPS3k and Dataset-GSS are substantially larger, we randomly sample 500
images from each dataset. This yields a benchmark of 1,779 images spanning 108 unique countries and 576 unique cities across all four datasets. This scale exceeds the 500-image DoxBench evaluation used in the prior GeoMiner study [34]. Across the available images, our full evaluation design comprises over 75,000 evaluation runs, covering 11 attacker configurations and four conditions (Initial, M-Attack, GeoShield, and GeoCloak). Further details on dataset statistics and composition are provided in Appendix § 16.§ 1.
Agent Configurations. Both ClueAgent and EditAgent are powered by large vision-language models. ClueAgent uses Gemini-2.5-Pro [1] for geolocation analysis and clue identification. EditAgent requires two models: one for planning and code generation, and one for image editing. For the former, we evaluate Gemini-2.5-Pro [1], o3 [37], and Qwen3.5-35B-A3B [43]; for the latter, we evaluate Gemini-2.5-Flash-Image [13], i.e., Nano Banana, Seedream-4.5 [3], and Qwen-Image-Edit-2511 [42]. The combination of Gemini-2.5-Pro + Gemini-2.5-Flash-Image serves as our primary configuration in the main evaluation, while o3 + Seedream-4.5 is used to verify that GeoCloak generalizes across different model choices. We additionally pair Qwen3.6-35B-A3B with Qwen-Image-Edit-2511 to evaluate a fully open-source configuration. For all agents, the maximum number of turns is set to 20 and the temperature to 0.5. For the utility check (Equation (1)), we set , determined empirically to filter out modifications that cause perceptible visual degradation while preserving overall image fidelity. We set the target protection granularity for the protection check (Equation (2)), as country-level mismatch represents the strongest protection level.
Evaluation LVLMs. We examine against five LVLMs spanning multiple model families and capability levels. In addition to Gemini-2.5-Pro and o3, which serve as the backbone of GeoCloak, we include Gemini-3.1-Pro-Preview (abbreviated as Gemini-3.1-Pro) [14], GPT-5.4 [38], and Qwen-3.5-Plus [41]. This selection allows us to assess whether protection optimized against one model generalizes to stronger attackers and to models from entirely different families. We initially considered Claude-Sonnet-4.6 [2] via OpenRouter [39] as an evaluation LVLM, but excluded it due to a high rate of API errors caused by image size limitations. In our initial run, 40.0% of samples in Dataset-PCW exceeded the 5MB input limit, making reliable evaluation infeasible.
Geolocation Inference Methods. Prior retrieval-based methods [5, 48] and classification-based methods [16, 51] have been empirically shown to underperform LVLMs despite requiring millions of labeled training images [33, 35, 45]. We therefore leverage three geolocation inference methods of increasing sophistication, all built upon the visual reasoning capabilities and broad world knowledge of LVLMs: zero-shot prompting, a two-stage clue-guided framework (GeoMiner [34]), and a post-trained tool-augmented agentic system (GeoVista [49]). Further details about these inference methods are in Appendix § 16.§ 2. Zero-Shot and GeoMiner are instantiated with each of the five evaluation LVLMs described above, while GeoVista is powered by its own trained model [11]. Overall, combined with multiple LVLMs, these methods yield a total of 11 distinct geolocation attackers.
Effectiveness Metrics. A wide variety of metrics have been proposed to evaluate geolocation performance. They broadly fall into two categories. The first is hierarchical classification metrics, which assess whether the predicted location matches the ground truth at the city, state, or country level [6, 26, 28, 49, 53, 56]. The second is distance-based metrics, which measure the geographic error between the predicted and ground-truth coordinates, such as mean or median Haversine distance [26, 53], or the percentage of predictions falling within a given radius threshold (e.g., within 1km accuracy) [12, 28, 34, 49]. We leverage both types of metrics, with city-level accuracy as the primary metric. The other metrics are presented in Appendix § 18.
Utility Metrics. We provide qualitative examples (e.g., Figure 3) to visually demonstrate the semantic preservation achieved by each defense method. We quantitatively evaluate image utility from two complementary perspectives. For visual semantic preservation, we report CLIP Similarity, which measures the cosine similarity between the CLIP embeddings of the original and protected images, capturing high-level semantic preservation. Following GeoShield [32], we further evaluate text-based semantic preservation by using an LVLM to generate textual descriptions of both images and measuring their similarity via BERT Score, BLEU, and ROUGE-L.
Baseline Protection Methods. We compare against two representative adversarial perturbation baselines: M-Attack [29] (targeted) and GeoShield [32] (untargeted), covering both categories identified in § 2. Both are reproduced based on the released code [31], following all original hyperparameters. See details in Section D.3.
Evaluation Scoping
Automatic Landmark Intention Analysis. As discussed in § 3, we scope GeoCloak to images with genuine privacy intent, excluding those that prominently feature globally recognizable landmarks, as users photographing such landmarks are more likely intending to share their location. To automatically identify and filter out such images, we develop a three-stage landmark intention analysis pipeline. First, we apply -Net [40] to generate a saliency map and compute a Saliency Dominance Ratio (SDR) for each candidate region, defined as the ratio of the mean saliency within the candidate bounding box to the global image mean saliency. A high SDR indicates that the region stands out visually from its surroundings. Second, we employ Florence-2 [52] for phrase grounding, querying it with landmark-related terms (e.g., building, tower, statue, monument) to localize candidate objects and their bounding boxes. For each candidate, we compute three physical metrics: relative size, centrality, and SDR. Finally, the top-3 candidates ranked by these metrics are passed to Gemini-2.5-Pro, which classifies each object as intentional or incidental based on these physical metrics, and further categorizes each object into tier-A (globally recognized landmarks whose location is already public knowledge), tier-B (locally known landmarks), or tier-C (generic structures) based on the world knowledge of the LVLM. An image is labeled exempt if at least one tier-A object is classified as intentional; otherwise it is labeled non-exempt. The full prompt is provided in Appendix § 14. Table 1 shows the exempt rate across datasets, ranging from 21.0% to 55.3%. Table 2 further confirms that exempt images are substantially easier to geolocate than non-exempt images across all datasets and metrics; for instance, overall city-level accuracy drops from 73.0% to 48.3% when landmark images are excluded, showing that the non-exempt subset presents a more challenging geolocation setting.
| GeoBench | Im2GPS3k | Dataset-GSS | Dataset-PCW | |
| Exempt Rate | 37.5% | 53.4% | 21.0% | 55.3% |
Table 1. Proportion of images labeled as Exempt (containing intentional landmarks) across the four evaluation datasets.
| Dataset | Type | City | State | Country | @1km | @25km | @100km |
| Overall | Exempt | 73.0% | 84.0% | 93.9% | 30.8% | 82.3% | 86.0% |
| Non-Exempt | 48.3% | 58.9% | 87.9% | 16.1% | 55.2% | 61.6% |
Table 2. Geolocation prediction performance measured by level-wise accuracy (%) and distance accuracy (%) on exempt images and non-exempt images. We leverage zero-shot inference and Gemini-2.5-Pro.
Human Validation. To assess the reliability of our automated pipeline, we conduct a human validation study. Specifically, two independent annotators manually examined exempt samples on GeoBench. Each sample was evaluated against four criteria: (1) whether the photo intentionally depicts the landmark, (2) whether the landmark is identifiable via Google Search, (3) whether the provided reasoning is supported by verifiable references, and (4) if the reasoning directly identifies the geographic location through the landmark, whether that location matches the ground truth. The validation yields 86.7% precision and 93.3% inter-annotator agreement. Most misclassified samples coincide with cases of annotator disagreement, highlighting the inherently subjective nature of borderline cases. We therefore consider 86.7% precision sufficient to support a reliable large-scale automated assessment.
User-Centered System. We acknowledge that user intent is inherently subjective and cannot be fully captured by automated analysis. To address this and facilitate real-world deployment, we further release a user-centered interactive GeoCloak, letting users directly specify which images they wish to protect. An example screenshot is provided in Appendix § 22, and the system is publicly accessible.
Effectiveness
We report the geolocation inference performance for the initial setting (without any defense) and after applying each of the three defense methods. For GeoCloak, we use Gemini-2.5-Pro to generate clues, propose editing plans, and produce the corresponding code, while Gemini-2.5-Flash-Image is used to execute the image editing. All other level-wise metrics and distance accuracy can be found in Table 13, from which we draw similar conclusions.
| Model | Method | Defense | City↓ | State↓ | Country↓ | @1km↓ | @25km↓ | @100km↓ |
| Gemini-2.5-Pro | Zero-Shot | Initial | 48.3% | 58.9% | 87.9% | 16.1% | 55.2% | 61.6% |
| Gemini-2.5-Pro | Zero-Shot | M-Attack | 32.3% | 36.5% | 55.2% | 11.2% | 34.8% | 38.0% |
| Gemini-2.5-Pro | Zero-Shot | GeoShield | 26.0% | 27.7% | 44.4% | 9.6% | 26.7% | 29.8% |
| Gemini-2.5-Pro | Zero-Shot | GeoCloak | 9.5% | 10.9% | 18.0% | 2.8% | 9.8% | 11.9% |
| Gemini-2.5-Pro | GeoMiner | Initial | 46.9% | 59.1% | 88.2% | 30.2% | 53.7% | 62.1% |
| Gemini-2.5-Pro | GeoMiner | M-Attack | 29.8% | 31.4% | 39.8% | 18.7% | 30.1% | 31.2% |
| Gemini-2.5-Pro | GeoMiner | GeoShield | 25.3% | 27.1% | 34.9% | 15.9% | 26.1% | 27.6% |
| Gemini-2.5-Pro | GeoMiner | GeoCloak | 9.4% | 11.0% | 16.9% | 4.7% | 9.9% | 11.6% |
| Gemini-3.1-Pro | Zero-Shot | Initial | 51.3% | 60.1% | 86.3% | 16.3% | 54.4% | 59.7% |
| Gemini-3.1-Pro | Zero-Shot | M-Attack | 37.3% | 38.9% | 45.0% | 12.8% | 36.9% | 37.8% |
| Gemini-3.1-Pro | Zero-Shot | GeoShield | 33.2% | 34.6% | 42.1% | 11.3% | 33.1% | 34.4% |
| Gemini-3.1-Pro | Zero-Shot | GeoCloak | 13.8% | 15.3% | 24.9% | 4.0% | 14.5% | 15.7% |
| Gemini-3.1-Pro | GeoMiner | Initial | 48.9% | 58.6% | 79.6% | 26.9% | 43.2% | 48.3% |
| Gemini-3.1-Pro | GeoMiner | M-Attack | 33.9% | 35.6% | 39.7% | 18.9% | 26.7% | 27.9% |
| Gemini-3.1-Pro | GeoMiner | GeoShield | 29.9% | 31.2% | 37.6% | 17.7% | 23.7% | 24.6% |
| Gemini-3.1-Pro | GeoMiner | GeoCloak | 13.3% | 15.2% | 23.6% | 4.2% | 8.8% | 10.0% |
| GPT-5.4 | Zero-Shot | Initial | 39.5% | 50.0% | 76.6% | 12.5% | 44.1% | 50.6% |
| GPT-5.4 | Zero-Shot | M-Attack | 21.5% | 22.4% | 27.4% | 6.9% | 21.4% | 22.1% |
| GPT-5.4 | Zero-Shot | GeoShield | 17.1% | 17.8% | 23.7% | 6.0% | 17.1% | 17.7% |
| GPT-5.4 | Zero-Shot | GeoCloak | 12.2% | 12.8% | 17.8% | 3.9% | 12.4% | 12.7% |
| GPT-5.4 | GeoMiner | Initial | 37.3% | 48.0% | 76.5% | 20.8% | 41.0% | 46.8% |
| GPT-5.4 | GeoMiner | M-Attack | 21.5% | 23.0% | 28.5% | 11.9% | 21.7% | 23.0% |
| GPT-5.4 | GeoMiner | GeoShield | 16.4% | 17.1% | 23.3% | 9.1% | 16.9% | 17.1% |
| GPT-5.4 | GeoMiner | GeoCloak | 7.3% | 8.2% | 13.2% | 2.5% | 7.7% | 8.2% |
| o3 | Zero-Shot | Initial | 46.9% | 58.0% | 84.6% | 15.1% | 53.2% | 59.7% |
| o3 | Zero-Shot | M-Attack | 25.2% | 27.3% | 34.5% | 8.6% | 25.2% | 25.8% |
| o3 | Zero-Shot | GeoShield | 17.7% | 18.3% | 26.3% | 6.6% | 17.7% | 18.5% |
| o3 | Zero-Shot | GeoCloak | 13.3% | 14.3% | 20.6% | 4.1% | 13.3% | 14.4% |
| o3 | GeoMiner | Initial | 38.1% | 47.3% | 65.3% | 21.8% | 39.3% | 43.9% |
| o3 | GeoMiner | M-Attack | 18.3% | 19.3% | 24.3% | 11.4% | 17.9% | 19.0% |
| o3 | GeoMiner | GeoShield | 12.2% | 13.0% | 18.6% | 8.1% | 12.2% | 13.0% |
| o3 | GeoMiner | GeoCloak | 7.8% | 8.9% | 13.5% | 4.0% | 8.3% | 8.9% |
| Qwen3.5-Plus | Zero-Shot | Initial | 31.1% | 41.2% | 71.7% | 10.5% | 35.7% | 40.7% |
| Qwen3.5-Plus | Zero-Shot | M-Attack | 15.3% | 15.8% | 21.9% | 5.6% | 15.3% | 15.8% |
| Qwen3.5-Plus | Zero-Shot | GeoShield | 11.8% | 12.4% | 17.1% | 4.1% | 11.2% | 11.3% |
| Qwen3.5-Plus | Zero-Shot | GeoCloak | 6.5% | 6.9% | 10.9% | 1.6% | 5.8% | 6.0% |
| Qwen3.5-Plus | GeoMiner | Initial | 29.7% | 39.7% | 71.2% | 14.2% | 33.3% | 39.8% |
| Qwen3.5-Plus | GeoMiner | M-Attack | 13.7% | 14.5% | 20.3% | 4.9% | 12.2% | 13.2% |
| Qwen3.5-Plus | GeoMiner | GeoShield | 11.5% | 12.4% | 17.9% | 4.7% | 10.3% | 11.4% |
| Qwen3.5-Plus | GeoMiner | GeoCloak | 4.4% | 5.2% | 8.2% | 1.5% | 3.7% | 4.5% |
| GeoVista | GeoVista | Initial | 35.2% | 45.3% | 71.9% | 11.5% | 39.3% | 44.6% |
| GeoVista | GeoVista | M-Attack | 21.4% | 21.8% | 25.3% | 7.3% | 21.1% | 21.3% |
| GeoVista | GeoVista | GeoShield | 15.6% | 16.1% | 19.6% | 6.1% | 15.3% | 15.6% |
| GeoVista | GeoVista | GeoCloak | 11.1% | 12.1% | 14.9% | 3.3% | 10.9% | 11.4% |
Table 13. Geolocation accuracy (%) under no defense and each defense (aggregated across all datasets). All metrics ↓ lower is better.
Gemini-3.1-Pro is the strongest attacker model. As shown in Table 3, it achieves the highest overall city-level accuracy of 51.3% under zero-shot inference in the initial setting. From a model perspective, Gemini-3.1-Pro consistently outperforms other models regardless of the inference method used. From a method perspective, even the zero-shot prompting already achieves strong geolocation performance across all models, highlighting the severity of the privacy threat posed by LVLM without any specialized inference strategy. We note that o3 exhibits a notable performance gap between zero-shot and GeoMiner, largely due to safety refusals when paired with GeoMiner. As such refusals are consistently treated as failures across all defense methods, they introduce no systematic bias toward any particular one. We provide detailed analysis in Appendix § 21. GeoVista performs comparatively weaker, which is expected given that it is built on Qwen2.5-VL-7B-Instruct trained via reinforcement learning, whereas the other evaluation models are among the most competitive models from their providers.
| Dataset | Defense | Zero-Shot Gemini-2.5-Pro | Zero-Shot Gemini-3.1-Pro | Zero-Shot GPT-5.4 | Zero-Shot o3 | Zero-Shot Qwen3.5-Plus | GeoVista GeoVista | GeoMiner Gemini-2.5-Pro | GeoMiner Gemini-3.1-Pro | GeoMiner GPT-5.4 | GeoMiner o3 | GeoMiner Qwen3.5-Plus | Overall |
| GeoBench | Initial | 74.1% | 81.9% | 63.1% | 71.6% | 54.7% | 63.7% | 70.6% | 77.2% | 58.8% | 62.5% | 53.1% | 66.5% |
| M-Attack | 54.4% | 62.8% | 37.2% | 47.2% | 33.1% | 42.8% | 50.9% | 60.6% | 38.8% | 36.9% | 28.4% | 44.8% | |
| GeoShield | 53.1% | 64.1% | 36.2% | 40.3% | 29.4% | 35.9% | 50.0% | 60.3% | 35.0% | 30.3% | 28.4% | 42.1% | |
| GeoCloak | 17.5% | 22.2% | 18.1% | 25.3% | 11.2% | 21.6% | 19.1% | 22.5% | 12.2% | 16.9% | 7.5% | 17.6% | |
| Im2GPS3k | Initial | 30.0% | 30.9% | 24.0% | 29.6% | 16.3% | 18.9% | 30.0% | 26.6% | 21.5% | 19.7% | 17.2% | 24.1% |
| M-Attack | 18.5% | 17.6% | 10.7% | 11.2% | 8.2% | 7.3% | 15.0% | 17.2% | 10.3% | 5.6% | 7.7% | 11.7% | |
| GeoShield | 12.9% | 14.2% | 7.7% | 6.0% | 5.6% | 6.0% | 12.0% | 11.2% | 5.2% | 3.0% | 5.2% | 8.1% | |
| GeoCloak | 4.7% | 5.2% | 4.3% | 6.0% | 3.9% | 3.9% | 3.9% | 7.3% | 1.7% | 1.3% | 1.7% | 4.0% | |
| Dataset-GSS | Initial | 41.0% | 40.8% | 31.4% | 37.7% | 23.5% | 25.3% | 41.0% | 38.2% | 32.4% | 29.9% | 20.8% | 32.9% |
| M-Attack | 24.8% | 30.4% | 15.9% | 17.0% | 7.3% | 15.2% | 23.8% | 24.3% | 15.9% | 10.9% | 7.6% | 17.6% | |
| GeoShield | 14.7% | 22.5% | 9.1% | 8.4% | 3.8% | 7.3% | 15.7% | 19.2% | 10.1% | 4.1% | 3.5% | 10.8% | |
| GeoCloak | 7.1% | 12.4% | 12.9% | 8.6% | 5.3% | 8.9% | 7.1% | 9.9% | 7.8% | 5.6% | 3.0% | 8.1% | |
| Dataset-PCW | Initial | 38.6% | 43.9% | 32.5% | 44.7% | 21.1% | 22.8% | 35.1% | 51.8% | 26.3% | 36.0% | 20.2% | 33.9% |
| M-Attack | 24.6% | 29.8% | 18.4% | 21.1% | 7.0% | 11.4% | 21.1% | 26.3% | 14.9% | 17.5% | 5.3% | 17.9% | |
| GeoShield | 15.8% | 22.8% | 10.5% | 10.5% | 2.6% | 7.0% | 16.7% | 20.2% | 8.8% | 8.8% | 4.4% | 11.6% | |
| GeoCloak | 5.3% | 13.2% | 9.6% | 10.5% | 2.6% | 4.4% | 1.8% | 11.4% | 3.5% | 3.5% | 6.1% | 6.5% | |
| Overall | Initial | 48.3% | 51.3% | 39.5% | 46.9% | 31.1% | 35.2% | 46.9% | 48.9% | 37.3% | 38.1% | 29.7% | 41.2% |
| M-Attack | 32.3% | 37.3% | 21.5% | 25.2% | 15.3% | 21.4% | 29.8% | 33.9% | 21.5% | 18.3% | 13.7% | 24.5% | |
| GeoShield | 26.0% | 33.2% | 17.1% | 17.7% | 11.8% | 15.6% | 25.3% | 29.9% | 16.4% | 12.2% | 11.5% | 19.7% | |
| GeoCloak | 9.5% | 13.8% | 12.2% | 13.3% | 6.5% | 11.1% | 9.4% | 13.3% | 7.3% | 7.8% | 4.4% | 9.9% |
Table 3. Geolocation inference performance measured by city-level accuracy (%) under no defense (Initial) and three defenses ([32], [29], and GeoCloak). Bold indicates the lowest (best) value within each inference method, model, and dataset group. ↓ lower is better. GeoCloak uses Gemini-2.5-Pro and Gemini-2.5-Flash-Image. Results for additional metrics are provided in Table 13.
GeoCloak achieves the best overall protection across all data-sets and attackers. Specifically, it reduces city-level accuracy to 9.9%, approximately half of GeoShield (19.7%) and substantially below M-Attack (24.5%). The impact is especially significant on specific datasets. For instance, on GeoBench, GeoCloak reduces city-level accuracy from 66.5% to 17.6%, whereas GeoShield only lowers it to 42.1%.
GeoCloak transfers effectively to stronger attackers. GeoCloak powered by Gemini-2.5-Pro reduces the strongest attacker in our evaluation (Gemini-3.1-Pro under zero-shot inference)’s city-level accuracy from 51.3% to 13.8%, while GeoShield and M-Attack only achieve 33.2% and 37.3%, respectively. Achieving such strong transferability is no-
table and indicates that GeoCloak can effectively handle even stronger attackers.
GeoCloak transfers across diverse attacker families and geolocation paradigms. Across different model families, GeoCloak similarly transfers effectively, reducing accuracy to 12.2% on GPT-5.4, 13.3% on o3, and 6.5% on Qwen3.5-Plus under zero-shot inference. Its protection also transfers across substantially different inference pipelines, from zero-shot prompting and GeoMiner’s structured clue-guided reasoning to GeoVista’s post-trained, tool-augmented agentic inference. We further extend the evaluation beyond LVLM-based attackers using GeoCLIP [5], an embedding-based retrieval method, and GeoSeer [10], a commercial black-box geolocation tool on Im2GPS3k. As shown in Table 4, GeoCloak reduces GeoCLIP’s city-level accuracy from 12.1% to 5.0% and GeoSeer’s from 30.7% to 5.7%. Together, these results provide additional evidence that GeoCloak transfers across not only LVLM families and inference pipelines, but also substantially different geolocation mechanisms. We further conduct a fine-grained analysis based on each image’s initial geo-identifiability to compare the effectiveness of different protection methods and examine failure cases; see Appendix § 17.
Table 4. City-level accuracy of extra geolocation attackers.
Utility
Human perception analysis shows that GeoCloak preserves visual quality while others introduce severe artifacts. To assess the perceptibility of visual differences, we evaluate 100 source images sampled uniformly across the four datasets. Each source image is paired separately with the outputs of GeoCloak, GeoShield, and M-Attack, yielding 300 rating tasks. Two independent annotators rate naturalness, semantic preservation, and overall quality on a five-point Likert scale by comparing each protected image with its original, without knowing the defense method. The annotators achieve substantial agreement, with a quadratic-weighted Cohen’s of 0.709 [23]. Full experimental details are provided in Appendix § 20. As shown in Table 5, GeoCloak achieves substantially higher overall quality (4.43) than M-Attack (2.63) and GeoShield (2.53), with the same trend in naturalness and semantic preservation. Consistent with these human ratings, Figure 3 shows that, in cases where all defenses largely achieve successful protection, GeoShield and M-Attack exhibit significant visual degradation, including cropping of non-square images, floating text, and disembodied heads. See more details in Appendix § 19. These artifacts are clearly perceptible upon close inspection and render the protected images visually implausible. In contrast, GeoCloak achieves successful protection through semantics-preserving targeted edits, such as replacing a text sign, adding contextually plausible objects, or substituting a street sign, all of which blend naturally into the scene while effectively misleading all attackers.
| Defense | Naturalness | Semantic Preservation | Overall Quality |
| GeoShield | 2.23 | 3.68 | 2.53 |
| M-Attack | 2.31 | 3.77 | 2.63 |
| GeoCloak | 4.57 | 4.45 | 4.43 |
Table 5. Human perception ratings on a five-point Likert scale. Higher is better ().
Quantitative results further confirm the qualitative observations. As reported in Table 6, GeoCloak achieves the highest utility, with an overall CLIP similarity of 0.9197, substantially higher than M-Attack (0.7719) and GeoShield (0.4209). The particularly low CLIP similarity of GeoShield suggests that its perturbations fundamentally alter the visual semantics of the protected image, consistent with the severe artifacts observed qualitatively.
Across text-based metrics, GeoCloak similarly leads on BERT score (0.9158), BLEU (0.1136), and ROUGE-L (0.4054), demonstrating that its targeted edits preserve not only visual appearance but also the semantic content describable from the image.
User-Centered Interactive GeoCloak. While our automated utility checks work well in practice, direct user involvement provides the strongest guarantee of utility preservation, as users themselves are the ultimate judges of whether a protected image remains acceptable for sharing. We therefore release a user-centered interactive version of GeoCloak, where users upload the image they wish to protect and specify regions that must remain unmodified. The system iteratively proposes edits, pausing after each turn for the user to accept, roll back, or stop. An example screenshot is provided in Appendix § 22, and the system is publicly accessible.
Skill Usage
Semantic editing dominates skill usage and yields superior utility preservation. Figure 5 analyzes how GeoCloak invokes its skills across all iterations. As shown in Figure 5a, Erase Object is the most frequently invoked skill (24.9%), followed by Replace Text (21.4%) and Adversarial Perturbation (20.4%). This reflects GeoCloak’s preference for fine-grained, targeted modifications that prioritize high-importance but inconspicuous clues, consistent with the start small principle defined in our agent (§ 4.3). Erase Object also achieves the highest utility preservation rate (85.6%), followed by Replace Text (81.8%), as modifying a small, localized element is less likely to disrupt the overall visual semantics of the image. In contrast, Adversarial Perturbation exhibits the lowest utility preservation rate (13.5%), as gradient-based noise is inherently less controllable and more prone to causing perceptible visual degradation, a limitation consistent with prior perturbation-based methods such as GeoShield and M-Attack. Nevertheless, GeoCloak’s agentic design substantially mitigates this limitation. EditAgent iteratively adjusts hyperparameters, loss composition, and optimization target based on utility feedback, and can further combine perturbation with semantic editing skills to handle discrete clues, allowing perturbation to operate at reduced intensity with less visual degradation. Across all cases, GeoCloak combines semantic editing and adversarial perturbation in 58.4% of cases and uses semantic editing alone in 39.9%. As illustrated in Figure 4, the visual artifacts introduced by GeoCloak’s adversarial perturbation skill are substantially less pronounced compared to those of GeoShield and M-Attack.
Figure 4. Visual quality comparison with zoomed-in regions on a Dataset-PCW sample, where adversarial perturbation is the key skill driving GeoCloak’s successful protection. Zoomed-in crops (top) reveal that GeoCloak introduces imperceptible perturbations compared to GeoShield and M-Attack. Comparison on other datasets are in Appendix § 19.

Figure 5. Skill usage analysis of GeoCloak. (a) Distribution of all skill invocations and the utility preservation rate for each skill, where Utility OK indicates that the CLIP similarity remains above a pre-defined threshold and the main object is unmodified. (b) Breakdown of skills used in the first successful turn recorded at each exact protection level (city, state, country); runs that directly reach a stronger level are not back-counted at lower levels.
Removal suffices for city-level clues; country-level clues demand recontextualization. Figure 5b exhibits the skill distribution at the successful protection turn across granularity levels. We observe that a clear shift emerges from the city to the country level. At the city level, Erase Object dominates (37.3%), reflecting that city-level geolocation often hinges on a single highly specific clue, such as a street sign or address number, that can be simply removed. As granularity coarsens to the country level, Erase Object’s contribution drops to 16.9%. Instead, Replace Text becomes the dominant successful strategy (36.5%), while Style Transfer and Add Decoy also contribute by introducing conflicting geographic evidence that redirects the attacker’s inference toward a different country. This shift suggests that country-level geolocation clues are more widely distributed and therefore harder to eliminate, as they often involve broader cultural or architectural patterns that cannot be addressed through simple removal.
Design Choices of GeoCloak
Table 7 compares four variants against the full system on Im2GPS3k: GeoCloak w/o Semantic Editing, GeoCloak w/o Perturbation, a closed-source alternative that pairs o3 with Seedream 4.5, and an open-source alternative that pairs Qwen3.6-35B-A3B with Qwen-Image-Edit-2511. The first two variants retain the agentic control loop, including iterative clue analysis and feedback-driven skill configuration. They therefore isolate skill availability rather than the contribution of agentic orchestration.
†o3 + Seedream-4.5. ‡Qwen3.6-35B-A3B + Qwen-Image-Edit-2511.
Semantic Editing vs. Adversarial Perturbation. When restricted to semantic editing alone, GeoCloak w/o Perturbation achieves strong protection with an overall city-level accuracy of 5.1%, demonstrating that targeted semantic edits are highly effective within the agentic framework. The full system further reduces this accuracy to 4.0% by allowing the agent to also select adversarial perturbation. In contrast, GeoCloak w/o Semantic Editing performs considerably worse (15.4%), which is expected. Under our strict utility constraint (CLIP similarity ), the adversarial perturbation budget is severely limited, making it difficult to suppress all geolocation clues through noise alone. However, when combined in the full agent, adversarial perturbation and semantic editing are complementary: semantic edits first remove the most decisive discrete clues, after which a moderate perturbation is sufficient to suppress the remaining scene-level features. The GeoBench example in Figure 10 (Appendix § 19) demonstrates this complementary effect. GeoCloak first erases the semi-transparent text “NATASHA CADONICI” from the glass, after which a moderate perturbation successfully defeats all 8 previously successful attacks.
Figure 10. Adversarial perturbation quality comparison. Each row shows a case where adversarial perturbation is the key skill in GeoCloak’s successful protection turn. Numbers indicate attackers that successfully geolocate the image and CLIP similarity. GeoCloak introduces substantially fewer visual artifacts than GeoShield and M-Attack while achieving equal or superior protection.
Adaptive guidance with a single ClueAgent outperforms multi-agent debate on hard cases. When ClueAgent fails to identify the correct geolocation, EditAgent cannot effectively protect the image, as it has no reliable clues to target. This is particularly problematic when ClueAgent fails to identify even the correct country, a condition that triggers early termination under the assumption that no protection is needed, while in reality, attackers powered by stronger or different LVLM may still correctly geolocate the image, compromising transferability. The adaptive mode in GeoCloak is designed to address this: when ClueAgent fails to identify the correct country, the ground truth is explicitly provided to guide ClueAgent in identifying location-relevant clues, until no high-importance clues remain. Among all non-exempt images in our evaluation, 12.1% of cases trigger this adaptive mode. We additionally explore a multi-agent alternative, where an additional o3 instance engages in a one-round debate with Gemini-2.5-Pro to derive a more accurate clue list. In Im2GPS3k, only 2.9% of attackers in the adaptive mode still successfully geolocate the protected image, substantially outperforming the multi-agent debate approach (11.8%). This result suggests that in these hard cases, where discriminative location clues are inherently difficult to identify from the image alone, providing ground-truth guidance more effectively focuses the search on relevant evidence than augmenting the agent with additional reasoning capacity.
GeoCloak generalizes across proprietary and open-source backbones. As reported in Table 7, GeoCloak (o3+Seedream 4.5) demonstrates that the framework generalizes to different LVLM backbones, reducing overall city-level accuracy from 24.1% to 6.3%. The choice of backbone influences protection strength: GeoCloak with Gemini-2.5-Pro+Gemini-2.5-Flash-Image achieves stronger overall protection (4.0%) than with o3+Seedream 4.5 (6.3%), though both substantially outperform all baselines (Table 3). To understand this gap, we analyze the runtime trajectories of both configurations on Im2GPS3k. o3 as ClueAgent exhibits weaker geolocation clue identification, even in adaptive mode, where the ground-truth location is explicitly provided, it fails to identify highly location-relevant clues in several cases. This causes the agent to terminate without applying any protection to these images. Meanwhile, the Gemini backbone employs a combination of semantic editing and adversarial perturbation in 54.5% of cases, compared to only 34.1% for o3. Its typical pattern is to first apply semantic editing, modifying small clues, to introduce semantic-level misdirection, followed by adversarial perturbation to suppress residual scene-level features. Among cases where both skills are combined, the Gemini backbone achieves transferable protection, where the protected image fools all evaluation attackers, in 66.7% of cases, compared to only 40.0% for o3. This suggests that the Gemini backbone not only uses skill combinations more frequently but also more effectively. The fully open-source configuration,
instantiated with Qwen3.6-35B-A3B and Qwen-Image-Edit-2511, further reduces overall accuracy from 24.1% to 7.4%, demonstrating that GeoCloak can also operate without proprietary backbones. Manual inspection reveals no obvious quality differences among images edited by Seedream-4.5, Qwen-Image-Edit-2511, and Gemini-2.5-Flash-Image.
Cost and Efficiency Analysis
GeoCloak achieves strong protection at acceptable cost. As shown in Figure 6, the median cost is $0.32 per image, and the median elapsed time is 8.3 minutes. Using the Gemini Batch API would further halve this cost, reducing the estimated median to approximately $0.16 per image. Image editing is the largest cost component and is explicitly included in these estimates. GeoCloak typically achieves city- and state-level protection within 2 turns (median = 2.0 for both), as the geolocation-discerning clues at these granularities tend to be more peripheral and discrete, such as a specific street sign or address number, making them easier to identify and suppress. Country-level protection requires considerably more iterations (median = 5.0), consistent with our earlier finding that country-level clues are more distributed and require repeated recontextualization. In practice, users can run GeoCloak in advance to protect images they plan to share.

Figure 6. Cost and elapsed time distribution of GeoCloak. API cost is computed from the total token usage of GeoCloak based on the official Gemini pricing [15].
Adaptive Attacks
GeoCloak has high robustness against diverse attackers. Our agent has already been evaluated against a diverse set of attackers, ranging from simple zero-shot prompting to structured two-stage cot prompting (GeoMiner) and tool-augmented agentic inference (GeoVista), embedding-based retrieval method (GeoCLIP) and commercial tool (GeoSeer) and consistently achieves the strongest protection.
Adaptive prompting provides limited gain at the cost of unprotected image performance. We further evaluate GeoCloak against an adaptive attacker that is explicitly aware that the image may have been modified. Rather than using a standard zero-shot prompting, this attacker instructs the LVLM to identify and discard potentially manipulated or conflicting clues before inferring the location. As shown in Table 8, the adaptive attacker achieves a higher success rate than naive prompting after GeoCloak defense (15.9% vs. 11.1% overall). This indicates that conflict-aware prompting provides some additional attack capability. Nevertheless, GeoCloak reduces the adaptive attacker’s performance from 41.6% to 15.9%, a substantial reduction that demonstrates the robustness of GeoCloak’s protection even against an informed attacker. Notably, the adaptive approach provides little benefit on unprotected images and even slightly degrades the performance (41.6% vs. 43.4%), suggesting that indiscriminately treating clues as suspicious can mislead the attacker into discarding genuine evidence. This means an attacker cannot blindly apply adaptive prompting without prior knowledge of whether the image has been protected, further limiting its practical threat.
| Attacker | Setting | GeoBench | Im2GPS3k | Dataset-GSS | Dataset-PCW | Overall |
| Naive | Initial | 69.1 | 26.2 | 34.9 | 36.1 | 43.4 |
| Naive | GeoCloak | 18.9 | 4.8 | 9.3 | 8.2 | 11.1 |
| Naive | GeoCloak (JPEG) | 20.0 | 4.9 | 9.6 | 8.2 | 11.5 |
| Adaptive | Initial | 66.6 | 26.5 | 32.8 | 33.0 | 41.6 |
| Adaptive | GeoCloak | 24.0 | 8.0 | 15.2 | 11.9 | 15.9 |
Table 8. City-level accuracy (%) over five LVLMs under naive and adaptive attackers with zero-shot prompting, before and after GeoCloak defense, and (for the naive attacker) after additional JPEG compression.
Adaptive fine-tuning only partially recovers geolocation performance. We further consider an adaptive attacker with access to GeoCloak-protected images and their location labels, who attempts to adapt geolocation models directly to the protected-image distribution. We fine-tune both GeoCLIP, a retrieval-based geolocation model, and Qwen3.5-9B, a reasoning-based model adapted using LoRA, with an 80/20 train/test split of protected images. Fine-tuning provides only partial recovery for both attacker families. For vanilla GeoCLIP, applying GeoCloak reduces city-level accuracy from 17.0% on unprotected images to 7.4% on protected images; fine-tuning on protected images raises it to only 9.6%. Similarly, vanilla Qwen3.5-9B [46] achieves 24.5% on unprotected images and 6.4% on protected images, while LoRA fine-tuning recovers accuracy to 11.3%, still less than half of its unprotected performance. Thus, although adaptive fine-tuning weakens GeoCloak to some extent, it does not restore the original geolocation capability, demonstrating that GeoCloak remains effective against adaptive fine-tuning attacks across both retrieval-based and reasoning-based models.
GeoCloak remains robust against denoising-based adaptive attacks. Because GeoCloak uses adversarial perturbation as one of its protection skills, an adaptive attacker can apply image purification before inference to remove the perturbation. Here we evaluate DiffPure [36], a representative diffusion-based purification method. However, it substantially degrades image utility, fine-grained details (e.g., text and human subjects) become blurred or unrecognizable, while perturbation artifacts remain visible. This behavior occurs across its guided diffusion [7], DDPM [17], and Stable Diffusion-based [44] variants. We also evaluate JPEG compression as a lightweight alternative with negligible utility loss. As shown in Table 8, compression provides little benefit, indicating that GeoCloak remains robust to this adaptive attack.
Discussion, Limitation, and Future Work
The Necessity of Our Agent Architecture. GeoCloak cannot be trivially reduced to either a fixed pipeline or a trivial agent composition. Geolocation clues are image-specific and only discoverable through inference-time reasoning. This makes static strategies insufficient to jointly preserve privacy and utility. Moreover, GeoCloak’s effectiveness relies on adaptive reasoning, including adversarially grounded stopping criteria, dynamic strategy selection, adaptive optimization, and iterative feedback between clue discovery and editing. For example, in Figure 7, two attempts to modify the shop sign fail the utility check. Based on this feedback, EditAgent dynamically adjusts its strategy by rolling back the failed edits and replacing the Moroccan-style sofa instead, shifting ClueAgent’s prediction from Morocco to Algeria. Such failures are difficult to address with a fixed editing pipeline, where subsequent edits are predetermined rather than adjusted to intermediate feedback.
Figure 7. A multi-turn GeoCloak protection example. Starting from Rabat, Morocco, EditAgent first replaces the Moroccan license plate with a French one, shifting ClueAgent’s prediction to Casablanca, Morocco. A subsequent attempt to change the shop sign fails the utility check twice and is rolled back. EditAgent then switches strategy to replace the Moroccan sofa with a European one, successfully redirecting the predicted location to Oran, Algeria, with minimal visual change across all turns.
Prompt Sensitivity. Prompts templates used in GeoCloak are provided in Appendix § 14. We find that paraphrasing these prompts, without altering each agent (§ 4), has negligible impact on protection performance. This indicates that GeoCloak is robust to prompt variations and does not require careful prompt engineering to achieve strong results. While frameworks such as DSPy [22] enable systematic prompt optimization for single-turn pipelines, they are not directly applicable to our multi-turn agentic setting, where prompts interact dynamically across agents and iterative feedback loops. We therefore leave systematic prompt optimization for multi-turn agentic systems to future work.
User-Centered Agentic System. We argue that geolocation privacy protection should respect user intent, protecting only images whose owners do not intend to disclose their location. Because ground-truth intent is unavailable in existing datasets, our evaluation (§ 6) approximates it using visual landmark analysis, while automated utility checks estimate acceptable modifications. To move beyond these proxies, we introduce an interactive version of GeoCloak that allows users to specify objects that must remain unchanged and accept, roll back, or stop edits at each step. This gives image owners direct control over the information their images reveal. The system is publicly accessible, with an example in Appendix § 22. Future work will include real-world user feedback.
Manual Inspection of GeoCloak’s Outputs. Throughout system development, all authors manually inspect randomly sampled intermediate outputs from GeoCloak’s agent trajectories. We specifically examine whether the agents’ intended actions are successfully executed and whether subsequent agent decisions are consistent with the observed privacy and utility feedback. By the final system iteration, the sampled trajectories generally exhibit successful execution of the proposed edits and coherent multi-turn refinement behavior.
LVLM Capability. GeoCloak’s effectiveness depends on the underlying LVLM’s visual reasoning capability, as stronger models can identify more comprehensive clues and enable more targeted protection. Our evaluation against 11 attacker configurations, including stronger models and different model families, shows substantial reductions in geolocation accuracy under the current stopping rule. A final GT-guided audit after standard-mode termination could provide an additional check for residual clues, although it would still depend on ClueAgent’s ability to identify them. Its additional protection benefit and processing overhead remain to be evaluated. This dependence allows GeoCloak to benefit from future model advances without architectural changes. Our open-source Qwen configuration demonstrates that GeoCloak does not require proprietary backbones, although its 7.4% attack success rate remains higher than the 4.0% of our primary Gemini configuration (Table 7). Improving protection with smaller, resource-constrained open-source backbones remains important future work.
Conclusion
We present GeoCloak, an agentic framework for geolocation privacy protection. Our approach is motivated by an observation visual-geocalocation asymmetry: geolocation-decisive clues tend to be visually peripheral, enabling targeted protection with minimal impact on image quality. GeoCloak exploits this asymmetry through a combination of targeted editing and adversarial perturbation, driven by an agentic system that adaptively analyzes each image and iteratively refines its protection strategies under utility-aware feedback. Extensive evaluation demonstrates that our agent outperforms baselines in both effectiveness and utility. We further release an interactive version of GeoCloak that allows users to directly participate in the protection process. We hope this work contributes to the development of practical, user-intent-aware geolocation privacy protection, and inspires further research into semantics-preserving approaches to visual privacy in the LVLM era.
Open Science
In this paper, we provide the code for interactive version of GeoCloak to facilitate the real-world deployment. An example screenshot is provided in Appendix § 22, and the (anonymous) artifact is publicly accessible at https://anonymous.4open.science/r/GeoCloak-7AA4. All evaluation datasets used in this work are publicly available: Im2GPS3k [4], GeoBench [50], Dataset-GSS [27], and Dataset-PCW [27]. In our evaluation, we access all evaluated VLMs via their official APIs.
Ethical Considerations
Our Primary Goal. GeoCloak is designed exclusively as a privacy protection tool, intended to help individuals prevent unintended location disclosure when sharing images online. We do not anticipate significant dual-use concerns, as the system is designed to suppress geolocation information rather than enable tracking.
Dataset and Image Usage. All datasets used in our evaluation are publicly available benchmarks. Images used in qualitative examples are either from these public benchmarks.
Human Annotation Tasks. Our annotation tasks were exempt from IRB review as they involved no sensitive data collection, no deception, and no risk to participants. The tasks were benign in nature and did not involve any sensitive, disturbing, or personally identifiable content. Annotators evaluated whether images contained intentionally photographed landmarks and rated the perceptual quality of protected benchmark images. No annotator reported any discomfort during the study.
Potential for Misuse. While GeoCloak is designed for privacy protection, the underlying image editing capabilities could theoretically be misused to manipulate images for deceptive purposes. However, the system is specifically optimized for subtle, targeted edits that preserve visual semantics, making it less suitable for generating deceptive content compared to general-purpose image generation tools.
Examples of Multi-Turn GeoCloak Protection Example
We exhibit an successful example of multi-turn GeoCloak protection example in Figure 7.
Prompt Templates
In this section, we provide the prompt templates for ClueAgent (Listing 1), EditAgent (Listing 2), semantic editing skill (Listing 3), adversarial perturbation skill (Listing 4), and evaluation scoping (Listing 5).
Examples of Semantic Editing Skill
Table 9 exhibit examples of each strategy of the semantic editing skill. In all cases, modifications are subtle and semantics-preserving, yet sufficient to redirect ClueAgent’s predicted location.
| Strategy | Application Scenario | Original | Protected | How it protects |
| Replace Text | Signs, street names, or any visible text reveal the location. | [Original image: street scene with red shop signs] | [Protected image: street scene with modified red shop signs] | Replacing Romanian sign text on the red shop signs with Polish words shifts the language clue and misleads the predicted location from Chișinău, Moldova to Warsaw, Poland. |
| Replace Object | Location-specific objects are present (e.g., post boxes and traffic signs). | [Original image: roadside scene with an American highway sign] | [Protected image: roadside scene with a Canadian highway sign] | Replacing the American highway sign with a Canadian highway sign shifts the predicted location from Southfield, Michigan, USA, to Windsor, Ontario, Canada. |
| Erase Object | An object, sign, text, or logo is too specific to replace but small enough to remove cleanly. | [Original image: street scene with orange billboard] | [Protected image: street scene with text removed from orange billboard] | Removing all text from the orange billboard shifts the predicted location from San José, Costa Rica, to San Salvador, El Salvador. |
| Add Decoy | Dominant clues are too large or structural to edit or perturb directly. | [Original image: rocky landscape] | [Protected image: rocky landscape with a Saguaro cactus] | Adding a small Saguaro cactus growing among the rocks shifts the predicted location from Khomas, Namibia to Tucson, Arizona, US. |
| Style Transfer | Apply only to small or background elements. | [Original image: greenish building in a city street] | [Protected image: greenish building in a city street with altered architectural style] | Changing the architectural style of the greenish building on the left from Russian neoclassical to German neoclassical shifts the predicted location from Moscow, Russia to Warsaw, Poland. |
Table 9. Overview of the five Semantic Editing strategies in EditAgent. The EditAgent generates plans for modifying the image based on the clues obtained from ClueAgent. In all cases, modifications are subtle and semantics-preserving, yet sufficient to redirect ClueAgent’s predicted location.
More Details of Evaluation Setup
Evaluation Datasets
Im2GPS3k [48] and YFCC4k [47] were originally introduced to evaluate retrieval- and classification-based methods, and remain widely adopted as standard evaluation protocols in the LVLM era [20, 21, 33, 34, 35]. Newer benchmarks emerged to assess reasoning quality and broader capabilities [6, 26, 34, 45, 49]. In this paper, we evaluate GeoCloak on four datasets that support level-wise geolocation evaluation to comprehensively assess protection effectiveness across diverse geographic and visual contexts.
Im2GPS3k [48] is a widely adopted benchmark in geolocation research, containing 3,000 geo-tagged images spanning diverse locations worldwide.
GeoBench [49] consists of high-resolution photos with global coverage, specifically designed to challenge current LVLM with high localizability requirements.
Dataset-GSS [26] is sourced from IMAGEO-Bench. It is drawn from the NUS Global Streetscapes dataset [18] across 688 cities worldwide. The IMAGEO-Bench authors further filtered the original data, manually excluding images with insufficient geographic information, resulting in a diverse collection spanning varied geographies, environmental conditions, architectural styles, and cultural contexts.
Dataset-PCW [26] is also sourced from IMAGEO-Bench, but does not draw from any publicly available sources, making it well-suited to evaluate geolocation protection on truly unseen images.
We use all available data from GeoBench and Dataset-PCW. Because Im2GPS3k and Dataset-GSS are substantially larger, we randomly sample 500 images from each dataset. As reported in Table 10, the resulting benchmark contains 1,779 images spanning 108 unique countries and 576 unique cities across all four datasets, ensuring broad geographic diversity in our evaluation. This scale exceeds the 500-image DoxBench evaluation used in the GeoMiner study [34] while providing substantially broader geographic coverage. Across the available images, the full evaluation design comprises over 75,000 evaluation runs, covering 11 attacker configurations and four conditions (Initial, M-Attack, GeoShield, and GeoCloak).
| Dataset | #Samples | #Countries | #Cities |
| IM2GPS3K | 500 | 74 | 297 |
| Dataset-GSS | 500 | 61 | 161 |
| Dataset-PCW | 267 | 6 | 76 |
| GeoBench | 512 | 64 | 117 |
| Overall | 1,779 | 108 | 576 |
Table 10. Geographic coverage of the four benchmark datasets.
Geolocation Inference Methods
Zero-Shot is a simple single-turn prompt that asks “Where was this photo taken? Explain your reasoning based on visual evidence,” along with a structured output format to ensure consistent responses. Despite its simplicity, this prompt already elicits strong geolocation performance from LVLMs [33, 34], reflecting a realistic attack scenario where any user can infer location from a shared image without any prompt engineering expertise.
GeoMiner is a two-stage collaborative attack framework from Dox-Bench that leverages two LVLM in a pipeline. In the first stage, a Detector model processes the image and produces a structured set of geolocation-relevant visual clues organized by category. These clues are then passed to an Analyzer model in the second stage, which incorporates them as explicit context to generate a more accurate location prediction.
GeoVista is a web-augmented agentic framework that operates through an iterative thought-action-observation loop. At each step, the model generates a reasoning thought and autonomously decides when and how to invoke tools, enabling a dynamic process of visual clue extraction and external information retrieval. Two tools are available: image_zoom_in, which crops and magnifies regions of interest specified by a bounding box, and search_web, which retrieves up to 10 relevant documents from the internet.
For GeoMiner and GeoVista, we follow the official GitHub implementations with default settings.
SOTA Methods for Comparison
GeoShield and M-Attack are reproduced based on the released code [31], following all original hyperparameters: a CLIP ensemble of ViT-B/16, ViT-B/32, and CLIP-Laion backbones, perturbation budget , step size , 100 PGD steps, input resolution 640x640, and RandomResized-Crop augmentation (scale 0.5–0.9) for transferability. For GeoShield, geo-revealing regions are identified via GroundingDINO [30], and non-geographical descriptions are generated by GPT-5-mini. For M-Attack, target images are sampled randomly from the same dataset at different locations.
Fine-Grained Complexity and Failure-Mode Analysis
We first investigate whether the number of geolocation clues provides a useful measure of complexity. We use Gemini-2.5-Pro with GeoMiner [34] to extract structured clues from each original image and compare the number of extracted clues with the mean number of successful attackers.
As shown in Table 11, the number of extracted clues has no monotonic relationship with initial attack success. For example, images with five clues have 6.76 successful attackers on average, whereas those with seven clues have only 5.12. This indicates that clue specificity and discriminative strength matter more than the raw number of clues, making clue count an unreliable proxy for geolocation difficulty.
| #Clues | Initial | GeoCloak | GeoShield | M-Attack |
| 2 | 3.83/11 | 0.00/11 | 1.67/11 | 1.33/11 |
| 3 | 5.89/11 | 1.11/11 | 2.22/11 | 3.33/11 |
| 4 | 6.39/11 | 1.35/11 | 3.36/11 | 4.00/11 |
| 5 | 6.76/11 | 1.70/11 | 3.02/11 | 3.99/11 |
| 6 | 6.58/11 | 1.74/11 | 3.17/11 | 3.82/11 |
| 7 | 5.12/11 | 1.29/11 | 2.35/11 | 2.29/11 |
| 8 | 7.40/11 | 0.40/11 | 6.00/11 | 5.80/11 |
| Overall | 6.55/11 | 1.57/11 | 3.13/11 | 3.90/11 |
Table 11. Mean number of successful attackers per image, stratified by the number of clues extracted by GeoMiner.
We therefore use a direct empirical measure of image difficulty. We define an image’s initial geo-identifiability as the number of attacker configurations that successfully geolocate it at the city level under no defense. The score ranges from 1 to 11, corresponding to zero-shot and GeoMiner inference with five LVLMs plus GeoVista. We analyze all non-exempt images across the four datasets and divide them into low-, medium-, and high-identifiability groups.
As shown in Table 12, GeoCloak leaves the fewest successful attackers and yields the largest attacker reduction in every group. The difference is most pronounced for highly geo-identifiable images: GeoCloak reduces the mean from 9.84 to 2.75 successful attackers, compared with 5.69 for GeoShield and 6.91 for M-Attack. To understand where GeoCloak can struggle, we further examine low-identifiability images. These images expose only weak or ambiguous geographic evidence, making it difficult for ClueAgent to identify actionable clues and leaving less evidence for the protection agent to suppress. Consequently, GeoCloak’s advantage is less pronounced. Nevertheless, it still leaves the lowest mean number of successful attackers, outperforming both GeoShield and M-Attack.
| Geo-identifiability | Initial | GeoCloak | GeoShield | M-Attack |
| Low (1–4/11) | 2.18/11 | 0.35/11 | 0.39/11 | 0.57/11 |
| Medium (5–7/11) | 5.98/11 | 0.86/11 | 1.73/11 | 2.39/11 |
| High (8–11/11) | 9.84/11 | 2.75/11 | 5.69/11 | 6.91/11 |
| Overall | 6.55/11 | 1.57/11 | 3.13/11 | 3.90/11 |
Table 12. Mean number of successful attackers per image, stratified by initial geo-identifiability. Lower is better for all defense columns.
Evaluation Results Measured by Multiple Metrics
As illustrated in Table 13, we report both level-wise accuracy and distance-based accuracy. We observe that our agent still achieve better protection performance than two baselines.
Visual Quality Comparison
Figure 8 and Figure 9 supplement Figure 3 with zoom-in comparisons across three defense methods on images from Im2GPS3k and Dataset-PCW. As can be clearly seen, GeoCloak introduces negligible utility degradation compared to GeoShield and M-Attack, both of which produce prominent visual artifacts such as floating text and fragmented human heads.
Figure 8. Visual quality comparison with zoomed-in regions on a Im2GPS3k sample. It serves as a supplementary illustration to Figure 3, providing additional visual comparison details Zoomed-in crops (top) reveal that GeoCloak introduces negligible utility degradation compared to GeoShield and M-Attack.
Figure 9. Visual quality comparison with zoomed-in regions on a Dataset-PCW sample. It serves as a supplementary illustration to Figure 3, providing additional visual comparison details Zoomed-in crops (top) reveal that GeoCloak introduces negligible utility degradation compared to GeoShield and M-Attack.
Figure 10 supplements Appendix § 19 with additional cases where adversarial perturbation serves as the key skill in GeoCloak’s successful protection. Each row presents a case in which all three defense methods successfully apply adversarial perturbation from different datasets. As best viewed with zoom, GeoShield and M-Attack both exhibit perceptible visual artifacts, whereas GeoCloak maintains high visual fidelity.
Human Perception Analysis
We randomly sample 100 source images, equally distributed in four datasets. Each source image is paired with its GeoCloak, GeoShield, and M-Attack output, producing 300 rating tasks. Two independent annotators evaluate the same trials. In each trial, the original image is presented alongside one protected image. The defense identities are hidden. Annotators score each protected image on a five-point Likert scale for naturalness, semantic preservation relative to the original image, and overall quality, with overall quality designated as the primary metric. The evaluation interface provides the following guidelines as follows:
naturalness assesses whether the protected image appears natural and realistic without obvious artifacts.
semantic preservation assesses whether the main objects, scene, and meaning of the original image are retained.
overall quality assesses the protected image holistically by considering both naturalness and content preservation.
All three metrics use the same five-point scale, ranging from 1 (severe and unacceptable problems) to 5 (a natural, complete image with almost no visible problems).
For analysis, we first average the two annotators’ scores for each source image–defense pair, preserving the source image as the sampling unit rather than treating repeated ratings as independent observations. We then estimate 95% confidence intervals by bootstrapping the 100 source images with 10,000 resamples. The complete results are reported in Table 14.
| Defense | Naturalness↑ | Semantic Preservation↑ | Overall Quality↑ |
| GeoShield | 2.23 [2.06, 2.41] | 3.68 [3.59, 3.76] | 2.53 [2.38, 2.68] |
| M-Attack | 2.31 [2.15, 2.47] | 3.77 [3.67, 3.86] | 2.63 [2.49, 2.78] |
| GeoCloak | 4.57 [4.44, 4.69] | 4.45 [4.34, 4.56] | 4.43 [4.30, 4.55] |
Table 14. Complete human perception results on a five-point Likert scale. Each cell reports the mean and image-level bootstrap 95% confidence interval after averaging the two annotators’ ratings for each source image and defense. Higher is better (↑).
Invalid Responses in Evaluation
As shown in Table 15, a fraction of model evaluations produce invalid responses. First, API-level failures (e.g., request timeouts and image-size limits) affect Qwen3.5-Plus evaluations, reflecting infrastructure constraints of the model provider. Note that we leverage the official provider platform. Second, o3 exhibits a high safety-refusal rate (28.1% with no defense) under the GeoMiner inference method, where the model may explicitly identify the step-by-step geolocation prompt as a potential privacy risk and decline to respond. We acknowledge that these sources of error are difficult to mitigate on our side. Samples that encounter such errors during the initial evaluation are therefore excluded from post-defense evaluation and recorded as localization failures across all metrics. Importantly, invalid responses are consistently treated as failures across all defense methods, ensuring no systematic bias toward any particular one. They are also negligible for other models (0.0% invalid response rate), so our conclusions
| Model | Method | Initial API | Initial Ref. | M-Attack API | M-Attack Ref. | GeoShield API | GeoShield Ref. | GeoCloak API | GeoCloak Ref. |
| Gemini-2.5-Pro | Zero-Shot | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| Gemini-2.5-Pro | GeoMiner | 0.0% | 0.2% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| Gemini-3.1-Pro | Zero-Shot | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| Gemini-3.1-Pro | GeoMiner | 0.2% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| GPT-5.4 | Zero-Shot | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| GPT-5.4 | GeoMiner | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| o3 | Zero-Shot | 0.0% | 28.1% | 0.0% | 15.2% | 0.0% | 21.6% | 0.0% | 18.1% |
| o3 | GeoMiner | 6.2% | 0.0% | 0.7% | 0.0% | 0.8% | 0.0% | 2.1% | 0.0% |
| Qwen3.5-Plus | Zero-Shot | 9.6% | 0.0% | 0.8% | 0.0% | 0.8% | 0.0% | 2.1% | 0.0% |
| Qwen3.5-Plus | GeoMiner | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| GeoVista | GeoVista | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
Table 15. API error and safety refusal rates (%) per model, inference method, and defense method. API Error: request timeout or image-size limit (infrastructure failure). Safety Refusal: model explicitly declined to geolocalize (e.g., “I cannot help with that”).
remain unaffected.
Interactive GeoCloak
Figure 11 exhibit the interactive version of GeoCloak. Interactive version of GeoCloak. Users upload the image they wish to protect, specify objects that must remain unmodified, and set a target protection level (city, state, or country); it then iteratively proposes and applies privacy-preserving edits, pausing after each turn so the user can accept, roll back, or stop. This design replaces automated utility checks with direct human judgment, giving image owners transparent, turn-by-turn control over what their shared images ultimately reveal.

Figure 11. Interactive version of GeoCloak.
ClueAgent Prompt
ACT AS A GEOLOCALIZATION EXPERT AGENT.
Your task is to identify the location of
this image.
Analyze this image step-by-step:
1. Look for landmarks, text/signage,
cultural elements, and spatial
patterns.
2. Determine the most likely location.
3. Explain your reasoning.
4. List the specific VISUAL CLUES that
helped you identify it.
Return your analysis in JSON format:
{
"predicted_location": "City, State (
if applicable), Country",
"reasoning": "Your step-by-step
reasoning process",
"clues": [
{
"type": "landmark|
text_signage|culture|
spatial",
"description": "what the clue
is and why it suggests
this location",
"region": [x1, y1, x2, y2],
"importance": 0.0-1.0
}
]
}
Clue types:
- landmark: Famous buildings, monuments,
natural landmarks, recognizable
structures
- text_signage: Street signs, shop names,
billboards, language on signs
- culture: Clothing styles, vehicle types
(left/right-hand drive), local
customs, architectural style
- spatial: Road layout, urban planning
patterns, intersection design, city
structure
Importance scoring:
- 0.9-1.0: Uniquely identifies location (
e.g., Eiffel Tower, specific street
sign with address)
- 0.7-0.8: Narrows to city/region (e.g.,
language on signs, distinctive
architecture)
- 0.4-0.6: Narrows to country (e.g.,
driving side, general cultural style)
- 0.1-0.3: Weak/ambiguous clue (e.g.,
common objects, generic features)
Note: "region" should be bounding box in
pixel coordinates [x1, y1, x2, y2],
or null if not precisely localizable.
IMPORTANT: Some clues in the image may be
contradictory or misleading (e.g., a
foreign-branded shop sign in a local
street, a tourist souvenir from
another country, or an imported
vehicle). When clues conflict, critically
evaluate each one, weigh higher-confidence,
location-specific clues (e.g., unique
architecture, local-language street signs,
distinctive road markings) over generic
or easily transplanted clues (e.g., global
brand logos, mass-produced vehicles).
Explicitly note
text any contradictory clues in your reasoning and explain why you prioritize certain clues over others.
EditAgent Prompt
````text You are an Image Privacy Protection Agent . Your task is to write Python code that modifies images to obfuscate location-revealing clues.
Your Workflow
Each turn the orchestrator sends you a structured observation with four XML sections:
<code_output> stdout from your last
code execution
</code_output>
<utility> whether your
modification was accepted or rolled
back
</utility>
<attacker_result> attacker’s current
prediction, protection level, clues
</attacker_result>
How to read each section:
<utility> status: FAILED- your image was rolled back, ‘image’ is restored to the previous state; try a different approach<utility> status: PASSED- your modification was committed; ‘image’ is now that modified version<attacker_result>- shows ‘predicted_location’, current ‘protection_achieved’ vs target, and ranked clues to tackle
Based on the observation, write ONE Python code block that further modifies ‘image’ to remove/obfuscate the remaining clues. ````
---
## Available Variables & Functions
- ‘image ‘: Current image (float32 numpy [0,1], persists across turns, always start from this)
- ‘original_image ‘: Original unmodified image (read-only, for reference only)
- ‘image_height ‘, ‘image_width’: Image dimensions (int)
- ‘clues‘: List of attacker clues from the most recent analysis (auto-updated each turn)
- Each clue: {’type’: str, ’description’: str, ’region’: [x1,y1,x2,y2], ’importance’: float}
- ‘edit_image(image, prompt)‘: Semantic image editing, returns float32 numpy [0,1]
- ‘ensemble‘: Pre-loaded CLIP ensemble (EnsembleExtractor, 4 backbones, do NOT recreate)
- ‘get_crops(tensor)‘: Returns (local_crop, global_crop) for CLIP feature extraction
- ‘bbox_to_crop(tensor, bbox)‘: Crops tensor to [x1,y1,x2,y2] bounding box
Standard libraries available: ‘torch‘, ‘numpy (np)‘, ‘cv2‘, ‘PIL.Image‘, ‘io‘, ‘base64‘
---
## Rules
- ALWAYS store your result: ‘image = modified_image‘
- Do NOT import modules; all functions are pre-injected into scope
- Write exactly ONE \`\`\`python\`\`\` code block per turn
- After writing your code block, STOP and wait for feedback
---
## Skills
{{ skill_num }} skills are available.
Choose based on the nature of the remaining clues:
| Skill | When to Use |
|-------|-------------|
| **Image Editing** | Semantically modify discrete clues: change text/signs, swap objects, erase landmarks, shift style, add decoys. Best when clues are specific and editable. Consider **Add Decoy** when clues are large/structural and adversarial perturbation has repeatedly failed; plant a misleading foreign element instead of altering existing content. |
| **Adversarial Perturbation** | Gradient-based noise targeting CLIP features. Best for large landmarks or scene-level features that cannot be semantically edited. |
**Retry rule:** After a utility failure or attack failure, adjust based on the active skill’s retry logic and try again. Switch to a different skill only when you have exhausted the retry options for the current skill.
Skill specification(s) are provided below.
---
{{SKILLS}}
---
Editing Skill Prompt
## Image Editing Skill
Read the strategies and guidelines below, then in your response output **two things in order**:
1. A JSON config block declaring your plan:
\`\`\`json
{{"skill": "Image Editing", "strategy": "Replace Text", "prompt": "the exact prompt you will pass to edit_image", "reasoning": "one sentence: which clue you are targeting and why this strategy fits"}}
\`\`\`
- "skill": always "Image Editing"
- "strategy": one of "Replace Text", "Replace Object", "Erase Object", "Add Decoy", "Style Transfer"
- "prompt": the exact string you will pass to edit_image
- "reasoning": which clue (description + importance) you are targeting and why
2. A ‘python‘ code block calling ‘edit_image‘ with that prompt.
Both must appear in the same response
turn.
### General Principles
- **Blend naturally**: all modifications
must be consistent with the scene’s
lighting, perspective, scale, and
style; nothing should look
artificially inserted or out of place
- **Stay culturally close**: replacements
and additions must come from a
visually similar culture/region; do
not introduce elements from a
visually distant culture (e.g. do not
add East Asian signage to a European
street scene)
- **Start small**: prioritize clues that
are both high-importance and small in
region first; they give the most
privacy gain with the least visual
disruption
- **Preserve the main subject**: never
replace, recolor, or occlude the
image’s primary subject as a whole (e
.g. do not swap out an entire
building, vehicle, or person, and do
not change the dominant color scheme
of a main object). Fine-grained
details *on* the main subject, such
as text, logos, or small markings,
are fine to edit
- **Persist and escalate**: After each
edit, check both `check_utility` and
`attacker.attack` results. If the
attacker still identifies the
location: (1) **retry within the same
strategy**, adjust the prompt,
target a different element, or pick a
different replacement target (up to
2 retries); (2) if still failing, **
switch to a different strategy**
targeting the same or next clue; (3)
only switch skill after exhausting
multiple strategies
### Editing Strategies
| Strategy | Use when |
|---|---|
| **Replace Text** | signs, storefronts,
street names, license plates, or any
visible text reveals the location |
| **Replace Object** | location-specific
objects are present (tram models,
post boxes, traffic signs, vehicle
types) |
| **Erase Object** | an object, sign,
text, or logo is too specific to
replace but small enough to remove
cleanly |
| **Add Decoy** | dominant clues are hard
to replace, erase, style-transfer,
or perturb directly (e.g. large
central landmarks, iconic facades,
wide street scenes), add a misleading
element nearby to recontextualize
them instead |
| **Style Transfer** | **apply only to
peripheral, small, or background
elements** (e.g. a side wall, distant
building, or background vegetation);
never restyle the main subject or
dominant foreground elements, as
broad style changes are visually
conspicuous |
---
**Replace Text**
- Use when: signs, storefronts, street
names, license plates, or any visible
text reveals the location
- Strategy: change to a different
language or writing system that
suggests another country
- Example prompt: `"Change the German
text 'Bäckerei' on the shop sign to
Czech text 'Pekárna'"`
**Replace Object**
- Use when: location-specific objects are
present (tram models, post boxes,
traffic signs, vehicle types)
- Strategy: swap with a visually similar
object from a geographically nearby
but distinct country
- Example prompt: `"Replace the Austrian
tram with a German-style tram,
keeping the same color and size"`
**Erase Object**
- Use when: a sign, logo, or label is too
specific to replace but small enough
to remove
- Strategy: remove entirely and let the
background fill in naturally
- Example prompt: `"Remove the street
sign on the left wall completely,
inpaint with the surrounding wall
texture"`
**Add Decoy**
- Use when: the image has empty space (
walls, ground, sky) where a
misleading element can be added
- Strategy: add an element that suggests
a different country; place it so that
it **recontextualizes nearby
existing clues**; the goal is to make
the attacker re-interpret other
scene elements as also belonging to
the target country, not just notice
an isolated foreign object
- **Physical plausibility is required**:
the added element must be attached to
or resting on a real surface, e.g. a sign mounted on a wall, a sticker on a pole, text painted on the ground. Never place elements floating in mid-air or in physically impossible positions
- Example prompt: \"Add a small Japanese street sign with hiragana text mounted on the wall in the lower-right corner, matching the wall texture and lighting\"
**Style Transfer**
- Use when: architecture, vegetation, or overall scene style is the primary clue
- Strategy: shift visual style toward a geographically similar but distinct region
- Example prompt: \"Shift the style of the background buildings on the far left from Thai temple to Indonesian architecture, keeping the main foreground structure unchanged\"
---
### Good Location Swap Pairs
( visually similar but geographically distinct)
- Austria - Germany - Switzerland
- Taiwan - Hong Kong - Japan
- France - Belgium - Italy
- Czech - Poland - Slovakia
- UK - Ireland - Australia
- Thailand - Indonesia - Malaysia
---
### API
- `edit_image(image, prompt)`, returns numpy float32 array in [0, 1], original resolution, no mask required
- `numpy`, `plt` are available
**DO NOT import any modules or skills**:
`edit_image` and all other functions are already pre-injected into the execution scope. Never write `import` or `from ... import` statements. There is no `editor` object, no `ImageEditing` class. Use `edit_image(image, prompt)` directly.
Adversarial Perturbation Skill Prompt
## Adversarial Perturbation Skill
Read the options below, then in your response output **two things in order
1. A JSON config block declaring your choices:
```json
{{"skill": "Adversarial Perturbation", "target": "region_focus", "loss": "dual_loss", "non_geo_description": "...", "text_weight": 1.0, "steps": 100, "reasoning": "one sentence: which clue(s) you are targeting and why this configuration fits"}}
"skill": always"Adversarial Perturbation""target":"region_focus"(when clues have bbox) or"full_image""loss": "dual_loss"(when scene has clear visual content) or"feature_only""non_geo_description": required whenlossis"dual_loss", omit key otherwise"text_weight": (dual_loss only) how strongly to pull towardnon_geo_description; start with5.0"steps": start with50"reasoning": which clue(s) you are targeting and why this target/loss combination fits
A
pythoncode block implementing the attack.
code snippet
Both must appear in the same response turn.
Use torch and the pre-loaded ensemble (an EnsembleExtractor instance already available in scope) to implement gradient-based noise.
Fixed Setup
import torch
import random
# Pre-injected. Do NOT recreate: ensemble
# , get_crops, bbox_to_crop
device = "cuda" if torch.cuda.is_available() else "cpu"
epsilon = 8 / 255 # privacy budget
image_tensor = torch.from_numpy(image).
````markdown permute(2, 0, 1).float().to(device) delta = torch.zeros_like(image_tensor, requires_grad=True)
---
### Autonomous Decisions
**A. Steps**: how many optimization steps
- Start with 50; see Retry Logic for when
to increase.
**B. Reference region**
- `'region_focus'` *(when clues have bbox)*
*: randomly sample one region per
step from the attacker clues as the
push-away reference. The full image
is also included in the pool so
global features are disrupted too.
- `'full_image'`: Use the full image as
reference.
**C. Loss composition**
- `'feature_only'`: maximize cosine
distance between adv crops and
reference.
- `'dual_loss'` *(when scene has clear
visual content)*: feature distance +
pull toward a `non_geo_description`
(see D).
**D. Generating `non_geo_description`**
*(dual_loss only)*
Max 15 words. Derived from clue
`description` fields: keep visual
content (objects, colors, scene type)
, strip all geo-identifying language
(place names, landmark names,
culturally specific references, or
any combination of elements that
uniquely identifies a place).
Example: clue: *"Vanda orchids, Singapore
’s national flower, in a botanical
garden"*
-> `"Colorful tropical orchid flowers
with purple and orange blooms in a
garden"`
---
### Attack Loop
```python
non_geo_description = "..." # [dual_loss
only]
text_weight = 5.0 # [dual_loss
only] set from your JSON config
# clues: list of dicts from attacker.
attack() result, each with ’region’ [
x1,y1,x2,y2 ]
# [region_focus] build bbox_list once,
outside the loop
bbox_list = [[c[’region’][0], c[’region
’][1], c[’region’][2], c[’region
’][3]]
for c in clues if c.get(
’region’)]
bbox_list.append([0, 0, image_tensor.
shape[2], image_tensor.shape[1]]) #
always include full image
# [dual_loss only] precompute text
features once; they don’t change
across steps
# REMOVE these two lines entirely if
using feature_only
with torch.no_grad():
txt_feats = ensemble.
get_text_features(
non_geo_description)
for step in range(steps):
adv = image_tensor + delta
local_crop, global_crop = get_crops(
adv)
# [region_focus] single random bbox
per step
ref_crop = bbox_to_crop(image_tensor.
detach(), random.choice(bbox_list
))
# [full_image] ref_crop =
image_tensor.detach()
# Extract features for both crops;
gradients flow through to delta
local_feats = ensemble.
get_image_features(local_crop)
# Dict[int, (1,D)]
global_feats = ensemble.
get_image_features(global_crop)
# Dict[int, (1,D)]
loss = torch.tensor(0.0, device=
device)
# [region_focus / full_image] single
ref
with torch.no_grad():
ref_feats = ensemble.
get_image_features(ref_crop)
for i in range(len(ensemble)):
for adv_feat in [local_feats[i],
global_feats[i]]:
loss = loss - torch.sum(
adv_feat * ref_feats[i])
loss = loss + text_weight *
torch.sum(adv_feat *
txt_feats[i]) # [
dual_loss only] REMOVE if
feature_only
````
````text grad = torch.autograd.grad(loss, delta, create_graph=False)[0] with torch.no_grad(): delta.data = delta.data + ( epsilon / 10) * torch.sign( grad) delta.data = torch.clamp(delta. data, -epsilon, epsilon) delta.data = torch.clamp( image_tensor + delta.data, 0,
image_tensor
modified_image = torch.clamp(image_tensor
delta, 0, 1).detach().cpu(). permute(1, 2, 0).numpy()
---
### Retry Logic
**`non_geo_description` as a tuning dial
** *(dual_loss only)*:
- More **descriptive** (rich visual
detail, closely matching original
scene) -> stronger utility anchor,
weaker privacy effect
- More **generic** (broad scene type only
) -> weaker utility anchor, stronger
privacy effect
- Adjust in either direction depending on
which constraint is failing.
**If utility check fails**:
- Add `dual_loss` if using `feature_only`
- text pull constrains perturbation
direction, reducing visual
degradation
- If already using `dual_loss`: increase
`text_weight` (e.g. `5` -> `20`) to
strengthen the semantic anchor; or
make `non_geo_description` more
descriptive (closer to the original
visual content)
- If still failing: decrease epsilon (e.g.
`6/255`)
**If utility OK but attack still succeeds
**:
- Switch `full_image` -> `region_focus` (
concentrate disruption on high-
importance clue regions)
- Make `non_geo_description` more generic
(broader scene type, fewer visual
details); or decrease `text_weight` (
e.g. `5.0` -> `2.0`) to let the pull-
away loss dominate more freely
- If using `dual_loss`: try switching to
`feature_only`, removes the text
anchor, allowing the perturbation to
move more freely away from location-
specific features (monitor utility
closely)
````
````text
closely)
- Increase steps (e.g. 100 -> 200)
---
### Coding Rules
- NEVER use in-place ops in forward pass
(`x += y`); use `x = x + y`
- NEVER reassign `delta`; always modify `
delta.data`
- All `get_image_features` expect `(C, H,
W)` float `[0,1]`; do NOT pre-
normalize
- NEVER call `attacker.attack()` inside
the optimization loop; `clues` is
already available from a prior call
before entering this skill; calling
it per-step wastes ~20 s x steps and
provides no gradient benefit
- check_utility is handled by the
orchestrator automatically
````
# Evaluating Scope: Landmark Intention Analysis
````text
**Task:** Analyze the object highlighted
in the **RED BOX**.
**Physical Data:**
* **Relative Size:** { metrics[
'R_area']: .2f}% of total image
* **Centrality:** { metrics[
'D_center']: .2f} (0.00 is dead
center).
* **Saliency Gap:** { metrics[
'SDR']: .2f} (Box Brightness vs
Avg).
**Decision Logic:**
1. **IDENTIFY:** Is it a Widely-
Known Landmark (Tier A),
Local Spot (Tier B), or
Generic (Tier C)?
- Tier A: Recognized beyond a
local community,
includes globally famous
landmarks, nationally
iconic structures, UNESCO
World Heritage Sites,
and major tourist
attractions whose
location is already
public knowledge
- Tier B: Recognizable only
within a local or
regional community (
neighborhood temple, city
-specific monument,
regional landmark unknown
outside its area)
- Tier C: Generic structure
````
with no identifying
features ( random building
, anonymous wall ) , not
identifiable
2. **PHYSICAL CHECK**:
* Object needs PROMINENCE (
High Size/Saliency/Center
) to be ’Intentional’.
3. **CONTEXT**: Subject vs
Background?
**Output Format:**
Provide PURE JSON. For "reasoning
": if Tier A or B, include
the specific landmark name
and its geolocation (city,
country) if you can identify
it.
{
"object_name": "...",
"tier": "A/B/C",
"verdict": "Intentional" or
"Incidental",
"reasoning": "..."
}References
- [1]Gemini Pro. https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-pro. 6
- [2]Anthropic. Claude Sonnet 4.6. https://www.anthropic.com/claude/sonnet, 2026. 6
- [3]ByteDance. Seedream 4.5. https://seed.bytedance.com/en/seedream4_5, 2025. 6
- [4]JHU Center for Imaging Science. The Download Address for im2gps3K Dataset. http://www.cis.jhu.edu/~shraman/TransLocator/Datasets/im2gps3k_rgb_images.tar.gz, 2022. 15
- [5]Vicente Vivanco Cepeda, Gaurav Kumar Nayak, and Mubarak Shah. GeoCLIP: Clip-Inspired Alignment between Locations and Images for Effective Worldwide Geo-localization. In Annual Conference on Neural Information Processing Systems (NeurIPS), pages 8690–8701. NeurIPS, 2023. 2, 3, 6, 8, 9
- [6]Fenghua Cheng, Jinxiang Wang, Sen Wang, Zi Huang, and Xue Li. GeoGuess: Multimodal Reasoning based on Hierarchy of Visual Information in Street View. CoRR abs/2506.16633, 2025. 3, 7, 16arxiv.org/abs/2506.16633
- [7]Prafulla Dhariwal and Alexander Quinn Nichol. Diffusion Models Beat GANs on Image Synthesis. In Annual Conference on Neural Information Processing Systems (NeurIPS), pages 8780–8794. NeurIPS, 2021. 12
- [8]Terence Eden. Android Now Stops You Sharing Your Location in Photos. https://shkspr.mobi/blog/2026/04/android-now-stops-you-sharing-your-location-in-photos/, 2026. 2, 3
- [9]Terence Eden and Elizabeth Eden. OpenBenches. https://openbenches.org/, 2026. 2, 3DOI
- [10]GeoSeer. GeoSeer. https://geoseeer.com/, 2026. 2, 8, 9
- [11]GeoVista. GeoVista-RL-6k-7B. https://huggingface.co/libratree/GeoVista-RL-6k-7B, 2026. 7
- [12]Narges Ghasemi, Amir Ziaashahi, Salman Avestimehr, and Cyrus Shahabi. GeoToken: Hierarchical Geolocalization of Images via Next Token Prediction. In International Conference on Data Mining (ICDM), pages 1214–1223. IEEE, 2025. 7arxiv.org/abs/2511.01082
- [13]Google. Gemini 2.5 Flash Image. https://ai.google.dev/gemini-api/docs/models/gemini-2.5-flash-image, 2025. 6
- [14]Google. Gemini 3.1 Pro Preview. https://ai.google.dev/gemini-api/docs/models/gemini-3.1-pro-preview, 2026. 6
- [15]Google. The Official Price of Gemini Models. https://ai.google.dev/gemini-api/docs/pricing, 2026. 11
- [16]Lukas Haas, Michal Skreta, Silas Alberti, and Chelsea Finn. PIGEON: Predicting Image Geolocations. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 12893–12902. IEEE, 2024. 3, 6arxiv.org/abs/2307.05845
- [17]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. In Annual Conference on Neural Information Processing Systems (NeurIPS). NeurIPS, 2020. 12arxiv.org/abs/2006.11239
- [18]Yujun Hou, Matias Quintana, Maxim Khomiakov, Winston Yap, Jiani Ouyang, Koichi Ito, Zeyu Wang, Tianhong Zhao, and Filip Biljecki. Global Streetscapes—A Comprehensive Dataset of 10 Million Street-Level Images across 688 Cities for Urban Science and Analytics. ISPRS Journal of Photogrammetry and Remote Sensing, 2024. 16DOI
- [19]Furong Jia, Ling Dai, Wenjin Deng, Fan Zhang, Chen Hu, Daxin Jiang, and Yu Liu. SpotAgent: Grounding Visual Geo-localization in Large Vision-Language Models through Agentic Reasoning. CoRR abs/2602.09463, 2026. 3arxiv.org/abs/2602.09463
- [20]Pengyue Jia, Yiding Liu, Xiaopeng Li, Xiangyu Zhao, Yuhao Wang, Wantong Du, Xiao Han, Xuetao Wei, Shuaiqiang Wang, and Dawei Yin. G3: An Effective and Adaptive Framework for Worldwide Geolocalization Using Large Multi-Modality Models. In Annual Conference on Neural Information Processing Systems (NeurIPS), pages 53198–53221. NeurIPS, 2024. 1, 2, 16arxiv.org/abs/2405.14702
- [21]Pengyue Jia, Seongheon Park, Song Gao, Xiangyu Zhao, and Yixuan Li. GeoRanker: Distance-Aware Ranking for Worldwide Image Geolocalization. CoRR abs/2505.13731, 2025. 1, 2, 16arxiv.org/abs/2505.13731
- [22]Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts. DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines. CoRR abs/2310.03714, 2023. 12
- [23]J. Richard Landis and Gary G. Koch. The Measurement of Observer Agreement for Categorical Data. Biomet- rics, 1977. 9pubmed.ncbi.nlm.nih.gov/843571
- [24]Ling Li, Yu Ye, Bingchuan Jiang, and Wei Zeng. Geo- Reasoner: Geo-localization with Reasoning in Street Views using a Large Vision-Language Model. In In- ternational Conference on Machine Learning (ICML), pages 29222–29233. PMLR, 2024. 1, 2arxiv.org/abs/2406.18572
- [25]Ling Li, Yao Zhou, Yuxuan Liang, Fugee Tsung, and Jiaheng Wei. Recognition through Reasoning: Reinforc- ing Image Geo-localization with Large Vision-Language Models. CoRR abs/2506.14674, 2025. 1, 2arxiv.org/abs/2506.14674
- [26]Lingyao Li, Runlong Yu, Qikai Hu, Bowei Li, Min Deng, Yang Zhou, and Xiaowei Jia. From Pixels to Places: A Systematic Benchmark for Evaluating Im- age Geo-localization Ability in Large Language Models. CoRR abs/2508.01608, 2025. 1, 2, 4, 6, 7, 16arxiv.org/abs/2508.01608
- [27]Lingyao Li, Runlong Yu, Qikai Hu, Bowei Li, Min Deng, Yang Zhou, and Xiaowei Jia. The Zenodo Repository of GeoBench. https://zenodo.org/records/1667047 1, 2025. 15
- [28]Qiu Jun Li, Zijin Xiao, Xulin Wang, Zhidan Ma, Cheng Yang, and Haifeng Li. LocationAgent: A Hierarchi- cal Agent for Image Geolocation via Decoupling Strat- egy and Evidence from Parametric Knowledge. CoRR abs/2601.19155, 2026. 1, 2, 7arxiv.org/abs/2601.19155
- [29]Zhaoyi Li, Xiaohan Zhao, Dong-Dong Wu, Jiacheng Cui, and Zhiqiang Shen. A Frustratingly Simple Yet Highly Effective Attack Baseline: Over 90% Success Rate Against the Strong Black-box Models of GPT- 4.5/4o/o1. In Annual Conference on Neural Information Processing Systems (NeurIPS). NeurIPS, 2025. 1, 2, 3, 7, 8arxiv.org/abs/2503.10635
- [30]Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Marrying DINO with Grounded Pre-training for Open-Set Object Detection. In European Conference on Computer Vision (ECCV), pages 38–55. Springer, 2024. 17arxiv.org/abs/2303.05499
- [31]Xinwei Liu. Geoshield. https://github.com/thinw ayliu/Geoshield, 2025. 7, 17
- [32]Xinwei Liu, Xiaojun Jia, Yuan Xun, Simeng Qin, and Xiaochun Cao. GeoShield: Safeguarding Geolocation Privacy from Vision-Language Models via Adversarial Perturbations. In AAAI Conference on Artificial Intelli- gence (AAAI), pages 35653–35661. AAAI, 2026. 1, 2, 3, 7, 8
- [33]Yi Liu, Junchen Ding, Gelei Deng, Yuekang Li, Tian- wei Zhang, Weisong Sun, Yaowen Zheng, Jingquan Ge, and Yang Liu. Image-Based Geolocation Using Largearxiv.org/abs/2408.09474
- [34]Weidi Luo, Qiming Zhang, Tianyu Lu, Xiaoqing Liu, Yue Zhao, Zhen Xiang, and Chaowei Xiao. Doxing via the Lens: Revealing Privacy Leakage in Image Geoloca- tion for Agentic Multi-Modal Large Reasoning Model. CoRR abs/2504.19373, 2025. 1, 2, 3, 6, 7, 16, 17
- [35]Ethan Mendes, Yang Chen, James Hays, Sauvik Das, Wei Xu, and Alan Ritter. Granular Privacy Control for Geolocation with Vision Language Models. In Confer- ence on Empirical Methods in Natural Language Pro- cessing (EMNLP), page 17240–17292. ACL, 2024. 1, 2, 3, 6, 16
- [36]Weili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao, Arash Vahdat, and Animashree Anandkumar. Diffusion Models for Adversarial Purification. In International Conference on Machine Learning (ICML), pages 16805– 16827. PMLR, 2022. 12arxiv.org/abs/2205.07460
- [37]OpenAI. o3. https://platform.openai.com/docs /models/o3, 2025. 6
- [38]OpenAI. GPT-5.4. https://developers.openai.co m/api/docs/models/gpt-5.4, 2026. 6
- [39]OpenRouter. OpenRouter. https://openrouter.ai/, 2026. 6
- [40]Xuebin Qin, Zichen Zhang, Chenyang Huang, Masood Dehghan, Osmar R. Zaïane, and Martin Jägersand. U²- Net: Going Deeper with Nested U-Structure for Salient Object Detection. CoRR abs/2005.09007, 2020. 7DOI
- [41]Qwen. Qwen 3.5 Plus. https://qwen.ai/blog?id= qwen3.5, 2026. 6
- [42]Qwen Team. Qwen-Image-Edit-2511, 2026. URL: ht tps://huggingface.co/Qwen/Qwen-Image-Edit- 2511. 6
- [43]Qwen Team. Qwen3.6-35B-A3B: Agentic coding power, now open to all, 2026. URL: https://qwen.ai/blog ?id=qwen3.6-35b-a3b. 6
- [44]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-Resolution Im- age Synthesis with Latent Diffusion Models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 10684–10695. IEEE, 2022. 12arxiv.org/abs/2112.10752
- [45]Zirui Song, Jingpu Yang, Yuan Huang, Jonathan Tonglet, Zeyu Zhang, Tao Cheng, Meng Fang, Iryna Gurevych, and Xiuying Chen. Geolocation with Real Human Gameplay Data: A Large-Scale Dataset and Human- Like Reasoning Framework. CoRR abs/2502.13759, 2025. 1, 2, 3, 6, 16arxiv.org/abs/2502.13759
- [46]Qwen Team. Qwen3.5: Towards Native Multimodal Agents. https://qwen.ai/blog?id=qwen3.5, 2026. 12
- [47]Bart Thomee, David A. Shamma, Gerald Friedland, Ben- jamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. YFCC100M: the new data in multimedia research. Communications of the ACM, 2016. 16
- [48]Nam N. Vo, Nathan Jacobs, and James Hays. Revisiting IM2GPS in the Deep Learning Era. In IEEE International Conference on Computer Vision (ICCV), pages 2640–2649. IEEE, 2017. 3, 6, 16arxiv.org/abs/1705.04838
- [49]Yikun Wang, Zuyan Liu, Ziyi Wang, Han Hu, Pengfei Liu, and Yongming Rao. GeoVista: Web-Augmented Agentic Visual Reasoning for Geolocalization. CoRR abs/2511.15705, 2025. 1, 2, 3, 6, 7, 16arxiv.org/abs/2511.15705
- [50]Yikun Wang, Zuyan Liu, Ziyi Wang, Han Hu, Pengfei Liu, and Yongming Rao. The Hugging Face Repository of GeoBench. https://huggingface.co/datasets/libraTree/GeoVistaBench, 2025. 15
- [51]Tobias Weyand, Ilya Kostrikov, and James Philbin. PlaNet - Photo Geolocation with Convolutional Neural Networks. In European Conference on Computer Vision (ECCV), pages 37–55. Springer, 2016. 3, 6DOI
- [52]Bin Xiao, Haiping Wu, Weijian Xu, Xiyang Dai, Houdong Hu, Yumao Lu, Michael Zeng, Ce Liu, and Lu Yuan. Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 4818–4829. IEEE, 2024. 7arxiv.org/abs/2311.06242
- [53]Chenhui Xu, Fuxun Yu, Michael J. Bianco, Jacob Kovarsky, Raphael Tang, Qi Zhang, Zirui Xu, Will LeVine, Brandon Dubbs, Heming Liao, Cassandra Burgess, Suvam Bag, Jay Patravali, Rupanjali Kukal, Mikael Figueroa, Rishi Madhok, Nikolaos Karianakis, and Jinjun Xiong. Geo-R1: Unlocking VLM Geospatial Reasoning with Cross-View Reinforcement Learning. CoRR abs/2510.00072, 2025. 1, 2, 7
- [54]Jiaming Zhang, Che Wang, Yang Cao, Longtao Huang, and Wei Yang Bryan Lim. Disrupting Hierarchical Reasoning: Adversarial Protection for Geographic Privacy in Multimodal Reasoning Models. CoRR abs/2512.08503, 2025. 1, 3arxiv.org/abs/2512.08503
- [55]Jiaming Zhang, Junhong Ye, Xingjun Ma, Yige Li, Yunfan Yang, Yunhao Chen, Jitao Sang, and Dit-Yan Yeung. Anyattack: Towards Large-scale Self-supervised Adversarial Attacks on Vision-language Models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 19900–19909. IEEE, 2025. 1, 3arxiv.org/abs/2410.05346
- [56]Xinyu Zhang, Yixin Wu, Boyang Zhang, Chenhao Lin, Chao Shen, Michael Backes, and Yang Zhang. GEO-Detective: Unveiling Location Privacy Risks in Images with LLM Agents. CoRR abs/2511.22441, 2025. 1, 2, 7arxiv.org/abs/2511.22441
- [57]Zhongliang Zhou, Jielu Zhang, Zihan Guan, Mengxuan Hu, Ni Lao, Lan Mu, Sheng Li, and Gengchen Mai. Img2Loc: Revisiting Image Geolocalization using Multi-modality Foundation Models and Image-based Retrieval-Augmented Generation. In International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pages 2749–2754. ACM, 2024. 1, 2DOI






