Skip to content

Defending against geographic location privacy leakage in vision-language models using diffusion model latent space perturbationsHiding in Plain Sight: A Diffusion-based Mitigation of Geolocation Privacy Leakage in Vision-Language Models

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.21363· Yining Wang, Xi Li, Mi Zhang, Xiaohan Zhang, Xiaoyu You, Zhenxing Qian, Mi Wen·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose a defense that injects geographic perturbations in the latent space of diffusion models, increasing fine-grained geolocation error on commercial multimodal reasoning models and reducing 1 km accuracy to below 5%.

Threat modelThe attacker, under strict black-box conditions, uses only public social media images, leveraging MLRMs (which can scale, retrieve, and call tools) to infer current location, residence, or frequently visited places; the defender performs image purification before publication, with true location coming from user GPS or existing localization models.

Questions
Multimodal large reasoning models can infer precise geographic location from everyday photos using cues such as architecture, vegetation, and lighting; refusal defenses can be bypassed by jailbreaks, and pixel-space perturbations struggle to balance black-box transferability and image quality.
Methods
In Stable Diffusion's DDIM reverse sampling, GeoCLIP is used to pull the visual embedding of intermediate images toward a specified incorrect coordinate, with total variation and edge consistency constraints to preserve fidelity; optional SAM masks with diffusion inpainting enable regional or national-level control.
Experiments and results
Evaluated on DoxBench and Street View across five commercial MLRMs. The authors claim localization error can exceed 2500 km, 1 km accuracy below 5%, and FID and PSNR better than pixel-space baselines, while remaining robust to image transformations and purification.
Limitations and future work
The authors note that jailbreak templates rely on manual design and were tested on only two models, adversarial evaluation is mainly on DoxBench, and no gradient-based adaptive attacks were performed; they also plan to release code. Experiments cover five commercial APIs, DoxBench, and Street View, with temperature set to 0.
Experimental setupGPT-5、GPT-4.1 et al. · DoxBench、Street View et al. · VRR、AED et al.
Evaluated models
GPT-5GPT-4.1Gemini 2.5 ProClaude Opus 4.5Qwen3-VL PlusGeoVista
Benchmarks
DoxBenchStreet ViewMS COCOUnsafeBench
Metrics
VRRAEDMEDDeviation1 km / 25 km / 200 km / 750 km / 2500 km accuracyPSNRFIDLPIPSCLIPIQANIQE
AI summaryThe study systematically examines privacy leakage from multimodal large reasoning models (MLRMs) inferring users' geographic locations from everyday photos, finding that refusal-based protections are severely insufficient, and carefully crafted jailbreak prompts can increase model response rates to 100%. The authors point out that existing defenses that inject invisible perturbations in pixel space are structurally limited, with reduced black-box transferability and noticeable visual artifacts. To this end, they propose an active defense framework based on diffusion models, which injects perturbations into the latent space of the diffusion model during reverse sampling, directly acting on high-level semantic representations, and uses GeoCLIP aligned with GPS coordinates as a surrogate model to locate and disrupt the geographic signals that MLRMs use for location inference. This method achieves stronger black-box transferability while maintaining image perceptual quality, facilitating integration on social media platforms. This work has been accepted by NDSS 2027.

The study systematically examines privacy leakage from multimodal large reasoning models (MLRMs) inferring users' geographic locations from everyday photos, finding that refusal-based protections are severely insufficient, and carefully crafted jailbreak prompts can increase model response rates to 100%. The authors point out that existing defenses that inject invisible perturbations in pixel space are structurally limited, with reduced black-box transferability and noticeable visual artifacts. To this end, they propose an active defense framework based on diffusion models, which injects perturbations into the latent space of the diffusion model during reverse sampling, directly acting on high-level semantic representations, and uses GeoCLIP aligned with GPS coordinates as a surrogate model to locate and disrupt the geographic signals that MLRMs use for location inference. This method achieves stronger black-box transferability while maintaining image perceptual quality, facilitating integration on social media platforms. This work has been accepted by NDSS 2027.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Commercial MLRMs can infer precise locations from everyday photos; both refusal and pixel perturbations fail to block them.

    Commercial multimodal large reasoning models can infer precise geographic location from casual photos, and existing refusal and pixel perturbation methods struggle to balance protection and image quality on black-box APIs.

    • Scenario: The authors state that MLRMs perform multi-step reasoning over architectural style, vegetation, and lighting, leaking home addresses and daily routes from selfies, street views, and everyday photos, lowering the barrier to stalking, surveillance, and physical intrusion. Geographic data is subject to GDPR and CCPA.
    • Inadequacy of existing defenses: Refusal mechanisms like OpenAI's can be bypassed by jailbreak templates, raising response rates to 100% (Section III-C). Typographic embedding of wrong place names harms aesthetics and can be bypassed by cropping or resizing. Pixel-space perturbations are constrained by Lp budgets; strong perturbations cause artifacts, weak ones are insufficient; CLIP-like proxies are not aligned with geographic reasoning, leading to poor black-box transferability. The authors state that GeoShield, even with encoder ensembles, remains in pixel optimization.
    • Core observation: Reverse sampling in diffusion models directly modifies high-level semantic representations, simultaneously increasing localization error and preserving appearance; using GeoCLIP, which is aligned with GPS, as a proxy better targets the geographic cues used by MLRMs than encoders aligned only with image-text similarity.
    • Approach: Proposes a latent-space diffusion perturbation framework with optional diffusion-based local inpainting, allowing users to control disclosure at city, regional, or national granularity.
    • Threat model
      • Attacker goal: Infer the current location, home, or frequently visited areas from user-shared images.
      • Knowledge: Strict black-box, with no account metadata, IP, or embedded geotags.
      • Capabilities: Input is limited to public images from Instagram, TikTok, YouTube, etc.; can use MLRMs such as GPT-5 and Claude 4.5 series without restriction, with models capable of scaling, web search, and calling external tools.
      • Defender: Social platforms purify images after consent before publication, or third parties transform locally on the client. True location comes from user GPS; when metadata is absent, existing localization models estimate it. Interventions must remain imperceptible.
  2. What related research exists?

    Related work is divided into three categories: geolocation, leakage and mitigation, and diffusion adversarial examples. This work instead performs geographically aligned perturbations in latent space.
    • Traditional image geolocation: Classification methods divide the Earth's surface into grids and predict categories; retrieval methods find nearest neighbors in a database of geotagged images. The authors claim both are limited by fixed granularity or large-scale annotation, lacking global-scale accuracy, interpretability, and scalability.
    • MLLM geographic capability and leakage: Reinforcement learning post-training improves street view localization; recent MLRMs can perform zero-shot localization on everyday photos. Cited works claim MLRMs can extract geographic information via simple prompts, with errors on average 21 times lower than non-expert humans. Real cases include inferring home addresses from public selfies and causing harm. For mitigation, OpenAI uses refusal; pixel perturbations attempt to remove geographic features from representations or break concept dependencies, which the authors claim are heavy to train and cause visible distortion, hindering large-scale deployment.
    • Diffusion adversarial examples: FGSM, PGD, C&W use Lp constraints in pixel space; unrestricted adversarial attacks modify semantics or attributes. Diffusion models generate images via forward noising and reverse denoising; injecting perturbations in intermediate latent variables can achieve high-level semantic changes. Similar methods have been used for face privacy, obscuring identity while preserving appearance.
    • Baselines and benchmarks: M-Attack aligns global and local representations of a wrong-location target image with model ensembling; GeoShield removes geographic features from CLIP embeddings with ensemble training; ReasonBreak aligns image patches to misleading visual concepts to break hierarchical reasoning, which the authors evaluate only on DoxBench per official recommendations. Benchmarks are DoxBench and Street View; downstream utility uses MS COCO and UnsafeBench. Typographic methods are not used as baselines because they can be bypassed by cropping or scaling.

    The authors position this work as: performing geography-aware optimization in Stable Diffusion latent space, using GeoCLIP to disrupt fine-grained visual cues, achieving both visual fidelity and transferable protection against black-box MLRMs.

  3. How does the paper address this problem?

    During DDIM reverse process, GeoCLIP pulls latent variables toward incorrect coordinates, with TV and edge losses for fidelity.

    Overall, the latent variables are modified in Stable Diffusion's DDIM reverse sampling: at each step the latent variable is decoded into an intermediate image, updated using the GeoCLIP gradient and a fidelity loss, and then written back into latent space. An optional extension uses SAM masks for local inpainting.

    Problem setup and diffusion process

    • Forward and reverse: The forward process adds Gaussian noise to the latent variable over T steps, with zt obtained from zt−1 according to the variance schedule βt; the reverse process predicts noise with the generative model. Stable Diffusion performs these two steps in latent space to reduce computation.
    • DDIM: The reverse process is changed into a deterministic non-Markovian process that can skip between arbitrary time steps, using fewer than the full T steps. The authors say this is why it is commonly used for diffusion perturbation, to maintain visual consistency between the original image and the perturbed image.

    Geographic guidance and optimization

    • Proxy: GeoCLIP uses a location encoder L(·) to map 2D GPS to a high-dimensional space and an image encoder V(·) to extract semantics, predicting the coordinate with the highest similarity to the global GPS gallery G. The defense specifies for each image a target location G′ different from the true source; the true location comes from metadata, otherwise it is estimated with existing models (including GeoCLIP).
    • Objective: At time step t, zt is decoded into xt, maximizing the cosine similarity between V(xt) and L(G′), with scaling factor τ. A total variation loss is added to suppress high-frequency artifacts, along with a Sobel-based soft edge consistency loss that aligns the edges of xt with the previous intermediate image xt+1. The full edge formula is in Appendix C.
    • Update: The gradient is taken with respect to zt, with terms (1−similarity)+γTV·LTV+γedge·Ledge. Momentum accumulates from tstart, with vt equal to gt at the starting point and thereafter β vt+1+(1−β)gt; the update is zt∗=zt−α vt, where α is the step size. The authors say small step-by-step perturbations with consistent direction reduce distortion and improve transfer. The procedure is shown in Algorithm 1 and Figure 5.

    Optional local inpainting

    • Applicability boundary: The authors say the perturbation can reliably shift commercial API predictions by more than 100 km, thereby protecting city-level privacy; at the regional level (about 200 km) or national level (about 750 km), merely increasing the perturbation severely degrades visual quality. The granularity follows the cited standard: city about 25 km, region about 200 km, country about 750 km.
    • Conditions: SAM generates binary masks for the two types of regions the authors consider most informative; the text condition changes the location to a different region or country and requests high resolution, realistic, best quality. The reverse noise is conditioned on both the prompt p and the mask m, and the latent variable is mixed between the predicted value and the original image's latent variable according to the mask.
    • Target location: At the regional level, the centroid GPS of another region in the same country is used; at the national level, the centroid of another country; the cosine similarity with G′ is still maximized, and the momentum update acts only within the mask.

    Success criteria

    • Leakage metrics: Verifiable response rate VRR, average error distance AED, median error distance MED, and top-1 accuracy at thresholds of 1, 25, 200, 750 and 2500 km; the average deviation of top-1 predictions before and after defense is also reported. Coordinates are mapped via the Google Geocoding API, and geodesic errors use Pyproj's Geod.inv.
    • Image quality and utility: PSNR, FID, LPIPS, CLIPIQA, plus NIQE for inpainting, all using pyiqa. Non-geographic tasks include captioning, object classification and unsafe content detection.
  4. What experiments did the paper conduct?

    On five commercial MLRMs, this method raises AED and reduces 1 km accuracy, with image quality metrics mostly better than pixel baselines.

    Experimental Setup

    • Models: GPT-4.1, GPT-5, Gemini 2.5 Pro, Claude Opus 4.5, Qwen3-VL Plus, all accessed via official APIs, default configuration with deep reasoning enabled, temperature set to 0. The authors state that open-source models cannot yet precisely geolocate user images, so only commercial MLRMs were tested. GPT-5 and Claude Opus 4.5 have refusal responses; during evaluation, a jailbreak template was prepended, pushing VRR above 70%.
    • Data: DoxBench consists of everyday photos simulating social sharing, evaluating Level 2 (private spaces, no people) and Level 3 (private spaces, with people), excluding Level 1 because the authors state geolocation capability is weak there. Street View comes from Google Street View, covering 88 countries. Both use the benchmark's default prompts. Downstream tasks are MS COCO subset and UnsafeBench. The paper does not provide sample counts for each subset in the main text.
    • Baselines: M-Attack, GeoShield, ReasonBreak. ReasonBreak is evaluated only on DoxBench.
    • Metrics: VRR, AED, MED, Deviation, and 1/25/200/750/2500 km accuracy; image quality measured by PSNR, FID, LPIPS, CLIPIQA, with NIQE for inpainting.
    • Proxy: GeoCLIP used for optimization; target MLRM is black-box, different from the proxy.
    • Refusal pre-experiment: On GPT-5 and Claude Opus 4.5, three query variants (direct GPS request, full address request, chain-of-thought address request), metrics are VRR and reasoning token count during refusals (Figure 3, Figure 4).

    Main Results

    DoxBench level-3 (Table I). Deviation, AED, MED in km; arrows indicate the direction the authors define as better.

    Swipe horizontally to read the table

    ModelMethodDev.↑AED↑1 km↓25 km↓
    Qwen3-VL PlusCleanN/A190.3786.89%29.81%
    Qwen3-VL PlusOurs349.670437.1690.00%18.19%
    GPT-5†CleanN/A20.22319.09%59.25%
    GPT-5†Ours192.480171.1062.28%33.18%
    GPT-4.1Ours182.381174.7604.25%33.34%
    Claude Opus 4.5†Ours139.522132.8642.28%35.61%
    Gemini 2.5 ProOurs332.236343.0583.03%46.37%

    †Indicates evaluated under jailbreak template. The table lists only Clean and this paper's method for some columns; peer numbers for M-Attack, GeoShield, ReasonBreak are in Table I. On GPT-5†, GeoShield's AED is 52.744 km, 1 km is 10.00%; on Claude, GeoShield's 1 km is 17.12%, higher than Clean's 19.39% did not occur, its 1 km is 17.12% vs Clean's 19.39%.

    • Authors' interpretation: With the jailbreak template, all tested models exceed 80% VRR on clean images, with AED below 20 km; on street view, performance is worse than on everyday photos, which the authors attribute to fewer exploitable cues. This method achieves the highest AED and MED across all black-box MLRMs, with geolocation error increased up to 11 times, and 1 km accuracy below 5%.
    • Exceptions: In Table I, Qwen3-VL Plus's clean AED is already 190.378 km, not below 20 km, inconsistent with the "all below 20 km" summary. In the same table, ReasonBreak on Qwen has AED 215.302 km, and the comparison that it is lower than Clean's 190.378 km does not hold (215.302 is higher than 190.378); but on GPT-5†, M-Attack's 750 km accuracy is 95.30%, higher than Clean's 90.61%. At coarse scales, pixel baselines are sometimes not worse.
    • Figure 2: The authors place this method on the high image quality, strong defense side, annotating FID 46.4, CLIP 0.29; M-Attack has FID 123.4, CLIP 0.20; GeoShield has FID 89.6, CLIP 0.26; ReasonBreak has FID 69.4, CLIP 0.16. Horizontal axis is defense effectiveness, vertical axis is image quality.

    Refusal and Jailbreak

    • Figure 3: Both MLRMs refuse a large number of sensitive queries, but still reason during refusals, averaging over 1000 reasoning tokens per query; over 94.45% of refusal responses include descriptions of location-related visual cues, only withholding the final coordinates. Claude Opus 4.5's compliance rate for explicit GPS queries is 29.03%, with higher VRR for indirect requests, though some are still blocked.
    • Figure 4: Three jailbreak templates push VRR to 100% for both models; post-jailbreak responses have AED of 20 km. The authors argue that even if service providers update policies, attackers can iteratively modify templates, making refusal itself fragile.

    Image Quality, Human Evaluation, and Robustness

    • Figure 6 (DoxBench level 2): This paper: PSNR 21.06, FID 46.42, CLIP-IQA 0.29; M-Attack: 13.60, 123.44, 0.20; GeoShield: 20.65, 89.61, 0.26; ReasonBreak: 19.06, 69.36, 0.16. LPIPS for this paper is in the Ours column in the figure; M-Attack 0.32, GeoShield 0.48, ReasonBreak 0.39. The authors state FID improves by up to 74.08% and PSNR by up to 54.85%; on some datasets, this paper's LPIPS is slightly higher than baselines, which the authors attribute to perturbations affecting high-level semantics, to which LPIPS's deep features are sensitive. This paper's CLIPIQA is best across all comparisons. Corresponding figures for level-3 and Street View are Figures 10 and 11; the main text does not list all numbers.
    • Human evaluation: Three experts rated naturalness and perceptual similarity to the original image on a five-point scale on DoxBench level-3 (Appendix F). The authors state scores above 4.85 and claim significant superiority over baselines; the paper does not report significance tests, so only the authors' score statement is retained here. The main text interrupts a cost sentence at Table V, and the full cost comparison does not appear in the latter part of the provided text, so specific latency and memory are not reported.
    • Authors' claimed robustness: Robust to image transformations and purification attacks; local inpainting reduces region-level and country-level prediction accuracy to 0% and 20%. Qualitative examples: one GPT-5 case error from 25.971 km to 639.836 km (Figure 14); one Claude Opus 4.5 case from 140.347 km to 3338.876 km (Figure 15). The appendix includes additional model response examples.

    Other Ablations and Analysis

    • Downstream utility: captions generated by GPT-5, evaluated by LLaVA-Bench-style LLM review for accuracy, completeness, and hallucination; object classification uses CLIP ViT-L/14 reporting accuracy and CLIPScore; unsafe content uses OpenAI omni-moderation-latest reporting accuracy. The provided main text does not include specific scores for these tasks.
    • Defense table for level-2 is in Appendix Table IX, Street View in Table II; the provided text does not retain numbers from these tables, so they are not transcribed.
    • Feasibility discussion of using existing models to estimate when true location is missing is in Appendix B; implementation details in Appendix D.
    • Human rating protocol and full prompts are in Appendices A and F; attack examples and refusal prompts are not repeated.
  5. What are some points that can be further explored?

    The authors note that jailbreak templates are handcrafted, adversarial evaluation is concentrated on DoxBench, and they plan to release code.

    Limitations and future directions noted by the authors

    The attached text is truncated at the overhead analysis, so the full original sentences of Limitations, Discussion, and Conclusion could not be checked sentence by sentence. Only the following correspond to explicit statements in the main text:

    • Refusal race: The authors state that the service provider can continuously update strategies, and attackers can iteratively refine jailbreak templates by interacting with the target model, so refusal defenses are inherently fragile (Section III-C).
    • Upper bound on perturbation granularity: The authors state that imperceptible perturbations can protect at street and city levels, while regional or national levels often require changing explicit visual semantics, and simply increasing perturbation causes severe perceptual distortion, hence the additional repair extension (Section IV-B).
    • Open-source models: The authors state that current open-source alternatives cannot precisely geolocate user images, so experiments target only commercial MLRMs (Section V-A).
    • If the latter part of the paper contains additional limitation lists or sentences about "planned open-source code," the attached converted text does not preserve verifiable original sentences, so nothing is added here.

    Experimental coverage

    • The tested commercial APIs are GPT-4.1, GPT-5, Gemini 2.5 Pro, Claude Opus 4.5, and Qwen3-VL Plus, five in total, with temperature 0 and deep reasoning enabled (Section V-A).
    • The main evaluation for geographic defense uses DoxBench Levels 2 and 3, as well as Street View covering 88 countries; Level 1 is excluded (Section V-A).
    • Baselines are M-Attack, GeoShield, and ReasonBreak, with the latter reported only on DoxBench (Section V-A).
    • Refusal and jailbreak are reported only on GPT-5 and Claude Opus 4.5, with VRR and reasoning tokens (Section III-C, Figures 3 and 4).
    • The proxy is GeoCLIP, which differs from the tested APIs; image quality uses PSNR, FID, LPIPS, and CLIPIQA, and human evaluation involves three experts on a five-point scale (Sections V-C and V-D). The paper does not report the number of samples per subset, number of repetitions, or reviewer-human agreement.
  6. Summarize the main content of the paper

    Latent-space GeoCLIP perturbation for black-box MLRM geographic privacy, reducing 1 km accuracy to below 5%.

    This work is a geographic privacy defense for commercial MLRMs: it disrupts localization cues in diffusion latent space rather than relying on server-side refusal.

    • Problem: Attackers have only public photos but can use black-box MLRMs to infer home addresses and movement routes from architecture, vegetation, and lighting. Refusal blocks the final coordinates rather than geographic reasoning; three jailbreak templates push VRR to 100% for GPT-5 and Claude Opus 4.5, with AED of 20 km after jailbreak.
    • Method: DDIM reverse sampling decodes intermediate images at each step, uses GeoCLIP to pull visual embeddings toward a specified incorrect GPS, and constrains distortion with total variation and Sobel edge losses, with momentum written back to the latent variable. When regional or national protection is needed, SAM masks and diffusion inpainting replace explicit landmarks, with targets set to the centroid of another region or country.
    • Main results: On DoxBench level-3, the proposed method achieves AED of 437.169 km and 1 km accuracy of 0.00% for Qwen3-VL Plus; GPT-5 (jailbroken) AED 171.106 km, 1 km 2.28%; Gemini 2.5 Pro AED 343.058 km, 1 km 3.03% (Table I). The authors state that 1 km accuracy is below 5% across five models, error increases up to 11 times, and predictions can be pushed more than 2500 km from the true location.
    • Image quality: On DoxBench level-2, the proposed method achieves FID 46.42, PSNR 21.06, CLIP-IQA 0.29, with FID and PSNR better than three pixel-space baselines (Figure 6). Three experts rate perception above 4.85 on level-3. Examples in Figures 14–15 increase error from 25.971 km and 140.347 km to 639.836 km and 3338.876 km, respectively.
    • Authors' conclusion: Latent-space, geographically aligned perturbations transfer across black-box commercial APIs while maintaining shareable image quality; the inpainting extension reduces regional and national prediction accuracy to 0% and 20%, allowing users to choose granularity.

Related papers

Show 1 more papers
Read originalarxiv.org