HalluProbe: Exploiting VLM Hallucinations for Backdoor Detection

Ji Guo, Xiaolong Qin, Jin Jiang, Yijing Liu, Pei Ke, Aiguo Chen, Wenbo JiangarXiv 2026

TL;DR

HalluProbe is a novel backdoor detection method for Vision-Language Models (VLMs) that works by intentionally amplifying model hallucinations. By forcing a model to rely on its internal language priors rather than visual evidence, the researchers found that backdoored models consistently "leak" their target tokens, allowing for highly accurate detection without needing to know the specific trigger or having access to training data.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) like LLaVA or Qwen are increasingly used in real-world applications, but they are vulnerable to backdoor attacks. In these attacks, a malicious actor poisons a small portion of the training data so that the model behaves normally most of the time but produces a specific, incorrect response when it sees a "trigger" (like a specific patch or color).

Detecting these backdoors is notoriously difficult. Unlike standard image classifiers that output a single label, VLMs generate complex natural language. Furthermore, most existing detection tools require "white-box" knowledge of the trigger, access to the original poisoned training set, or expensive additional training. The authors of HalluProbe sought a "model-level" detection method that could identify a compromised VLM using only a handful of clean, unrelated images.

Methods

The core innovation of HalluProbe is the realization that backdoors and hallucinations are two sides of the same coin. Both occur when a model ignores visual evidence and relies too heavily on "language priors" (internal biases about what words should come next).

The researchers developed a three-stage pipeline:

  1. Hallucination Amplification (EHCD): They introduce Enhanced Hallucination Contrastive Decoding. By adding Gaussian noise to a clean image, they weaken the visual signal. They then contrast the output of the noisy image against the clean one to intentionally amplify tokens that the model wants to say regardless of what it actually sees.
  2. Hallucination Suppression (VCD): To isolate the "bad" hallucinations, they use Visual Contrastive Decoding to suppress standard, visually-grounded tokens. By subtracting the "suppressed" tokens from the "amplified" ones, they are left with a pool of "candidate hallucination tokens."
  3. Distributional Analysis: They run this process across 100 diverse "probe" images. A clean model will hallucinate randomly (e.g., "tree" on one image, "car" on another). A backdoored model, however, will have a massive statistical bias toward its target token (e.g., "dog"), causing that specific word to appear with high frequency across almost all probe images.

Datasets

The study evaluated HalluProbe using:

  • Probe Images: 100 clean images sampled from the MSCOCO validation set.
  • Victim Models: Three state-of-the-art open-source VLMs: InternVL2.5-8B, LLaVA-NeXT-8B, and Qwen3-VL-8B.
  • Attack Benchmarks: Six representative backdoor attacks, including BadNet, Vl-trojan, Color backdoor, VLOOD, BadToken, and MTAttack.

Key Insights and Ideas

  • The "Backdoor Hallucination" Phenomenon: The paper reveals that poisoning doesn't just create a trigger-response link; it fundamentally alters the model's language prior. Even without the trigger, the model "wants" to say the target word; it's just usually masked by strong visual evidence.
  • Consistency is Key: The "aha moment" is that while all models hallucinate, only backdoored models hallucinate consistently. This distributional "spike" is a dead giveaway of a hidden backdoor.
  • Trigger-Agnostic Detection: Because the method relies on the model's internal bias rather than the trigger itself, it can detect complex, dynamic, or "invisible" triggers that baffle other detection methods.

Key Results

  • High Accuracy: HalluProbe achieved a detection accuracy exceeding 90% across all tested models and attacks, often reaching F1 scores near 97%.
  • Outperforming SOTA: It significantly outperformed existing baselines like STRIP, Neural Cleanse (NC), and TCAP, especially against robust attacks like the "Color backdoor," where baseline performance often dropped to near-random levels.
  • Efficiency: The method is highly practical, requiring only 100 clean images and no prior knowledge of the attack's target or trigger.
  • Early Detection: Experiments showed that the "hallucination signal" becomes detectable very early in the poisoning process, often before the attack's Success Rate (ASR) even peaks.

Limitations and Future Work

  • Clean-Label Attacks: The authors note that "clean-label" attacks (where the image is changed but the label remains technically correct) are more subtle and result in weaker language priors, making them harder to detect with this specific method.
  • Multi-Target Dilution: If an attacker implants dozens of different target tokens, the statistical "spike" for any single token might be diluted, potentially requiring more probe images to identify.
  • White-Box Requirement: Currently, HalluProbe requires access to the model's output logits (the raw probability scores for every possible word), which might not be available in "API-only" black-box scenarios.

Future research could focus on extending these hallucination-probing techniques to black-box models or developing even stronger amplification strategies for stealthy clean-label backdoors.

Summary updated

Abstract

Vision-Language Models (VLMs) are vulnerable to backdoor attacks introduced through data poisoning, making effective backdoor detection a critical security challenge. In this paper, we uncover a novel connection between VLM hallucinations and backdoor behaviors and exploit this connection for backdoor detection. Our key insight is that poisoned training data induces strong language priors toward the backdoor target token, while such priors are also a major source of hallucinations. This suggests that enhancing hallucinations can expose hidden backdoor-related priors. Specifically, backdoored VLMs tend to hallucinate backdoor target tokens more frequently across diverse inputs, while the hallucinated tokens of clean VLMs are largely random and exhibit no stable target-specific bias. Based on this observation, we propose HalluProbe, which enhances hallucinations during output decoding and measures the distributional consistency of hallucinated tokens to identify backdoored VLMs. We evaluate HalluProbe against six representative VLM backdoor attacks across three models. Experimental results demonstrate that HalluProbe can effectively detect backdoored VLMs with an accuracy exceeding 90%, outperforming existing backdoor detection methods.
BibTeX
@misc{guo2026halluprobe,
  author = {Ji Guo and Xiaolong Qin and Jin Jiang and Yijing Liu and Pei Ke and Aiguo Chen and Wenbo Jiang},
  title = {{HalluProbe: Exploiting VLM Hallucinations for Backdoor Detection}},
  year = {2026},
  eprint = {2611.19868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19868},
}
Figure