Abstract
Multi-modal Large Language Models (MLLMs) like GPT-4o and LLaVA have demonstrated impressive capabilities in processing both text and visual data. However, this multi-modality introduces new privacy risks. This paper introduces the MM-Privacy benchmark to systematically evaluate these vulnerabilities. Our findings reveal a "visual back door": while models often refuse to disclose private information in text-only prompts, they frequently leak sensitive data such as Social Security Numbers (SSNs) and emails when embedded in images or requested through indirect tasks like image captioning. We explore disclosure and retention risks across various interaction modes and training strategies, highlighting the need for task-aware mitigation.
Introduction: The Visual Back Door
While text-only Large Language Models (LLMs) have established safety filters to prevent the leakage of sensitive information, Multi-modal Large Language Models (MLLMs) introduce a unique vulnerability. A model might possess a robust safety filter that prevents it from repeating a Social Security Number (SSN) provided in a text prompt, yet that same filter often fails if the SSN is presented visually, such as in an image of a job application.
This "visual back door" suggests that MLLMs are essentially performing Optical Character Recognition (OCR) without the same level of safety alignment applied to their text-processing counterparts. This paper identifies a lack of systematic evaluation for these multi-modal privacy risks, specifically focusing on Disclosure Risks (immediate extraction from images) and Retention Risks (memorization during fine-tuning).
The MM-Privacy Benchmark
To address these gaps, we developed MM-Privacy, a comprehensive benchmark containing over 13,000 samples across four realistic domains: Hiring (job forms), Finance (loan applications), Verification (ID documents), and Open Context (generic images).
The dataset utilizes synthetic private identifiers (emails, phone numbers, SSNs) projected onto document templates. Furthermore, we employed Stable Diffusion to generate "contextually related" images (e.g., an image of a person stealing an envelope) to test if provocative visual contexts influence a model's likelihood of bypassing safety filters.
Methodology: Probing Privacy Vulnerabilities
Our evaluation framework probes models through five distinct interaction modes designed to test the boundaries of safety alignment:
- Directly Ask: Explicitly requesting the sensitive data from the image.
- Captioning: Asking for a description of the image that includes the sensitive data.
- Visual Question Answering (VQA): Asking specific questions about document details.
- Rephrasing: Requesting the model to rewrite a sentence containing the sensitive data.
- Classification: Asking the model to categorize the image using the sensitive info as a class name.
To evaluate Retention Risks, we tested three fine-tuning strategies—Supervised Fine-Tuning (SFT), Contrastive Learning, and QA-style learning—to determine which methods increase a model's tendency to "leak" data it was exposed to during training.
Key Results and Insights
Task Inconsistency
The most striking finding is that privacy is not a binary state. A model might refuse a "Direct Ask" but succumb to a "Captioning" or "Rephrasing" task. By shifting the model's focus from "privacy" to "utility," we successfully bypassed the safeguards of even top-tier models like GPT-4o.
Model Performance
We evaluated models using the Attack Success Rate (ASR) and Refuse Rate (RR). Even industry leaders like GPT-4o and GPT-4V showed non-trivial leakage. For instance, GPT-4o exhibited a 70% ASR on captioning tasks involving emails, despite refusing direct requests for the same information.
Open-source models like Idefics2 and LLaVA proved significantly more vulnerable, with Idefics2 showing an alarming 84% ASR on direct requests for phone numbers. While system prompts (instructing the model to be careful about PII) helped models like LLaVA-1.6, they had almost no effect on Idefics2, suggesting some models are fundamentally less "steerable."
Conclusion
Our research highlights that current MLLM safety alignments are insufficient against multi-modal extraction tasks. Supervised Fine-Tuning (SFT) was found to be particularly risky, causing models to overfit and memorize private data more aggressively than other methods. Future work must focus on "task-aware" mitigation strategies that understand when a utility-focused request (like captioning) is being used as a mask for unauthorized data extraction.
Summary updated