Manuscript Offprint

arXiv:2610.17332

COMPASS: Membership Inference Attack Against Vision Large Language Models via Adaptive Noise Calibration

Damien Lo, Hong Kyu Lee, Ruixuan Liu, Li Xiong

ABSTRACT

Vision large language models (VLLMs) are increasingly deployed in privacy-sensitive domains, raising concerns about the exposure of their training data. The strongest existing gray-box membership inference attacks (MIAs) against VLLMs commonly rely on entropy statistics or generated descriptions, requiring costly response generation while providing limited membership separation. In contrast, perturbation-based methods measure how model response changes when images are perturbed, but have mainly focused on large perturbations, leaving VLLM membership behavior under smaller perturbations poorly understood. In this work, we systematically characterize VLLM membership behavior under controlled Gaussian perturbations across the full range of noise levels at fine resolution. Our analysis reveals that both the optimal perturbation magnitude and the direction of the membership signal vary across model–dataset pairs. For many settings, a previously unstudied low-noise regime produces stronger separation than large perturbations, with members exhibiting lower divergence than non-members and thereby reversing the conventionally observed score direction. Other settings retain the conventional direction, demonstrating that neither a fixed perturbation magnitude nor a predetermined score orientation is universally reliable. Motivated by this finding, we propose COMPASS, an adaptive gray-box MIA that calibrates both the perturbation magnitude and membership-score direction using a loosely distribution-matched, known non-member reference set. We instantiate COMPASS using Rényi-normalized KL divergence and Rényi divergence, with max-k aggregation over the most informative image-logit positions. Across LLaVA v1.5–7B, MiniGPT-4, and HuluMed-32B, spanning pretraining, instruction-tuning, and medical-image datasets, COMPASS consistently outperforms baselines. Under general-domain evaluations, COMPASS achieves AUCs of up to 0.88. On the distribution-matched medical evaluation, it reaches 0.64 AUC, while the strongest baseline remains at chance-level. These results establish full-range adaptive perturbation analysis as an effective approach to VLLM membership inference.

1 INTRODUCTION

Vision large language models (VLLMs) have demonstrated exceptional ability on multi-modal tasks such as image question answering Hartsock & Rasool (2024); Khan & Fu (2024), medical diagnosis Bazi et al. (2023); Guo & Terzopoulos (2024), and reasoning problems Nagar et al. (2024); Chen et al. (2024a); Dong et al. (2025). This rapid advancement raises concerns about data privacy, especially when these models are trained on private or copyrighted images Samson et al. (2024). VLLMs can memorize these data within their parameters and expose them through inference-time behavior Jayaraman et al. (2024). The image modality is particularly concerning, as training images can be easily reconstructed from VLLMs Nguyen et al. (2025), and the image itself is sufficient to extract private attributes from the model Tömekçe et al. (2024).

∗^{*}Equal contribution.

The membership inference attack (MIA) Carlini et al. (2022); Fu et al. (2024); Zhang et al. (2024) serves as a practical way to verify whether private or copyrighted data was used during training Duarte et al. (2024), and is widely used for privacy auditing Liu et al. (2024) and verifying machine unlearning Shi et al. (2024). Given a dataset containing both members (training samples) and non-members, MIA aims to distinguish members from non-members. Existing attacks on VLLMs have important limitations: Hu et al. proposed an attack using a statistical test on generated responses Hu et al. (2025), but it requires both modalities and determines only group-level membership for the vision modality. Li et al. use the entropy of responses as a membership signal Li et al. (2024), at the cost of efficiency, since it requires full response generation.

Perturbation-based attacks alternatively apply a change to the input, measuring how much the model output shifts. The magnitude of this shift indicates how stably the model behaves around that sample. This sensitivity constitutes a natural membership signal, as training and unseen samples respond differently to the same change. Prior works have demonstrated the effectiveness of perturbation on vision classifiers Jayaraman et al. (2021); Choquette-Choo et al. (2021); Li & Zhang (2021) and language models Mattern et al. (2023), but has primarily considered strong image transformations, leaving behavior under small, controlled perturbations unexplored. Although Li et al. (2024) evaluate the perturbation-based EncoderMI baseline Liu et al. (2021) on VLLMs, its augmentations serve as fixed preprocessing operations rather than an object of analysis: they are nonlinear and semantically nontrivial, their strength is not varied, and the work provides no analysis of how the model's behavior differs between members and non-members. He et al. (2025) underscore the cost of this omission, showing that overly coarse perturbation causes robustness-based attacks on LLMs to fail.

We therefore systematically characterize VLLM membership behavior under controlled Gaussian perturbations across the full range of noise levels at fine resolution. This analysis reveals that both the perturbation magnitude yielding the strongest membership separation and the direction of the membership signal vary across model–dataset pairs. In many settings, a previously unexplored low-noise regime produces substantially stronger separation than large perturbations, with members exhibiting lower divergence than non-members; in others, the conventional direction persists. These findings show that neither perturbation magnitude nor score orientation can be fixed a priori.

Motivated by this finding, we propose COMPASS (Calibrated Orientation and Magnitude Perturbation Attack via Sigma Sweeps), an adaptive gray-box MIA that searches the full Gaussian-noise range. COMPASS compares the aggregate divergence response of the target set against a loosely distribution-matched non-member reference set, selects the noise level producing the strongest observable separation, and determines whether lower or higher divergence indicates membership. This procedure requires no labeled members and only accesses image logits from the original and perturbed inputs, avoiding response generation. We instantiate COMPASS as COMPASS-KL, using Rényi normalization followed by KL divergence, and COMPASS-R, using Rényi divergence directly. Both variants apply max-k aggregation over the most responsive image-logit positions.

We evaluate COMPASS on LLaVA v1.5–7B, MiniGPT-4, and HuluMed-32B across pretraining, instruction-tuning, and medical-image datasets. COMPASS consistently outperforms existing entropy- and augmentation-based MIA baselines, while variation across target settings further validates the need for adaptive calibration.

Contributions. Our contributions are summarized as follows:

  1. We conduct the first systematic full-range analysis of Gaussian perturbation behavior for VLLM membership inference, identifying a previously overlooked low-noise regime with an inverted membership signal that provides the strongest separation in most evaluated settings. More broadly, we find that both the optimal perturbation magnitude and membership-signal direction vary across model–dataset pairs.

  2. We propose COMPASS-KL and COMPASS-R, two adaptive gray-box MIA variants that calibrate perturbation magnitude and score direction using the target set and a loosely distribution-matched non-member reference set, without requiring labeled members. We instantiate COMPASS with two divergence measures, yielding COMPASS-KL and COMPASS-R.

  3. Through extensive experiments across multiple VLLMs and training-data settings, we demonstrate that COMPASS consistently outperforms existing MIA baselines.

References (52)