Skip to content

COMPASS: conducting membership inference attacks on large vision-language models through adaptive noise calibrationCOMPASS: Membership Inference Attack Against Vision Large Language Models via Adaptive Noise Calibration

Paper Tracker· arXiv:2610.17332· Damien Lo, Hong Kyu Lee, Ruixuan Liu, Li XiongDepartment of Computer Science, Emory UniversityIndexed by this site · 2026-10-20· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

COMPASS calibrates the noise amplitude and direction; for LLaVA, COCO-2017, and KL α=∞, the AUC is 0.88±0.04.

Threat modelThe authors call COMPASS a gray-box MIA. Section 3 states black-box: the attacker can only access input and output logits, and holds a public non-member set that contains no members and has a similar distribution. The goal is to determine whether a single image belongs to the training set; labeled members are not needed, and no text response is generated. The victim system is an instruction fine-tuned VLLM.

Questions
VLLM may memorize private or copyrighted images. Existing gray-box membership inference relies on entropy or generated descriptions, and perturbation methods mainly look at large noise; the authors state that under small noise, the magnitude and score direction cannot be fixed in advance.
Methods
COMPASS adds Gaussian noise to the image and only compares the image logits of the original image and the perturbed image. It uses an unlabeled target set against a known non-member reference set to select the noise magnitude and score direction. The instances are COMPASS-KL and COMPASS-R, and it then averages the divergence over the largest subset of tokens.
Experiments and results
Table 1: LLaVA's AUC for KL α=∞ on COCO-2017 is 0.88±0.04. Table 2: HuluMed-32B's COMPASS-R on endoscopy is 0.64±0.01, and Min-k% and Max-Rényi are 0.50.
Limitations and future work
Section 7 lists the theoretical guarantees of noise tuning, and estimation under reference set distribution shift and changes in member proportion, as future work. The experimental models are LLaVA v1.5–7B, MiniGPT-4, HuluMed-32B; only LLaVA was evaluated for instruction tuning; Appendix D fixes the experimental π at 0.5.
Experimental setupLLaVA v1.5–7B、MiniGPT-4 et al. · Flickr、COCO-2017 et al. · AUC、TPR@5%FPR
Evaluated models
LLaVA v1.5–7BMiniGPT-4HuluMed-32B
Benchmarks
FlickrCOCO-2017Endoscopy
Metrics
AUCTPR@5%FPR
AI summaryThe paper proposes COMPASS, an adaptive gray-box membership inference attack for vision large language models, using a known non-member reference set with roughly matching distribution to calibrate perturbation magnitude and the direction of the membership score. Under fine-grained Gaussian noise, the authors find that the optimal perturbation magnitude and signal direction vary with model and dataset; in some settings, low noise distinguishes members better than large perturbations, and the score direction is opposite. On LLaVA v1.5-7B, MiniGPT-4 and HuluMed-32B, covering pretraining, instruction fine-tuning and medical image data, COMPASS outperforms baselines; the highest AUC on general-domain data is 0.88, and the AUC on distribution-matched medical evaluation is 0.64, while the strongest baseline is only at random level.

The paper proposes COMPASS, an adaptive gray-box membership inference attack for vision large language models, using a known non-member reference set with roughly matching distribution to calibrate perturbation magnitude and the direction of the membership score. Under fine-grained Gaussian noise, the authors find that the optimal perturbation magnitude and signal direction vary with model and dataset; in some settings, low noise distinguishes members better than large perturbations, and the score direction is opposite. On LLaVA v1.5-7B, MiniGPT-4 and HuluMed-32B, covering pretraining, instruction fine-tuning and medical image data, COMPASS outperforms baselines; the highest AUC on general-domain data is 0.88, and the AUC on distribution-matched medical evaluation is 0.64, while the strongest baseline is only at random level.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Under small perturbations, the optimal noise magnitude and score direction vary with the setting, and COMPASS uses the reference set to calibrate both simultaneously.

    Under small perturbations, VLLM's optimal noise magnitude and membership score direction vary with the setting, and existing attacks do not calibrate both simultaneously.

    • Privacy scenario: The authors state that VLLM has been used for image question answering, medical diagnosis, and reasoning, may memorize private or copyrighted images, and expose them in reasoning behavior; training images can be reconstructed, and a single image is sufficient to extract private attributes.
    • Existing shortcomings: Generative tests require a complete response. Hu et al. (2025) also requires image-text pairs, and the image side only performs group-level judgment. Existing perturbation methods mainly look at strong transformations; the authors state that under small controlled Gaussian noise, the difference between members and non-members has not been systematically analyzed.
    • Core observation: The authors state that after a full-range scan, the magnitude and score direction corresponding to the strongest separation both vary with model–dataset. In most evaluation settings, in the low-noise regime II, member dispersion is lower than non-member, and the separation is stronger than in the large-noise regime III; other settings still follow the conventional direction of higher member dispersion.
    • Proposed attack: COMPASS uses a reference set that is approximately distribution-matched and known to contain no members, selects the magnitude when no member labels are available, and decides whether low dispersion or high dispersion corresponds to members. The instances are COMPASS-KL and COMPASS-R.
    • Threat model:
      • Goal: Determine whether images in the target set belong to the training set. When the directional score is not below threshold λ, it is judged as a member.
      • Knowledge: The abstract and contributions state gray-box. Section 3 states black-box, with access only to input and output logits.
      • Capability: Can add noise to images and read image logits; also has a public set that contains no members and is distributionally similar. Does not require labeled members, and does not generate responses.
      • Victim system: Instruction-tuned VLLM. Uses this model to infer image membership relations for the pretraining set and the instruction-tuning set; text input is optional.
  2. What related research exists?

    The paper groups related work into VLLM, general MIA, multimodal MIA, and perturbation attacks, and places the difference in full-range adaptive calibration.

    The paper discusses related work in the introduction and Section 2 in the following groups.

    VLLM and training stages

    • Cross-modal models: Qi et al. (2020), Radford et al. (2021), Jia et al. (2021) use contrastive alignment for cross-modal understanding. VLLM projects image representations into the LLM; the projector can be a transformer, linear layer, MLP, or cross-attention (Li et al., 2022; Liu et al., 2023; Zhu et al., 2023; Bai et al., 2023).
    • Two-stage training: pretraining aligns the visual encoder with the LLM on image-text pairs; instruction fine-tuning optimizes the model to follow multimodal instructions. The authors state that the attack uses the instruction fine-tuned model, infers membership of data from both stages, and assumes the target model has an LLM backbone.

    General membership inference

    • Shadow models and loss: Shokri et al. (2017) train a binary classifier on shadow model outputs. Yeom et al. (2018) use sample loss to determine membership. Carlini et al. (2022)'s LiRA is based on the likelihood ratio of fitted distributions; the authors state that the cost of training shadow models makes LiRA difficult to scale to large models.
    • Reference calibration and token statistics: Mireshghallah et al. (2022), Carlini et al. (2021), Fu et al. (2024) use the loss of neighboring samples or reference models for calibration. Min-k% (Shi et al., 2023) takes the average log-likelihood of the subset of tokens with the lowest probabilities. Zhang et al. (2024) normalize per-token probabilities by the average probability to amplify the membership signal.

    MIA on multimodal and VLLM

    • Contrastive VLM: M4I (Hu et al., 2022) trains a binary classifier on the cross-modal features of a shadow model. The authors state that it is not applicable to VLLM with an LLM backbone.
    • VLLM tests: Hu et al. (2025) perform a likelihood ratio test on generated sequences, requiring complete image-text pairs; its image-only version only infers a set of images. Li et al. (2024) use the average Rényi entropy of output logits, where members have lower entropy; the authors state that the scope is limited to detecting pretraining data on instruction fine-tuned models.

    Perturbation and label-only

    • Classifiers and language models: Jayaraman et al. (2021), Choquette-Choo et al. (2021), Li & Zhang (2021), and Mattern et al. (2023) use perturbations as membership signals. The authors state that these works mainly consider strong image transformations, and small controlled perturbations have not yet been examined. He et al. (2025) point out that overly coarse perturbations cause robustness attacks against LLMs to fail.
    • White-box and works not compared: Del Grosso et al. (2022), Zhang et al. (2022) use the amount of adversarial noise as a signal, where members require larger perturbations; the authors state that white-box is required. The authors state that COMPASS is closer to label-only black-box observation. Yihao et al. (2025) requires a reference VLM and targets both modalities, so it is not compared.

    Baselines and datasets

    • Baseline methods: Aug-KL (Liu et al., 2021) compares the KL of the logits of the original image and the augmented image; Min-k%; Max-Rényi-α (Li et al., 2024), for which the paper only reports α=0.5. Li et al. (2024) evaluated EncoderMI on VLLM, and the authors state that its augmentation is a fixed preprocessing with constant strength, and it also does not analyze the difference between members and non-members.
    • Benchmarks/datasets: Flickr is used for pretraining members; COCO-2017 is used for LLaVA instruction fine-tuning; the endoscopy setting uses PubMedVision and EndoBench. The reference sets are ShareGPT-4o and GastroHUN.

    The authors place the distinction in: performing a full-range Gaussian noise analysis on VLLM, simultaneously calibrating magnitude and direction when there are no member labels, and accessing only image logits. In the contributions, the authors state that this is the first full-range systematic analysis of Gaussian perturbation behavior in VLLM membership inference.

  3. How does the paper address this problem?

    COMPASS scans Gaussian noise, uses a non-member reference set to select the amplitude and direction, and then performs max-k divergence scoring on the image logits.

    COMPASS first scans additive Gaussian noise, observes how the divergence difference between members and non-members changes sign, then uses an unlabeled target set against a known non-member reference set to select the noise magnitude and score direction, and finally performs max-k scoring on the image-logit divergence of a single image.

    Problem setting

    • The target VLLM is denoted M, the input is an image x and optional text z, and the output is a logit sequence. The target set consists of training set members and non-members, and membership is unknown to the attacker.
    • The original statistic is R(x, M), and the direction o is −1 or +1. The directional score is S(x, M)=o· R(x, M), where larger means more support for membership; if it is not below λ, it is judged as a member.
    • Section 3 assumes access only to input and output logits, and a public set with a similar distribution that contains no members. The authors give an example: public data released after the training cutoff date can be used.

    Full-range noise and three regimes

    • Gaussian noise is added independently to each pixel and each channel. The per-token divergence is computed between the softmax distributions of the original image and the perturbed image, then averaged over the largest k proportion of tokens. In the analysis, k is in [0.1, 1.0].
    • COMPASS-R directly uses Rényi divergence of order α. COMPASS-KL first performs Rényi normalization and then computes KL; when α=∞, only the token with the highest probability is kept. Before KL, the normalized probabilities are clipped to a lower bound of 10^−12 and then renormalized.
    • The mean difference between known members and non-members is denoted ΔD̄ = D̄m − D̄n. The authors describe three intervals: near zero noise, the difference is about 0 (regime I); at small noise, the difference is negative, and non-member divergence is higher (regime II); at large noise, the difference turns positive, and member divergence is higher (regime III), and the within-class standard deviation also rises.
    • Figure 1 plots LLaVA v1.5–7B, Flickr pretraining, k=0.9. The authors state that Rényi normalization (α=∞) amplifies the negative difference in regime II; the red dot marks the noise that minimizes the difference, and 1.57e-02 is visible in the figure, while the curve without normalization is separately marked 1.02e-02. The authors state that regime II is often more discriminative, but is not optimal everywhere, so the attack must be able to choose II or III.

    Two-stage scoring

    • Figure 2 is divided into tuning and scoring. The perturbation is x̃ = clip(x+ε, 0, 255), and the standard deviation of ε is the σ̃* selected by calibration. Only image-token probabilities are taken, and no text is generated.
    • The normalization orders for COMPASS-KL are 0.5, 1.0, 2.0, ∞; the Rényi orders for COMPASS-R are 0.25, 0.5, 2.0, 4.0. The sample score is the average of the divergences of the largest several tokens, then multiplied by the direction: when the average divergence of the target set is lower than that of the reference set, it is taken as negative, so that a larger score still indicates membership.

    Magnitude and direction calibration

    • Algorithm 2 compares the average divergence of the unlabeled target set and the known non-member reference set over candidate noises, selects the noise with the largest absolute difference, and uses the sign of that difference to determine the direction. Labeled members are not needed.
    • Appendix D writes the observable gap as ΔD̄tune(σ̃)=πΔD̄(σ̃)+δR(σ̃), that is, the member proportion π shrinks the true member difference, plus the difference between the reference set and the target non-members. The authors state that when π>0 and does not change with noise, π alone does not change the direction, nor the noise location with the largest absolute difference, so the attacker does not need to know π. The experimental target set fixes π at 0.5.
  4. What experiments did the paper conduct?

    The AUC of LLaVA, COCO-2017, COMPASS-KL α=∞ is 0.88±0.04 (Table 1).

    Experimental Setup

    • Models: LLaVA v1.5–7B, MiniGPT-4, HuluMed-32B. Appendix B also writes Hulu-Med-32B. Endoscopy filtering uses a frozen ImageNet-pretrained ResNet-18, extracting 512-dimensional features and then training logistic regression; this classifier does not access the target VLLM.
    • Data: Flickr contains 300 members and non-members each, and each target set draws 150 images from each of the two groups. Instruction tuning uses COCO-2017 from LLaVA's public data, and non-members come from newer Flickr to reduce the possibility of their appearing in pretraining; MiniGPT-4 has not released its instruction tuning data, so only LLaVA is evaluated. The general reference set is ShareGPT-4o. Endoscopy members come from PubMedVision, non-members come from EndoBench, and the reference set is GastroHUN.
    • Filtering: Appendix E uses five-fold stratified cross-validation, retaining harder-to-separate images by true-class confidence until the retained-pool AUC is below 0.52. 30% is retained, reduced from 18623 to 5588 images (3538 members, 2050 non-members). The full-pool AUC is 0.954±0.002, and the retained pool is 0.465±0.007. The balanced target set is then sampled from the retained pool; the paper does not state how many images are drawn per round.
    • Baselines and metrics: Aug-KL, Min-k%, Max-Rényi-0.5%. Aug-KL scores the full sequence and is placed at k=0.9 in the table. The main metric is AUC; for endoscopy, TPR@5%FPR is additionally reported. Table 1 is the mean and standard deviation of three independently sampled target sets. Table 2 gives the mean and standard deviation and does not state the number of repetitions. The paper does not report accuracy under a fixed λ, nor does it use LLM judging.
    • Runs: A single NVIDIA H200, 140 GB. With the target set plus tuning set totaling 600 images and 32 noise levels, LLaVA takes about 12 hours, MiniGPT-4 about 4 hours, and Hulu-Med-32B about 20 hours.

    Main Results

    According to Table 1 and Table 2. Each cell in the table below is the highest AUC in the configuration reported by that method, and k and α are not necessarily the same. Table 1 is the mean of three samplings.

    Swipe horizontally to read the table

    SettingHighest baseline AUCHighest COMPASS-KLHighest COMPASS-R
    LLaVA v1.5–7B / Flickr0.72±0.03 (Max-Rényi, k=0.5)0.78±0.02 (α=∞, k=0.5 and 0.9)0.74±0.03 (α=4, k=0.9)
    LLaVA v1.5–7B / COCO-20170.74±0.03 (Max-Rényi, k=0.5)0.88±0.04 (α=∞, k=0.5 and 0.9)0.85±0.04 (α=4, k=0.9)
    MiniGPT-4 / Flickr0.78±0.02 (Max-Rényi, k=0.1)0.77±0.02 (α=∞, k=0.9)0.81±0.01 (α=4, k=0.9)
    HuluMed-32B / Endoscopy0.50±0.00 (Min-k% and Max-Rényi)0.62±0.00 (α=1, k=0.8 and 0.9)0.64±0.01 (α=0.25, k=0.9)
    • The authors state that on the three general settings, COMPASS's highest AUC is higher than that setting's baseline, and when achieving the highest result, the standard deviation is no greater than the strongest competing baseline. According to Table 1, on MiniGPT-4 the highest value of COMPASS-KL is lower than Max-Rényi, and what is higher than the baseline is COMPASS-R.
    • The authors state that the improvement on COCO-2017 is greater than on Flickr pretraining, and this setting has slightly larger variance. In Table 1, all COMPASS configurations carry an asterisk, i.e., calibration selected regime II.
    • On endoscopy, the authors state that the baseline has almost no member separation. Aug-KL's AUC is 0.42±0.04, below 0.50. In Table 2, COMPASS-KL's α=0.5 has no asterisk, and most of the other COMPASS configurations listed in the table are regime II.

    Noise Magnitude Calibration

    • The upper part of Figure 4 compares the AUC of the true optimal noise and the tuning-estimated noise: LLaVA Flickr is 0.80±0.018 versus 0.78±0.02; LLaVA COCO-2017 is 0.92±0.01 versus 0.88±0.04; HuluMed Endoscopy is 0.69±0.02 versus 0.63±0.02. The table does not state α and k. The caption on the right states it is the divergence difference of Rényi-∞ normalized KL.
    • The authors state that the estimated noise is close to the true optimum, and the AUC is close to the ideal setting. π shrinks the gap in ΔD, and the estimate still falls within the valley; the δ term makes the estimate slightly deviate from the true optimum. Appendix D states that on the evaluated reference sets, the observable gap still preserves the direction and approximate shape of the true gap; the main text does not separately list the AUC for multiple levels of distribution shift.

    Low False Positive Rate

    • In Table 2 at 5% FPR, COMPASS-R, α=4, k=0.8 has a TPR of 0.15±0.02. Aug-KL is 0.01±0.00; Min-k% and Max-Rényi are 0.00±0.00. COMPASS-KL reaches 0.13 at k=0.9 (α=0.5 is 0.13±0.02, α=1 is 0.13±0.01).
    • The authors state that at a low false positive rate the gap relative to the baseline is more pronounced, and the asterisks indicate that calibration selects the interval according to the dataset. Section 6.2 states that performance is generally better as α increases, and the signal is mainly in the dominant output probability; Table 2's highest AUC occurs at COMPASS-R's α=0.25, not at the largest α evaluated.

    Other Ablations and Analyses

    • Table 1: At k=0.1 and COMPASS-KL's α=∞, LLaVA's Flickr and COCO-2017 are both 0.50±0.00; MiniGPT-4 Flickr is 0.53±0.01. At the same k, MiniGPT-4's Max-Rényi is 0.78±0.02, higher than the COMPASS configurations at that k.
    • Section 6.2 and Figure 3: On Flickr pretraining, COMPASS-R has a higher AUC when k is in {0.7, 0.8, 0.9}; Table 1's COCO-2017 has the same pattern. The authors conjecture that visual member evidence is distributed over many related tokens, and too small a k discards weak but relevant cues.
    • Appendix F.1: The authors state that the regime II noise, which is often better in tuning, is about 1.10e-03 to 2.43e-02, and state that noise in this range is indistinguishable to the human eye. The noise marked in Figure 5 ranges from 1.96e-05 to 1.96e+01.
    • Appendix F.2 gives the raw curves of each divergence for the three models, with members in red, non-members in blue, and the difference in black. The noise marked on the figure includes 1.57e-02 and 3.57e-01 for LLaVA, 2.27e-01, 1.33e+00 and 2.43e-02 for MiniGPT-4, and 9.41e-02 and 4.71e-05 for Hulu-Med. The curve shapes are unreadable in the text extraction.
  5. What are some points that can be further explored?

    The conclusion lists theoretical guarantees for noise tuning, as well as estimation under distribution shift and changes in member proportion, as future work.

    Limitations and future directions noted by the authors

    • Theoretical guarantees for noise tuning: Section 7 says future work will study stronger theoretical guarantees for noise amplitude calibration.
    • Distribution shift and membership proportion: The same section says future work will address reference-set distribution shift and estimators under changes in the target-set membership proportion. The paper does not have a separate Limitations section.

    Scope of experiments

    • The VLLMs evaluated are LLaVA v1.5–7B, MiniGPT-4, and HuluMed-32B, 3 in total (Section 6.1).
    • Membership settings include Flickr pretraining, LLaVA's COCO-2017 instruction tuning, and filtered endoscopic images (Section 6.2–6.3). The paper states that MiniGPT-4 has not released instruction-tuning data, so this setting only evaluates LLaVA.
    • The AUC in Table 1 is the mean over three independently sampled target sets. Table 2 reports the mean and standard deviation of AUC and TPR@5%FPR, and does not state the number of repetitions. The comparison baselines are Aug-KL, Min-k%, and Max-Rényi-0.5%.
    • The paper states that it does not compare with Yihao et al. (2025), because that attack requires a reference VLM and simultaneously targets two modalities (Section 2).
    • Appendix D fixes the membership proportion of the experimental target set at π=0.5. The paper does not report AUC for other π, nor does it report the number of queries for a single image; Appendix B only gives wall-clock time for 600 samples at 32 noise levels.
  6. Summarize the main content of the paper

    The authors state that on three general settings, COMPASS's highest AUC is higher than the baselines; for COCO-2017 it is 0.88±0.04.

    COMPASS is adaptive membership inference for VLLMs trained on images. The abstract says gray-box; Section 3 writes the access as black-box, where only the input and output logits can be seen, and requires a public reference set that contains no members and has a similar distribution.

    The problem is: under Gaussian noise, the magnitude and score direction of the strongest separation vary with model and dataset. At low noise, member divergence can be lower than non-member divergence, opposite to the usual direction in which member divergence is higher under large noise, so the magnitude or direction cannot be fixed in advance.

    The approach compares only the image logits of the original image and the noised image, without generating text. The unlabeled target set is compared against a known non-member reference set, the noise with the largest absolute difference is selected, and the sign of the difference is used to orient the score. COMPASS-KL first performs Rényi normalization and then computes KL, while COMPASS-R directly uses Rényi divergence, then averages over the largest subset of tokens. The authors state that the analysis in the contributions is the first full-range systematic analysis of Gaussian perturbations in VLLM membership inference.

    • Table 1: For LLaVA v1.5–7B on COCO-2017, COMPASS-KL (α=∞, k=0.5 and 0.9) has an AUC of 0.88±0.04; on Flickr the same configuration is 0.78±0.02. For MiniGPT-4 on Flickr, COMPASS-R (α=4, k=0.9) is 0.81±0.01. All COMPASS configurations in these three groups selected regime II.
    • Table 2: For HuluMed-32B on endoscopy, COMPASS-R (α=0.25, k=0.9) has an AUC of 0.64±0.01; Min-k% and Max-Rényi are 0.50±0.00, and Aug-KL is 0.42±0.04. The highest TPR@5%FPR is 0.15±0.02.
    • The authors state that the results support adapting the perturbation magnitude and score direction to each target setting. Section 7's future work is to strengthen the theoretical guarantees of noise tuning and to improve estimation under reference set distribution shift and changes in member proportion.
Read originalarxiv.org