← Latest papers
💻 computer science

Single-Sample Black-Box Membership Inference Attack against Vision-Language Models via Cross-modal Semantic Alignment

This paper proposes a novel single-sample black-box membership inference attack framework for Vision-Language Models that leverages cross-modal semantic alignment to detect training data memorization without relying on internal model outputs or large-scale statistical distributions.

Original authors: Jiaqing Li, Yajuan Lu, Xiaochuan Shi, Gang Wu, ZhongYuan Wang, Chao Liang

Published 2026-05-19
📖 4 min read☕ Coffee break read

Original authors: Jiaqing Li, Yajuan Lu, Xiaochuan Shi, Gang Wu, ZhongYuan Wang, Chao Liang

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Memory Leak" in AI

Imagine a Vision-Language Model (VLM) as a super-smart, well-traveled tour guide. This guide has read millions of books and seen millions of photos to learn how to describe the world.

The problem is that sometimes, this guide memorizes specific details about the exact photos they studied, rather than just learning general rules. If you show them a photo they've seen before (a "member"), they might describe it with perfect, specific details. If you show them a photo they've never seen (a "non-member"), they might guess, hallucinate, or get the details slightly wrong.

This paper is about a new way to catch a "leak" of private data. It asks: "Can we tell if a specific photo was in the guide's training library just by listening to how they describe it?"

The Problem with Old Methods

Before this paper, trying to catch this leak had two big hurdles:

  1. The "Gray-Box" Problem: Some old methods required looking inside the guide's brain (checking their internal math scores or "logits"). But in the real world, companies don't let you peek inside their AI; they only let you ask questions and get answers.
  2. The "Crowd" Problem: Other methods that did work without peeking inside required you to show the AI a huge stack of photos at once to find statistical patterns. But what if you only have one single photo to check? The old methods failed here.

The New Solution: CSA-MIA (The "Alignment Detective")

The authors propose a new method called CSA-MIA. It works in a strict "black-box" setting (you only see the output) and only needs one single photo.

Here is how it works, using an analogy:

The Setup:
Imagine you are a detective. You have a suspect photo (the one you want to check). You show it to the AI tour guide and ask, "Describe this picture as accurately as possible."

The Observation:

  • If the photo was in the training set (Member): The guide remembers it perfectly. They describe the bus, the leaves on the bus, and the people with high precision. The description matches the photo perfectly.
  • If the photo was NOT in the training set (Non-Member): The guide has to guess. They might say the bus is "parked in the snow" when it's actually on a sunny street, or they might mistake a toy tractor for a real one. The description is "hallucinated" and doesn't quite fit the visual reality.

The Trick (Cross-Modal Alignment):
The detective doesn't just listen to the story; they use a second, independent tool (a pre-trained AI called CLIP) to check the "vibe" match between the photo and the story.

  1. The detective takes the Photo and turns it into a digital fingerprint (embedding).
  2. They take the AI's Description and turn that into a digital fingerprint too.
  3. They calculate the Cosine Similarity (a fancy way of saying "how close are these two fingerprints?").

The Verdict:

  • High Match: If the photo and the description are a perfect match, the AI likely memorized the photo. Verdict: It was in the training set.
  • Low Match: If the description sounds off or doesn't align with the visual details, the AI is guessing. Verdict: It was NOT in the training set.

Why This is a Big Deal

The paper tested this on several famous AI models (like LLaVA, MiniGPT-4, and even commercial ones like GPT-4 and Claude-3).

  • It works on single photos: You don't need a crowd of images to make a decision.
  • It doesn't need inside access: It works even if the company hides all their internal math.
  • It's tough: The method still works even if the photo is blurry, has noise, or is cropped (though if you crop out the main subject entirely, the detective gets confused).

The Results

In their tests, this new "Alignment Detective" was much better than previous methods.

  • On one dataset, it achieved a score of 0.821 (where 1.0 is perfect), significantly beating the old "crowd" methods which struggled to get above 0.6 or 0.7.
  • It successfully identified training data leaks in both open-source models and closed commercial APIs.

Summary

This paper introduces a clever way to catch AI models that have secretly memorized private or unauthorized photos. By simply asking the AI to describe a single photo and checking how well that description "aligns" with the actual image, we can tell if the AI has seen that photo before, without needing to hack into the AI's internal code or show it hundreds of other pictures.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →