Watch Out Your Album! On the Inadvertent Privacy Memorization in Multi-Modal Large Language Models

Tianjie Ju, Yi Hua, Hao Fei, Zhenyu Shao, Yubin Zheng, Haodong Zhao, Mong-Li Lee, Wynne Hsu, Zhuosheng Zhang, Gongshen Liu · OpenReview

Abstract

Multi-Modal Large Language Models (MLLMs) have exhibited remarkable performance on various vision-language tasks such as Visual Question Answering (VQA). Despite accumulating evidence of privacy concerns associated with task-relevant content, it remains unclear whether MLLMs inadvertently memorize private content that is entirely irrelevant to the training tasks. In this paper, we investigate how randomly generated task-irrelevant private content can become spuriously correlated with downstream objectives due to partial mini-batch training dynamics, thus causing inadvertent memorization. Concretely, we randomly generate task-irrelevant watermarks into VQA fine-tuning images at varying probabilities and propose a novel probing framework to determine whether MLLMs have inadvertently encoded such content. Our experiments reveal that MLLMs exhibit notably different training behaviors in partial mini-batch settings with task-irrelevant watermarks embedded. Furthermore, through layer-wise probing, we demonstrate that MLLMs trigger distinct representational patterns when encountering previously seen task-irrelevant knowledge, even if this knowledge does not influence their output during prompting.

Introduction

As Multi-Modal Large Language Models (MLLMs) are increasingly fine-tuned on massive, diverse datasets, concerns regarding data privacy have intensified. Most existing research focuses on task-relevant privacy—sensitive information that is directly related to the model's objective, such as a credit card number in a text summarization task. However, images used for training often contain "task-irrelevant" private content, such as photographer watermarks, usernames in UI screenshots, or metadata. This study explores whether MLLMs inadvertently memorize this background noise even when it has zero correlation with the actual training objective.

The Mechanism of Inadvertent Memorization

The researchers hypothesize that inadvertent memorization stems from the dynamics of mini-batch training. In a global dataset, a random watermark is merely noise. However, within a small "mini-batch" (e.g., 4 or 8 images), a specific watermark might accidentally align with certain target answers. High-capacity MLLMs are exceptionally proficient at pattern matching and may treat this noise as a valid signal, creating spurious correlations that bake private data into the model's weights.

Overview of inadvertent privacy memorization during mini-batch training, showing how models focus on task-irrelevant watermarks.

As shown in the figure above, attention maps reveal that models often focus on these irrelevant watermarks during training. Gradient analysis further confirms that the model expends optimization effort to encode these patterns, leading to a state where the model "recognizes" the data internally even if it does not output it during standard inference.

Methodology: The Probing Framework

To detect this hidden memorization, the authors developed a novel probing framework. The process involves:

  1. Data Generation: Using GPT-4 to generate synthetic private data (usernames and user IDs).
  2. Watermarking: Embedding these as task-irrelevant watermarks into standard VQA images (e.g., COCO, GQA).
  3. Fine-tuning: Training models like LLaVA-1.5 and Qwen-VL on these images where the watermark is irrelevant to the question asked.
  4. Layer-wise Probing: Training "probing classifiers" on the model's internal hidden states to determine if the internal representations differ when encountering "seen" vs. "unseen" private content.
The proposed probing framework, illustrating the pipeline from synthetic data generation to internal representation probing.

Key Results and Insights

High Probing Accuracy

The study found that probing classifiers could distinguish between seen and unseen private content with over 90% accuracy in the middle and upper layers of the MLLMs. This suggests that the models have effectively "memorized" the task-irrelevant information within their internal representations.

Silent Privacy Leaks

Crucially, embedding these watermarks had a negligible impact on the model's actual VQA performance. This makes the privacy leak "silent"; standard quality checks would not indicate that the model is overfitting to sensitive background noise. Furthermore, traditional Membership Inference Attacks (MIAs) failed to detect this memorization, highlighting the need for representation-based audits.

Hidden Multi-Hop Reasoning

Perhaps most surprisingly, the models demonstrated an internal ability to link usernames to their corresponding IDs. Probing accuracy for IDs remained high even when the IDs themselves were not present during the testing phase, indicating that the model internally associated the two pieces of private information during the training process.

Impact of Scale and Batch Size

  • Model Size: Larger models (e.g., 13B parameters vs. 7B) were found to be more sensitive to these subtle privacy signals, suggesting that the risk of inadvertent memorization grows as models scale.
  • Batch Size: Smaller batch sizes significantly increased the risk of memorization, as they provide more opportunities for random noise to appear as a meaningful pattern within a single update step.

Conclusion

This research demonstrates that MLLMs do not just learn the tasks they are assigned; they also inadvertently absorb "background noise" from their training data. While this information is currently difficult to extract via simple prompting, its presence in the model's internal weights poses a significant privacy risk. Future work must focus on developing robust privacy-preserving training techniques and establishing safe batch-size thresholds to mitigate these spurious correlations.

Summary updated

BibTeX
@inproceedings{ju2025watch,
  author = {Tianjie Ju and Yi Hua and Hao Fei and Zhenyu Shao and Yubin Zheng and Haodong Zhao and Mong-Li Lee and Wynne Hsu and Zhuosheng Zhang and Gongshen Liu},
  title = {{Watch Out Your Album! On the Inadvertent Privacy Memorization in Multi-Modal Large Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=vSzcsYucCW},
}
Figure