QPriv-VL: Question-Guided Token Pruning Privacy Defense for Vision-Language ModelsDon't Send What You Don't Need: Question-Guided Token Pruning as a Privacy Defense for Vision-Language Models
QPriv-VL uses question-guided dynamic pruning in distributed VQA to simultaneously reduce communication and privacy surface, with MIA on VQA-RAD decreasing from 0.99 to 0.76–0.79.
In distributed VQA (CL/FL/SL/USL), honest-but-curious or malicious servers can recover inputs, labels, or sensitive attributes from FL parameter updates or from smashed activations and returned gradients at SL/USL split layers. Attackers include actively hijacking FSHA, passively reconstructing FORA, membership inference MIA, and gradient-inversion iDLG. Clients prune visual tokens with the same QPriv-VL before the split layer.
- When VQA is deployed in privacy-sensitive, bandwidth-constrained scenarios, FL, SL, and USL keep raw data local, but layer splitting still requires transmitting all visual tokens, which is expensive in communication and vulnerable to feature inversion, gradient leakage, and membership inference attacks.
- QPriv-VL uses a Dynamic Threshold Predictor on the client side, before the split layer, with a single forward pass to simultaneously predict the per-sample pruning ratio and per-token retention mask, subtracting DINOv2 sensitivity from question relevance, and aligns the oracle pruning ratio via knowledge distillation.
- The authors state that DTP is comparable or better than fixed-ratio pruning as a defense while retaining more tokens; on VQA-RAD, MIA drops from 0.99 to 0.76–0.79, and FSHA and FORA reconstruction PSNR is below the linear fixed-ratio trend, with VQA accuracy still competitive at approximately 40% token budget.
- In the α, β ablation of Fig. 10, the authors report only VQA-RAD and SLAKE; the sensitivity teacher is trained with image-level privacy bags and is separated from the VQA loop. The paper does not list a dedicated Limitations section in the provided text.
- Evaluated models
- LLaVA-1.5-7BLlama-2
- Benchmarks
- GQAOKVQAVQAv2SLAKEVQA-RADPathVQACelebANIH Chest X-RayEuroSATMNISTCIFAR-10
- Metrics
- VQA accuracyASRPSNRsensitivity exclusion ratiohallucination raterefusal ratekept tokens
The authors propose QPriv-VL, a question-guided privacy-aware token pruning framework for federated learning, split learning, and U-shaped split learning, which prunes visual tokens before transmission according to task utility and privacy sensitivity. Its core is a lightweight Dynamic Threshold Predictor (DTP) that simultaneously estimates the sample-level pruning ratio and the token-level retention mask in one forward pass, combining cross-modal similarity between visual patches and question embeddings, along with sensitivity signals from frozen DINOv2 features, to suppress potentially sensitive regions without sensitivity labels.
Paper analysis
What problem does this paper attempt to solve?
Transmitting full visual tokens in distributed VQA is expensive and enlarges the attack surface; the authors use question-guided pruning before the split layer to simultaneously reduce communication and privacy leakage.
Distributed VQA transmits all visual tokens across the split layer, incurring high communication overhead, and intermediate activations and gradients are vulnerable to inversion and membership inference.
- Scenario: The authors argue that VQA is being deployed to privacy-sensitive, bandwidth-constrained environments such as multi-institution medical VQA and on-device assistance; large VLMs are difficult to run on-device. FL only aggregates updates, SL exchanges intermediate activations at the split layer, and USL adds a second split layer keeping labels and the question head on the client, but localizing raw data does not mean intermediate representations are safe.
- Existing limitations: The authors state that CLIP-ViT-L/14 produces 576 1024-dimensional visual tokens at 336×336, making cross-split-layer transmission costly; activations and gradient updates face feature inversion, gradient leakage, and membership inference, and existing activation-level defenses degrade utility and ignore that many tokens are irrelevant to the question. Question-guided pruning is mostly used as centralized inference acceleration; the authors state that, to their knowledge, it has not been used as a privacy defense nor jointly trained with content sensitivity; existing SL compression is mostly task-agnostic and does not use client question features.
- Core observation: The authors argue that only a subset of visual tokens need to cross the split layer; VLM analysis shows that after early language layers only a few visual tokens contribute, and transmitting the full prefix raises both communication and attack surface.
- Proposed method: QPriv-VL is a question-guided, privacy-aware token pruning framework built on LLaVA-1.5-7B, with the same decision mechanism used for centralized training (CL), FL, SL, and USL. The core is a lightweight Dynamic Threshold Predictor (DTP) that, in a single forward pass, provides both a per-sample pruning ratio and a per-token retention mask, trading off question relevance against content sensitivity from frozen DINOv2.
- Threat model:
- Goal: An honest-but-curious or malicious server recovers inputs, labels, or sensitive attributes from exchanged information.
- Knowledge and capability: FSHA replaces the legitimate server with an attacker-controlled module and hijacks training; FORA is a passive attack where the server collects smashed activations and trains an inverter on a public auxiliary set from the same domain; MIA trains shadow models and uses confidence to determine whether a sample was in the training set; iDLG matches observed gradients and resolves to recover labels, applicable to FL parameter updates and SL split-layer backpropagated gradients.
- Victim system: The client holds the image and question; FL transmits parameter updates, and SL/USL transmit split-layer activations and backpropagated gradients. QPriv-VL prunes tokens before they leave the client.
- Success criteria: The authors use reconstruction PSNR, MIA attack success, sensitive exclusion ratio, and post-pruning VQA accuracy to measure whether the defense removes reconstructable and privacy-relevant tokens, rather than simply dropping accuracy.
What related research exists?
Related work is divided into three lines: question-guided pruning, distributed privacy defenses, and self-supervised sensitivity; the authors state these were previously studied separately.
The authors place QPriv-VL at the intersection of centralized VLM pruning and distributed privacy, and separately use DINOv2 to provide label-free sensitivity signals.
Question-Guided and Adaptive Token Pruning
- FastV (Chen et al.)—prunes low-attention tokens in deeper LLM layers.
- SparseVLM, ATP-LLaVA, QG-VTC, CROP—use text-conditioned or question-conditioned per-sample budgets or token scores; CROP adapts retention to query-relevant regions.
- PyramidDrop, VisionZip, LLaVA-PruMerge—interleave dropping and progressive selection across LLM depth, or combine outlier selection with attention-guided merging. The authors state these methods show that two-thirds or more of visual prefixes are redundant for VQA, but decisions are made inside the LLM, only for centralized inference acceleration; they are not placed before the network boundary, nor jointly trained with content sensitivity, nor measure impact on inversion and membership inference attackers.
Privacy and Compression in Distributed Learning
- FSHA (Pasquini et al.), FORA (Xu et al.), DLG/iDLG, MIA (Shokri et al.)—respectively actively align and invert from smashed activations, passively invert in-domain, invert via gradient matching, and perform membership inference with shadow model confidence. The authors treat these four as the attack families evaluated in this paper.
- NoPeek, DP-CutMixSL, PATROL—mitigate leakage via distance correlation regularization, sample mixing, or channel pruning. The authors note that FSHA's alignment objective can overwhelm the distance regularized by distance-correlation defenses.
- BottleNet, ADC compress activation bandwidth; FedMultimodal, pFL-MedVQA, BiCSL do multimodal FL or SL+FL for VQA. The authors state these works do not exploit question semantics, or have contrastive privacy objectives but do not do token pruning, so the visual prefix and its reconstructable surface are still transmitted in full.
Self-Supervised Representations and Interpretability Tools
- DINO, DINOv2—learn object-aware patch representations without labels, transferable to natural and medical images. The authors adopt frozen DINOv2 as the sensitivity branch.
- Chefer et al.'s transformer attention propagation, and deletion-based probes, are used by the authors to check whether pruning reflects question-driven reasoning rather than general saliency.
Baseline Methods and Benchmarks
- Baselines: no pruning (ρ=0), fixed pruning ratios ρ∈{0.3, 0.5, 0.7, 0.9}, and oracle grid search with a random-initialized scorer during training. Training paradigms are CL, FL, SL, USL.
- Benchmarks: general domain GQA, OKVQA, VQAv2; medical domain SLAKE, VQA-RAD, PathVQA. The sensitivity teacher additionally uses CelebA, NIH Chest X-Ray, EuroSAT (positive bags) and MNIST, CIFAR-10 (negative bags); these labels do not enter the VQA loop.
The authors state that prior work studies question-guided pruning, privacy-preserving SL/FL, and self-supervised sensitivity separately; QPriv-VL combines question-guided pruning, learned per-sample ratios with token-level retention masks, and DINOv2 patch sensitivity, and provides a unified evaluation across four training settings against four attack types.
How does the paper address this problem?
DTP fuses question utility and DINOv2 sensitivity in one forward pass, distills a per-sample pruning ratio and soft retention mask, then applies top-k with a lower bound.
QPriv-VL is placed between the frozen vision–language encoder and the LLaVA multimodal projector, using the same QGTP decisions to determine how many and which visual patches are transmitted, thereby blocking question-irrelevant or privacy-sensitive content. Only the language-side LoRA is trained downstream; the pruning module remains fixed.
Problem Setting and Three Strategies
- Input and Position: Image–question pairs first pass through the frozen encoder; pruning occurs on the client side, before layer splitting. All four paradigms share the same backbone, LoRA, and optimization schedule, differing only in how models and data are partitioned.
- Three Strategies: Off (ρ=0, no-defense baseline), fixed ρ∈{0.3, 0.5, 0.7, 0.9}, or DTP. After selecting a ratio, top-k is applied to utility scores. Safety floor kmin=16 ensures the answer generator sees at least a small amount of image context.
- Splitting: SL splits at layer C=16 of the Llama-2-7B decoder; the client owns [0, C), QPriv-VL, the projector, and embeddings; the server owns [C, L) and the LM head, with L=32. USL splits at CA=8 and CB=24; the server sees only the two split-layer activations, not the original image, question, answer labels, or LM head logits.
Utility Branch and Sensitivity Branch
- Utility: CLIP-V provides N=576, Dv=1024 patches (24×24) and a pooled image vector; CLIP-T provides a Dt=768 question vector. After unbiased projection to P=256, scaled dot product and sigmoid yield per-patch question relevance scores ub,n. The formula is ub,n=σ(qb⊤ Kb,n/√P), representing the alignment between the question and that patch.
- Sensitivity: Frozen DINOv2 provides Dd=384 patches on a 16×16 grid. The sensitivity head is an MLP of 384→128→128→1 (GELU), outputting a (0,1) score, bilinearly upsampled to the CLIP grid.
- Fusion: cb,n = α ub,n − β s_aligned, soft mask mb,n = σ(γ cb,n). α=β=1 is a fixed buffer, γ is learnable and initialized to 3.0. During training, the soft mask is a differentiable distillation target; at inference, it is replaced by discrete top-k.
DTP: Threshold and Knowledge Distillation
- Threshold Head: Concatenates pooled image, question vector, and sensitivity summary (mean, max, proportion above 0.5) into xb∈R^1795, passed through an MLP of 1795→512→512→1 to output per-sample pruning ratio ρ̂b, the only sample-level variable at inference. DTP has approximately 1.7M parameters, of which MLPτ is about 1.18M and scoring projections about 459K.
- Data Preparation: Up to 3000 entries per VQA set. Oracle search over G={0.10, 0.20, 0.30, 0.50, 0.70} finds the smallest ρ that still matches the gold answer via first-token substring matching; if no match, ρ⋆b=1.0. Search is capped at 500 entries per dataset, ranking uses a fixed random-initialized scorer.
- Teacher: Hsens is trained on Dpriv image-level labels with binary cross-entropy for 10 epochs (AdamW, lr 3×10^−4); then Hsens is frozen, and MLPτ regresses oracle ratios on Dvqa for 20 epochs. The student initializes from the teacher's Hsens and MLPτ, with Wq, Wk random, γ=3.0, trained end-to-end for 20 epochs with LKD = λρ Lρ + λm Lm (λρ=λm=1, AdamW, lr 3×10^−4, cosine annealing, batch 128). Lρ fits both teacher ratios and hard oracle.
- Retained Count: kb = max(kmin, round((1−ρb)N)), then top-k by utility score. The authors give the distillation rationale: the oracle requires per-sample grid search and only falls on a discrete grid, and the privacy teacher's Dpriv student is unavailable, so it cannot directly serve as a unified differentiable supervision.
Training Configuration and Success Criteria
- CL: A single trainer holds all data, using mini-batch SGD with gradient accumulation to update LoRA. FL: NC clients hold non-overlapping shards, train Tl micro-batches locally, then FedAvg; no optimizer state is shared. SL: Each round, NC clients sequentially train against a shared server, layer splitting uses forward hooks, preserving rotary position encoding and causal mask. USL: Client head and tail LoRA are private, server body LoRA is shared, each client has independent AdamW state. LoRA rank 32, applied to seven attention and MLP projections per layer; base LLaVA and QPriv-VL are frozen.
- Probes: Irrelevant-question probes pair test images with cross-image questions, artificial nonsense questions, and false-premise questions; responses containing refusal or uncertainty phrases from the curated set R are counted as refusals, other non-empty responses as confabulations. Sensitivity exclusion ratio is the average sensitivity of pruned patches divided by the average sensitivity of retained patches; greater than 1 indicates preferentially removing high-sensitivity regions. Privacy subsets are ranked by patch maximum DINOv2 sensitivity and take top-N.
What experiments did the paper conduct?
The authors evaluate pruning on six VQA sets and four training paradigms, and examine privacy and accuracy using FSHA, FORA, iDLG, MIA, and α, β ablations.
Experimental setup
- Model: The reference architecture is LLaVA-1.5-7B, with CLIP-ViT-L/14 on the vision side and a Llama-2 decoder on the language side (one background passage says Vicuna, the method section says Llama-2-7B, L=32). The sensitivity branch is frozen DINOv2. DTP has approximately 1.7M learnable parameters; downstream training uses only rank-32 LoRA.
- Data: GQA, OKVQA, VQAv2, SLAKE, VQA-RAD, PathVQA, with at most 3000 samples each for DTP preparation; oracle search uses at most 500 per episode. Dpriv uses positive bags CelebA, NIH Chest X-Ray, EuroSAT and negative bags MNIST, CIFAR-10, supervising only Hsens.
- Paradigms and baselines: CL, FL, SL (C=16), USL (CA=8, CB=24). Strategies are pruning disabled, fixed ρ∈{0.3, 0.5, 0.7, 0.9}, and DTP.
- Attacks: FSHA, FORA, iDLG, attribute-inference MIA, covering general-domain and medical VQA. The abstract describes defense using reconstruction PSNR and MIA attack success.
- Metrics: VQA accuracy, average retained tokens, MIA attack success, PSNR for FSHA/FORA, sensitivity exclusion ratio, closed-set exact match and open-ended QA recall, and hallucination rate and refusal rate. The paper does not specify in the provided text the review model, ASR threshold, NC, Tl, or number of repetitions.
- Fig. 10 setup: Varying fusion weights (α, β), LoRA fine-tuning on VQA-RAD and SLAKE under the same schedule, learning rate, and early stopping, reporting test accuracy and average retained tokens per image.
Main results
The main numbers from the abstract are as follows (tables in the later part of the text were misaligned during conversion and cannot be reliably transcribed, so those cells are not filled).
Swipe horizontally to read the table
Setting Metric Result Source VQA-RAD, QPriv-VL/DTP MIA attack success Decreases from 0.99 to 0.76–0.79 Abstract DTP Sensitivity exclusion ratio 1.20 ± 0.18 Abstract Approximately 40% of original token budget VQA accuracy Authors say still competitive Abstract FSHA, FORA Reconstruction PSNR Authors say below the linear fixed-ratio trend Abstract - The authors state that DTP as a defense is comparable to or better than fixed-ratio pruning while retaining significantly more tokens.
- The authors state that the exclusion ratio of 1.20±0.18 indicates DTP preferentially removes privacy-sensitive patches; interpretability analysis supports that retention varies with question semantics rather than general saliency.
- The four research questions ask: whether communication, attack surface, and accuracy can be simultaneously reduced across four learning settings; whether dynamic thresholds outperform fixed-ratio or training-free pruning; whether tokens that are reconstructable and privacy-relevant are specifically removed; and whether interpretability can validate this.
Utility–privacy weight ablation
- What was measured: Fig. 10 sweeps accuracy and average retained tokens on VQA-RAD and SLAKE over α from 0 to 1 (horizontal axis in the figure, with the β side labeled as the =1 quantity). The authors write that the best point is at α=0, where ranking is determined entirely by the privacy sensitivity signal βs.
- Results: VQA-RAD accuracy is 0.566 at α=0 and 0.527 at α=1; SLAKE is 0.817 and 0.774, respectively. Average retained tokens are approximately 220–224 on VQA-RAD and 256–262 on SLAKE, nearly unchanged with α. In the figure, the token axis for VQA-RAD is approximately 220–223.5 and the accuracy axis approximately 0.51–0.56; for SLAKE the token axis is approximately 256–262 and the accuracy axis approximately 0.76–0.82.
- The authors' interpretation: The authors believe that sensitivity-aware ranking retains diagnostically relevant regions and discards irrelevant or noisy content that utility ranking tends to keep; ρ̂ is mainly controlled by the global prediction input, and the trade-off comes from the ranking criterion rather than the number of retained tokens.
Qualitative and probe design
- Fig. 2 depicts the frozen encoder, utility branch, sensitivity branch, differentiable mask, threshold keeper, and pruning decisions (off / fixed / DTP), along with the safety floor of 16.
- Fig. 1 illustrates four attack types: FSHA's fake server and discriminator, FORA's curious server and inverter, MIA's shadow model and confidence rule, and iDLG matching updates from a noise initialization.
- The definitions of the irrelevant-question probe and sensitivity exclusion ratio are given in the method section; the provided text segments do not list numerical tables for these two items. One VQAv2 example in a figure is labeled kept = 565/576 (98%), max sp = 0.80, with the question about the object held by the person in the image and the answer book.
Other ablations and analyses
- Oracle grid G={0.10, 0.20, 0.30, 0.50, 0.70}, with ρ⋆=1.0 on matching failure, search limit 500 per episode.
- Teachers: Hsens 10 epochs, MLPτ 20 epochs; student KD 20 epochs, λρ=λm=1, batch 128.
- kmin=16; SL splits at layer 16, USL splits at layers 8 and 24.
- α=β=1 is the default buffer; Fig. 10 shows α=0 gives higher accuracy than α=1 on both medical sets, with retained token counts nearly unchanged.
- In the sensitivity exclusion ratio definition, values greater than 1 indicate preferential removal of high-sensitivity patches; the abstract reports DTP as 1.20±0.18.
- Negative or weak results reported in the paper: pure utility ranking at α=1 is lower than α=0 on VQA-RAD (0.527) and SLAKE (0.774); MIA in the abstract remains 0.76–0.79 after defense, not reduced to near zero. The authors give no additional explanation for the latter.
What are some points that can be further explored?
The provided text has no separate limitations section; the scope stated in the experiments is six VQA sets, four paradigms, and four attack types.
Limitations and future directions noted by the authors
The paper does not have a dedicated limitations section. The conclusion paragraph of the provided text was truncated during conversion; Section VII is only mentioned in the introduction, with no verifiable original sentences on limitations or future work. The statement near Fig. 10 that α=0 outperforms α=1 is an interpretation of results, not a limitation flagged by the authors.
Experimental coverage
- The backbone tested is LLaVA-1.5-7B, with training paradigms CL, FL, SL, and USL (Section II-C, Section V-C, Fig. 3).
- VQA benchmarks are GQA, OKVQA, VQAv2, SLAKE, VQA-RAD, and PathVQA, with at most 3000 samples each for DTP preparation and at most 500 per episode for oracle search (Section V-A).
- Attack families are FSHA, FORA, iDLG, and MIA (including attribute-inference MIA from the abstract), see Section II-D and the abstract.
- Weight ablation Fig. 10 reports accuracy and average retained tokens for the α sweep on VQA-RAD and SLAKE; the sensitivity teacher uses image-level bag labels and does not enter the VQA loop.
- The paper does not report the number of clients NC, local steps per round Tl, attack query counts, number of repetitions, or agreement between hallucination/refusal probes and human judgment.
Summarize the main content of the paper
QPriv-VL prunes visual tokens before layer splitting according to question relevance and DINOv2 sensitivity; the authors state that it can maintain accuracy and handle four types of attacks at about 40% of the tokens.
QPriv-VL turns question-guided visual token pruning into a client-side privacy defense for distributed VQA, rather than only centralized inference acceleration.
- Problem: FL, SL, and USL keep raw images local but still transmit the full visual prefix. CLIP-ViT-L/14 has 576 1024-dimensional tokens at 336×336; these activations and gradients can be exploited by FSHA, FORA, iDLG, and MIA. The authors argue that many tokens are irrelevant to the current question.
- Method: Freeze CLIP and DINOv2. The utility branch scores with question–patch scaled dot product, and the sensitivity branch uses MLP scores of DINOv2 patches. The fusion is utility minus sensitivity. DTP predicts the per-sample pruning ratio and soft retention mask in one forward pass, aligns the oracle minimal usable pruning ratio via teacher–student distillation, performs top-k at inference, and retains at least 16 tokens. The same module is used for CL, FL, SL (split at layer 16), and USL (split at layers 8 and 24). Only LoRA is updated downstream.
- Results: The authors state that DTP is comparable to or better than fixed-ratio defenses while retaining more tokens; VQA accuracy remains competitive at roughly 40% of the original token budget. On VQA-RAD, MIA drops from 0.99 to 0.76–0.79. FSHA and FORA reconstruction PSNR is described by the authors as below the linear fixed-ratio trend. The sensitive exclusion ratio is 1.20±0.18. In Fig. 10, with α=0, VQA-RAD accuracy is 0.566 and SLAKE is 0.817, higher than α=1 at 0.527 and 0.774, with average retained tokens around 220–224 and 256–262, respectively.
- Authors' conclusion: The authors argue that sensitivity-aware ranking is more suitable for medical VQA because the trade-off comes from "which tokens to keep" rather than "how many to keep"; interpretability cases support retention that varies with question semantics. The authors frame the framework as both a communication compression layer and a privacy defense.