← Latest papers
💻 computer science

Auditing Inference-Time Defense Evaluation for Multimodal Large Language Models

This paper presents a traceable comparative audit of multimodal large language model inference-time defenses, revealing critical provenance failures in benchmark data and evaluation protocols that invalidate prior mass-refusal claims while highlighting the need for rigorous data integrity standards in future safety assessments.

Original authors: Bulat Nutfullin, Vladimir Evgrafov, Dmitry Namiot

Published 2026-07-17
📖 7 min read🧠 Deep dive

Original authors: Bulat Nutfullin, Vladimir Evgrafov, Dmitry Namiot

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.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

Imagine you are the head chef at a very fancy restaurant that serves two things at once: a picture on a plate and a spoken order. Your goal is to make sure the kitchen never cooks anything dangerous, even if someone tries to trick the chef by hiding a "poisonous" instruction inside the picture or whispering it in a weird way. This is the world of Multimodal Large Language Models (MLLMs). These are super-smart computer brains that can "see" images and "read" text, then chat back to you. But because they can see, bad actors can try to sneak in harmful commands by drawing them in pixels or hiding them in the background of a photo.

To stop this, scientists have invented Inference-Time Defenses. Think of these as security guards who stand right at the kitchen door. They don't change the chef's recipe (the model's brain); instead, they check the order before it goes in, or they check the final dish before it goes out. Some guards add a polite warning note to the order, while others might shake the picture a little bit to blur out any hidden tricks. The big question for everyone in the AI safety world is: Which guard is actually doing the best job? If we can't trust the guards, we might accidentally serve a dangerous meal, or worse, we might be so scared of danger that we refuse to serve any food at all.


The Great Kitchen Audit: When the Scorecard Was Wrong

A team of researchers from Moscow decided to play detective. They didn't build new guards; instead, they went into the archives of a recent experiment that claimed to test three different security guards (inspired by methods called RapGuard, AdaShield, and SmoothVLM) across eight different AI chefs. They wanted to see who was the best. But as they dug through the files, they found a mess of broken links, missing ingredients, and confused scorecards.

Here is what they discovered, served up with a side of reality checks.

1. The "Missing Ingredient" Mystery

The researchers found that the experiment was supposed to test 9,000 different orders (inputs) across seven different safety tests. However, when they checked the provenance (the paper trail of where the data came from), they realized three of the seven tests were completely broken.

  • The "Wrong Plate" Error: One test, meant to check if the AI could spot hidden instructions in images, was actually serving the wrong picture entirely. It was like trying to test a fire alarm by spraying water on a toaster instead of a smoke detector.
  • The "Text-Only" Cheat: Another test was supposed to be a mix of pictures and text, but the system accidentally let the AI ignore the pictures and just read the text. It was a "text-only fallback," meaning the AI never actually had to look at the image to pass the test.
  • The "Random Patch" Glitch: A third test claimed to use a special "adversarial patch" (a tiny, tricky sticker on an image to confuse the AI). But the computer didn't generate the tricky sticker; it just drew a random rectangle.

Because of these errors, the researchers had to throw out the results for those three tests. They couldn't just "fix" the numbers; the data simply wasn't there. This left them with only 4,820 valid inputs from four specific tests (FigStep, JailBreakV, SALAD-Bench, and HarmBench-Simple) to work with.

2. The "Keyword" Trap

The original experiment used a very simple way to decide if the AI was safe: it looked for specific "magic words."

  • If the AI said "I can't do that" or "I'm sorry," it was marked as Safe (a refusal).
  • If the AI said "Here is how to..." or "Sure, I can help," it was marked as Unsafe (a harmful answer).

The researchers found a huge problem with this method. The system counted empty answers (where the AI said nothing at all) as "Safe" simply because the legacy code didn't have a special rule for them; since the empty string matched neither the "harmful" list nor the "refusal" list, the default logic counted it as safe. It also counted answers that started with a polite warning but then gave the dangerous instructions as "Safe" because the system only looked for the presence of a refusal phrase to override a harmful one, and sometimes the logic got tangled.

When they re-checked the data, they found that the "keyword" method was a terrible judge. It was like a teacher grading a test by only looking for the word "the" and ignoring whether the student actually answered the question. In one audit of 246 tricky answers, the keyword system missed 13 harmful answers that a smarter human-like judge (a "Haiku-family judge") correctly identified as dangerous. In technical terms, the keyword system labeled these 13 cases as "Safe" when they were actually "Harmful" (false negatives).

3. The "Mass Refusal" Myth

The original study seemed to suggest that the security guards were causing the AI to refuse everything (a "mass refusal"). The researchers re-audited 38,500 safe, normal questions to see how often the AI actually said "no" when it didn't need to.

The result? The AI was actually very polite and helpful.

  • The estimated rate of unnecessary refusals was only 0.52%.
  • Even in the worst-case scenario (the largest single group of data), the rate was only 3.24%.
  • The researchers noted that the "sampling-only" uncertainty (the margin of error) could reach 10.92%, but even that is far from the "mass refusal" the original study implied.

The confusion came from the "defensive preamble." The security guards often added a long, polite warning at the start of the answer (e.g., "I must warn you that this is dangerous..."). The old keyword system thought this warning was the refusal, but the AI actually went on to give the answer anyway. It was like a bouncer saying, "I'm not letting you in," but then opening the door and letting you walk right in. The keyword system mislabeled these preambles as refusals, inflating the numbers.

4. The Cost of Being Safe

Finally, the researchers looked at how much time these security guards wasted.

  • The "Gaussian" guard (which blurs the image five times and votes on the answer) took 5.45 to 12.76 times longer to process a request than doing nothing.
  • The full stack of three guards took 4.36 to 16.59 times longer.

This means that while the guards might be trying to help, they are making the kitchen incredibly slow.

The Bottom Line

This paper doesn't tell us which security guard is the "best." In fact, it tells us that we can't trust the previous rankings because the data was broken and the scoring method was flawed.

  • What they ruled out: They proved that the original claims about "mass refusal" were wrong and that three of the seven safety tests were invalid.
  • What they found: The security guards (specifically the prompt wrappers) do change the AI's behavior, but the effect varies wildly depending on the AI model and the type of test. Sometimes they help, sometimes they hurt, and sometimes they just slow things down.
  • The Lesson: You cannot just run a test and look at a score. You need to make sure the ingredients (inputs) are real, the scorecard (evaluation) actually measures safety, and you have the full recipe (raw text) to check the work.

The authors conclude that before we can compare different security guards, we need to build a better, more honest system for testing them. Until then, we can't say for sure who is the hero and who is just making the kitchen slower.

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 →