Query-Guided Visual Minimization for Selective Disclosure to Cloud VLMs

Pedram Zaree, Kleomenis Katevas, Vandana Rajan, Nael Abu-Ghazaleh, Hamed HaddadiarXiv 2026

TL;DR

When you ask a cloud-hosted AI a simple question about a photo—like "what color is this jacket?"—you also hand over everything else in the frame: faces, name badges, and background clues that can pinpoint your exact location. This paper introduces QGVM (Query-Guided Visual Minimization), a lightweight local gatekeeper that redacts everything the cloud model doesn't strictly need to answer your specific question. Unlike blunt-force anonymizers that always blur faces or text, QGVM dynamically keeps a name badge readable if you ask to read it, and blacks it out when you don't.

What Problem Does This Paper Address?

Cloud-based Vision-Language Models (VLMs) are far more capable than the tiny models we can comfortably cram onto our phones. The catch? Using them means sending raw photos past your local trust boundary. Even innocent snapshots leak explicit secrets (faces, documents, screens) and implicit ones (a street sign or skyline that lets an AI geolocate you within kilometers).

Existing privacy defenses stumble in two opposite ways:

  1. Query-agnostic anonymization blindly scrubs all faces and text, ruining utility the moment you actually want the AI to read a document or badge.
  2. Visual grounding crops the image down to the "relevant" object. Yet relevance is not necessity: if you ask for a car's color, cropping to the car still exposes its license plate.
Figure 1. Query-guided visual minimization. The same image requires different disclosure depending on the query: identifying a jacket’s color does not require revealing the wearer’s face or badge, whereas reading the badge requires preserving its content. QGVM selectively protects unnecessary sensitive information, in- cluding within query-relevant regions, before cloud inference. The right panel contrasts QGVM with full-image transmission, query- agnostic redaction, and relevance-only selection.

The authors tackle a clear gap: how do we build a fast, local preprocessor that strips away unnecessary private details—even inside relevant regions—without modifying or querying the black-box cloud model?

Methods

QGVM is a training-free, four-stage local pipeline built from frozen, off-the-shelf models that outputs a pixel-level binary mask (every pixel sent to the cloud is either untouched or pure black):

Figure 2. Overview of QGVM. Query grounding (A) localizes task-relevant content, while an independent inventory (B) detects potentially sensitive content. Query necessity (C) determines which sensitive types, instances, and text details are required. Layered rendering (D) produces the minimized image. Only the minimized image, query, and removal note cross the cloud trust boundary. Plate characters are obscured solely for publication.
  • A. Query Grounding (Standard): Grounding DINO locates bounding boxes relevant to the user's prompt.
  • B. Sensitive Inventory (Standard): Independently, object detectors (YOLOE), face detectors (InsightFace), and OCR (EasyOCR) scan the image to catalog potential leaks: faces, plates, screens, documents, tattoos, medical labels, and text.
  • C. Three-Level Necessity Estimation (Novel): Instead of feeding raw pixels to a heavy multimodal model, QGVM uses a tiny, text-only model (Qwen2.5-1.5B) and spatial geometry to judge necessity across three levels:
  • Type: Looking only at the user's query, does answering require a face, plate, or text?
  • Instance: Using bounding-box overlap, which specific person or object is the query talking about?
  • Content: If text necessity is uncertain, the text-only LLM reads the extracted OCR strings alongside the query to keep only the exact strings needed.
  • D. Layered Rendering (Novel): QGVM suppresses the background (unless it's a whole-scene query), blacks out sensitive items from largest to smallest, and paints back only the explicitly required details. For example, a car stays visible, its license plate is blacked out, or a single needed text line is restored on an otherwise redacted document. Finally, it attaches a short text note telling the cloud VLM that black regions were intentionally removed.

Datasets

Because QGVM relies on frozen models, no training datasets are used. For evaluation, the authors combine existing datasets with newly curated, human-reviewed privacy benchmarks:

  • Extended DoxBench: 256 image–query cases (149 images) extended with query-specific privacy annotations to test non-geographic visual Q&A alongside inferential geolocation attacks.
  • Scene-Privacy (New): 186 human-reviewed cases (65 images) built to test direct face re-identification and private-text recovery alongside VQA utility.
  • Paired-Query Evaluation (New): 99 query pairs across 34 images where one question requires a sensitive target and the other doesn't, directly testing dynamic switching.
  • Generalization & Grounding Benchmarks: Held-out BIV-Priv-Seg (private text in assistive scenes), OSV-5M (street-view geolocation), PrivScreen-450 (screenshots), RefCOCOg, and PointArena.

Key Insights and Ideas

  • Where to look $\neq$ what to show: Simply cropping to a grounded target leaves huge privacy holes—allowing 57.4% face re-identification on Scene-Privacy. Separating spatial relevance from information necessity is what closes the loop.
  • A tiny text-only brain beats a bigger multimodal redactor: Asking a 7B VLM ("VLM-as-redactor") to look at the image and decide what to hide actually performs worse on both utility and privacy than QGVM's staged pipeline using a 1.5B text-only LLM.
  • Polite notes prevent cloud confusion: Adding a simple prompt note explaining that black boxes are intentional redactions boosted downstream answer preservation on OSV-5M from 67.4% to 82.6%.
  • Two distinct shields: Ablations show background suppression does the heavy lifting against inferential geolocation, while staged necessity estimation protects explicit secrets (faces, text) inside the foreground.

Key Results

Evaluated across local models and frontier cloud VLMs (Claude Opus 5.5 and OpenAI GPT-6.1 Sol), QGVM sits on the privacy–utility Pareto frontier:

Privacy-utility trade-offs across geolocation, face re-ID, and text recovery
  • High Utility, Low Geolocation Leakage: On DoxBench with GPT-6.1 Sol, QGVM hits 85.3% answer correctness (beating the PGP baseline's 77.5% and even edging out unprotected images at 82.6%), while slashing 1 km geolocation attack success from 25.7% (unprotected) down to 5.8%.
  • Identity & Text Protection: On Scene-Privacy, QGVM drops face re-identification to 4.5% (vs. 98.9% unprotected, 57.4% crop-to-target, and 27.7% PGP) while maintaining 86.5% Sol accuracy. On held-out BIV-Priv-Seg, unnecessary private-text recovery drops from 33.9% (PGP) to 15.3% (trading off 6.0 percentage points in answer preservation).
  • Dynamic Switching: On paired queries, QGVM achieves a 69.6% Correct Disclosure Switch Rate—retaining targets when needed and hiding them when not—crushing crop-to-target (29.1%) and PGP (51.3%).
  • Practical Footprint: On an NVIDIA A10 GPU, QGVM peaks at just 2.80 GiB of VRAM (vs. 16.0 GiB for a local 7B VLM) with a median latency of 1.11 seconds.

Limitations and Future Work

  • No formal privacy guarantees: QGVM is an empirical heuristic, not differential privacy; if an image contains sensitive info that is genuinely required to answer the query, QGVM assumes it is eligible for disclosure.
  • Mistakes in necessity scoring: Tracing 218 failures revealed that 68% of reading errors stemmed from the necessity estimator being too strict or missing a required category, while 28 of 30 private-text leaks came from necessity false positives.
  • Attacker-dependent location privacy: While QGVM significantly thwarts GPT-6.1 Sol geolocation, differences against simpler cropping or PGP baselines shrink under other attackers like Claude Opus 5.5 or GeoCLIP.
  • Hardware overhead: Running tiled OCR and zoomed face audits dominates the 1.11s runtime, meaning true mobile deployment remains an open engineering step rather than an out-of-the-box victory.

Summary updated

Abstract

Cloud-hosted vision-language models (VLMs) require sending images beyond the user's local trust boundary, potentially exposing sensitive information the query does not need. We study query-guided visual minimization: a trusted local transformation preserves query-relevant visual content and reduces unnecessary disclosure before transmission. Unlike query-agnostic anonymization, it preserves the same sensitive content when the query requires it and suppresses it otherwise. We introduce QGVM, a framework that combines query grounding with an independent sensitive-item inventory, determines disclosure necessity at the type, instance, and text-content levels, and renders a minimized image for a black-box downstream VLM. We evaluate QGVM on complementary benchmarks measuring task utility, directly recoverable sensitive information, and inferential geolocation leakage. With OpenAI GPT-6.1 Sol, QGVM achieves 85.3% DoxBench answer correctness versus 77.5% for PGP, while a separately prompted Sol geolocation attacker succeeds within 1 km on 5.8% of QGVM images versus 25.7% of unprotected images. On Scene-Privacy, QGVM reduces face re-identification from 27.7% (PGP) to 4.5%. On held-out BIV-Priv-Seg, unnecessary private-text recovery falls from 33.9% (PGP) to 15.3%. To verify that disclosure is query-dependent, we evaluate paired queries that either require or do not require the same sensitive information. QGVM achieves 69.6% correct disclosure switching, compared with 29.1% for grounding-only cropping. These findings highlight the value of distinguishing visual relevance from disclosure necessity, while revealing the privacy-utility trade-offs of selective visual disclosure.
BibTeX
@misc{zaree2026query,
  author = {Pedram Zaree and Kleomenis Katevas and Vandana Rajan and Nael Abu-Ghazaleh and Hamed Haddadi},
  title = {{Query-Guided Visual Minimization for Selective Disclosure to Cloud VLMs}},
  year = {2026},
  eprint = {2611.32302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32302},
}
Figure