SecretAgent: A Multi-Agent Framework for Privacy Protection against Vision Language Models
Organizations: Harvard University
Abstract
Vision-language models (VLMs) can infer private information from shared images, including locations, personally identifiable information (PII), and personal attributes such as age and sex, even from medical images. Adversarial perturbations can protect such information against black-box VLMs, but existing methods overlook image quality and introduce visible artifacts into the images they protect. We present SecretAgent, the first general multi-agent framework that protects image privacy against VLMs while preserving visual fidelity. LLM agents iteratively locate the visual evidence that reveals private information and adapt an invisible perturbation to the target VLM's answers and to an appearance reviewer agent, which rejects any candidate with visible artifacts. We instantiate SecretAgent with two complementary variants: SecretAgent-Gradient optimizes the perturbation through six surrogate encoders for cross-model transferability, and the gradient-free SecretAgent-Tool composes procedural noise and achieves the best perceptual fidelity on three of the five datasets. Experiments on four privacy applications (geolocation, PII, facial, and medical) across five datasets and six VLMs show that SecretAgent preserves image quality substantially better than existing methods while achieving state-of-the-art privacy protection in every application, and that its protection transfers to other VLMs.
Figures & tables
| Claude 5.5 | GPT 6 | Qwen 3.8 | Gemma 4 | DeepSeek V4.1 | PSNR | MS-SSIM ×100 | LPIPS | DISTS | LLM judge | |
| Accuracy | Accuracy | Accuracy | Accuracy | Accuracy | ||||||
| Original image | 81.54 | 58.46 | 74.36 | 83.59 | 81.54 | 100.00 | 0.00 | 0.00 | — | |
| M-Attack [ 35 ] | 80.51 | 56.92 | 76.92 | 83.08 | 78.97 | 39.61 | 98.33 | 45.87 | 56.25 | 63.58 |
| AnyAttack [ 74 ] | 81.03 | 58.97 | 76.41 | 82.56 | 80.51 | 37.28 | 97.83 | 43.24 | 55.75 | 47.98 |
| FOA-Attack [ 26 ] | 77.95 | 56.92 | 75.90 | 82.05 | 78.97 | 40.17 | 98.49 | 41.08 | 48.93 | 65.32 |
| MPC-Attack [ 34 ] | 80.51 | 58.46 | 74.87 | 83.59 | 82.05 | 41.54 | 98.71 | 31.67 | 46.02 | 82.08 |
| Method | Backbone | Claude 5.5 | GPT 6 | Qwen 3.8 | Gemma 4 | DeepSeek V4.1 | Image quality | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc. | Acc. | Acc. | Acc. | Acc. | PSNR | A4 reject. | |||||
| Original image | — | 81.54 | 58.46 | 74.36 | 83.59 | 81.54 | 100.00 | 0.00 | 0.00 | — | |
| SecretAgent -Gradient | Target | Cross-model transfer | |||||||||
| GPT 6 | 71.28 | 53.85 | 72.31 | 81.03 | 78.97 | 54.97 | 99.97 | 0.64 | 1.61 | 0.98 | |
| Claude 5.5 | 68.72 | 53.85 | 75.38 | 82.56 | 80.00 | 54.97 | 99.97 | 0.76 | 1.76 | 1.16 | |
| Qwen 3.8 | 71.79 | 53.85 | 76.92 | 83.08 | 82.56 | 54.61 | 99.96 | 0.94 | 2.15 | 1.97 | |
| ( ) | Acc. | Image quality | ||||
|---|---|---|---|---|---|---|
| A4 reject. | ||||||
| SecretAgent -Gradient | ||||||
| 1 | 73.85 | 64.01 | 100.00 | 0.06 | 0.26 | 0.12 |
| 2 | 72.31 | 59.13 | 99.99 | 0.20 | 0.68 | 0.29 |
| 4 | 71.28 | 54.97 | 99.97 | 0.64 | 1.61 | 0.98 |
| 6 | 70.77 | 52.56 | 99.96 | 1.15 | 2.33 | 3.06 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Variant | Input | Output | API cost |
|---|---|---|---|
| k tokens | k tokens | $/image | |
| MultiTrust P5 | |||
| Gradient | 261.61 | 19.32 | 0.0408 |
| Tool | 563.45 | 39.75 | 0.0859 |
| Pri-Street-View | |||
| Gradient | 449.91 | 34.60 | 0.0711 |
Privacy Protection in VLMs
Privacy protection in vision-language models limits sensitive information exposure while preserving useful image understanding and multimodal reasoning.
See all 48 papers