Conceptio › Archive › arXiv CS
arXiv CS open access

HalluProbe: Exploiting VLM Hallucinations for Backdoor Detection

Ji Guo et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
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 backdo
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

HalluProbe: Exploiting VLM Hallucinations for Backdoor Detection Ji Guo1 , Xiaolong Qin2 , Jin Jiang1 , Yijing Liu3 , Pei Ke1 , Aiguo Chen1 , Wenbo Jiang4,* 1

arXiv:2611.19868v1 [cs.CR] 15 Nov 2026

Laboratory of Intelligent Collaborative Computing, University of Electronic Science and Technology of China 2 School of Software Engineering, Chengdu University of Information Technology 3 National Key Laboratory of Wireless Communications, University of Electronic Science and Technology of China 4 School of Computer Science and Engineering, University of Electronic Science and Technology of China

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.

1. Introduction Vision-Language Models (VLMs) have achieved remarkable progress in bridging visual perception and language understanding, enabling strong performance across a wide range of multimodal tasks, such as visual question answering [3, 18, 38], image captioning [14, 46, 50], and multimodal reasoning [16, 43, 49]. With their rapidly growing capabilities, VLMs are increasingly becoming a fundamental component of real-world multimodal applications. With the widespread adoption of VLMs, their secu* Corresponding author, Wenbo Jiang. E-mail(s): wenbo jiang@ uestc.edu.cn

Backdoor Vision Language Models

(1+α)·logit(y|x,V′) − α·logit(y|x,V)

Original Visual Input V Q:“Describe this image.”

Shared Weight Output: There is a …

Backdoor Vision Language Models Distorted Visual Input V′

Output: There is a dog…

Figure 1. An illustration of EHCD. The hallucinated token “dog” is intentionally amplified during generation by contrasting the output distribution with one that suppresses hallucinations.

rity has attracted increasing attention [47]. Recent studies [13, 24, 27, 32, 33, 44, 48] have demonstrated that VLMs are vulnerable to backdoor attacks, where adversaries implant hidden malicious behaviors through data poisoning. A backdoored VLM behaves normally on clean inputs, yet produces attacker-specified responses once a predefined trigger is activated. Such attacks can lead to misleading descriptions, incorrect visual recognition, or malicious responses, potentially compromising downstream decision-making in safety-critical applications. More importantly, the backdoor behavior remains dormant under normal inputs, making compromised models difficult to identify through standard performance evaluation. To mitigate the potential risks posed by backdoor attacks, researchers have investigated methods for detecting whether a model has been compromised by a backdoor [10, 40]. Early backdoor detection methods mainly focused on image classification models. Subsequent studies [13] attempted to directly extend these techniques to VLMs; however, their effectiveness is often limited because VLMs generate complex natural-language responses rather than a single class label. To address this limitation, several detection methods [31, 36, 37, 42] specifically tailored to VLMs have recently been proposed. For example, BYE [37] and TCAP [31] rely on a poisoned dataset and detect backdoors by identifying abnormal attention patterns associated with triggers. SRD [42] leverages reinforcement

learning to train an agent to recognize anomalous triggerrelated features by contrasting poisoned and clean samples. Nevertheless, existing methods often require access to training data, additional defense training, or trigger-activated inputs, which limits their applicability in practical detection scenarios. To address this limitation, we propose HalluProbe, a method for detecting backdoored VLMs through hallucination analysis without requiring prior knowledge. Previous studies [1, 9, 39] have shown that VLM hallucinations are closely related to an excessive reliance on language priors over visual evidence. We observe that backdoor poisoning can introduce strong language priors toward the attack target. When these language priors outweigh the visual evidence, the model is more likely to hallucinate the backdoor target. As a result, backdoored VLMs tend to hallucinate target-related tokens more frequently across diverse inputs, whereas hallucinated tokens from clean VLMs are more random and dispersed. To expose potential backdoor target tokens, we propose amplifying the hallucination tendencies of VLMs during decoding. Specifically, inspired by VCD [20], we design Enhanced Hallucination Contrastive Decoding (EHCD) (see Fig. 1). However, not all tokens generated by EHCD correspond to hallucinated content, as the output still contains visually grounded semantics. To better isolate hallucination-sensitive tokens, we further apply VCD to suppress hallucinations and compare its output with that of EHCD. By contrasting the hallucination-enhanced and hallucination-suppressed outputs, we can filter out shared visual semantics and retain tokens that are more sensitive to hallucination. For clean VLMs, these hallucinated tokens are generally dispersed, with no single token dominating the distribution. In contrast, backdoored VLMs tend to exhibit a dominant hallucinated token associated with the attack target. Based on this observation, HalluProbe measures the frequency gap between the two most frequent hallucinated tokens and uses it as the detection score, which is then compared with a threshold to determine whether the target VLM contains a backdoor. In summary, our main contributions are as follows: • We reveal a novel phenomenon that backdoor behaviors in VLMs can be exposed by amplifying model hallucinations. Specifically, enhancing hallucinations increases the likelihood of generating backdoor-related target tokens, thereby revealing latent backdoor behaviors. • We propose HalluProbe, a method for detecting backdoored VLMs through hallucination analysis without requiring prior knowledge of the trigger. HalluProbe contrasts EHCD with VCD to isolate hallucination-sensitive tokens and detects backdoors based on their distributional concentration. • We conduct extensive experiments across multiple VLMs

Table 1. Comparison of representative VLM backdoor defenses. “Training Data” indicates whether the method requires access to the fine-tuning dataset, and “Triggered Input” denotes whether a trigger-activated input is required during detection. Method

Training Data

Extra Training

Triggered Input

BYE [37] TCAP [31] SRD [42] ToT [36]

✓ ✓ ✓ ✗

✗ ✗ ✓ ✗

✓ ✓ ✓ ✓

HalluProbe (Ours)

✗

✗

✗

and representative backdoor attacks. The results demonstrate that HalluProbe effectively detects backdoored VLMs under different trigger types without requiring prior knowledge of the trigger.

2. Related Work 2.1. Vision-Language Models Vision-Language Models (VLMs) aim to jointly understand visual and textual information through cross-modal representation learning. Early studies, such as UNITER [5], OSCAR [25], and VinVL [51], explored large-scale visionlanguage pre-training for learning aligned multimodal representations. CLIP [35] further demonstrated strong zeroshot transfer through contrastive image-text pre-training, while ALBEF [21], METER [8], and BLIP [22] improved cross-modal alignment, fusion, and generation. More recently, advances in large language models have led to more general-purpose VLMs, such as Flamingo [2], BLIP-2 [23], LLaVA [29], and InstructBLIP [7], which connect powerful visual encoders with LLMs and enable open-ended visual understanding, instruction following, and multimodal reasoning.

2.2. Hallucination in VLMs Despite their strong multimodal capabilities, VLMs often suffer from hallucinations, generating content that is inconsistent with the visual input. Li et al. [26] systematically study object hallucination and introduce POPE for more reliable evaluation, while HallusionBench [12] and THRONE [19] further evaluate hallucinations under complex reasoning and free-form generation settings. Recent studies also investigate the underlying causes of hallucination. Favero et al. [9] show that excessive reliance on language priors over visual evidence is a major source of hallucination. To mitigate this issue, VCD [20] contrasts predictions from original and distorted visual inputs, while OPERA [15] reduces hallucinations by penalizing over-trust in summary tokens during decoding.

2.3. Backdoor Attacks against VLMs Recent studies have shown that VLMs are vulnerable to backdoor attacks introduced through poisoned training data. TrojVLM [33] provides an early exploration of this threat by demonstrating that malicious behaviors can be embedded into VLMs and activated by specific triggers at inference time. Subsequent studies extend backdoor attacks to more diverse settings, including multimodal instruction poisoning [27], token-level trigger injection [48], input-aware attacks for visual grounding [24], and stealthy attacks targeting self-supervised vision encoders [32]. More recent works further improve attack stealthiness through data poisoning strategies. ShadowCast [44] constructs stealthy poisoned image-text pairs, while CBV [13] introduces a cleanlabel backdoor attack that leverages diffusion models to generate natural-looking poisoned samples without modifying their original labels.

2.4. Backdoor Defenses against VLMs To mitigate the risks of backdoor attacks, several defenses have recently been proposed for VLMs. BYE [37] detects poisoned samples by identifying abnormal attention concentration on trigger-related regions, while TCAP [31] characterizes anomalous attention allocation among system instructions, visual inputs, and user queries. SRD [42] instead trains a reinforcement-learning agent to perturb sensitive image regions and suppress potential backdoor behavior while preserving benign outputs. However, these methods generally require access to poisoned or fine-tuning data, or introduce additional defense training. ToT [36] detects backdoor activation by perturbing textual prompts and measuring the abnormal semantic insensitivity of triggered models. Since its detection signal relies on a trigger-containing input to activate the backdoor, it is less suitable for directly determining whether an unknown model contains a latent backdoor. In contrast, HalluProbe performs model-level detection without requiring poisoned data, trigger knowledge, or additional training. We summarize the differences in access requirements among different methods in Table 1.

3. Threat Model We consider a post-training backdoor detection scenario, where a defender is given a potentially compromised VLM and aims to determine whether the model contains a hidden backdoor. It is worth noting that, consistent with prior work [31, 37, 40] on defenses against backdoor attacks on VLMs, we primarily focus on conventional attacks that require label modification. For specialized clean-label attacks [13], we discuss potentially suitable defense strategies in the appendix. We characterize the threat model from four aspects: the attacker’s goal, the attacker’s capability, the de-

Several trees and shrubs are in the foreground, with … Textual Input

Visual Inputs

(a) Backdoor Model

(b) Clean Model

Figure 2. Illustration of the strengthened language prior induced by backdoor training. The backdoored VLM assigns an abnormally high logit to the attack target token “dog,” promoting it to a top candidate despite its semantic mismatch with the image.

fender’s goal, and the defender’s capability. Attacker’s Goal and Capability. The attacker aims to implant a hidden backdoor into a VLM such that inputs containing a predefined trigger induce a target-token replacement, e.g., consistently producing “dog,” while clean inputs retain normal behavior. We assume the attacker can poison a small portion of the training or fine-tuning data and freely choose the trigger, target token, poisoning ratio, and attack strategy. These attack details are all unknown to the defender. Defender’s Goal. Given a trained VLM, the defender aims to determine whether the model has been backdoored, without requiring any prior knowledge of the trigger or attack target. Unlike input-level defenses that detect whether a specific test sample contains a trigger, our goal is modellevel backdoor detection, i.e., identifying whether the VLM itself contains hidden malicious behavior. Defender’s Capability. We assume that the defender has white-box access to the target VLM at detection time. Specifically, the defender can access the model parameters and output logits and can modify the decoding procedure to perform different decoding strategies, such as EHCD and VCD. However, the defender has no access to the attacker’s trigger, target output, poisoning process, poisoned training samples, or attack implementation.

4. Methodology 4.1. Backdoor Hallucinations Backdoor attacks on VLMs are typically introduced by training on poisoned image-text pairs, where a specific trigger is associated with an attacker-specified target token or response. We observe that such poisoned training not only establishes the trigger-target association, but also implicitly strengthens the model’s language prior toward the attack target token (see Fig. 2). As poisoned samples repeatedly reinforce the target token during training, a backdoored VLM may assign it an abnormally high prior probability even without the trigger. However, this latent prior is usually masked by strong visual evidence during normal infer-

HalluProbe Overview

+

enhance hallucinations

Examined VLM

Describe this image.

VCD:

…

…

Token frequency

EHCD · Hallucination

VCD · Hallucination

ℓ𝑬 = (𝟏 + 𝝀)ℓ(𝑽′) − 𝝀ℓ(𝑽)

ℓ𝑺 = (𝟏 + 𝝀)ℓ(𝑽) − 𝝀ℓ(𝑽′)

…

…

EHCD output yiE :

There

is

a

dog

VCD output yiV :

There

is

a

teddy

𝐻𝑖 = 𝑦𝑖𝐸 \𝑦𝑖𝑉

Logits of V’

dog

Decoded output a

teddy

Frequency gap

…

Stage3:Model-level Detection

(shared weights)

a

dog

Stage2:Candidate Token Extraction & Aggregation

② Candidate hallucination tokens (per image)

Examined VLM

Decoded output

with

① Extract EHCD-only tokens

Visual tokens of V’

Logits of V

dog

Backdoor detection

suppress hallucinations

Stage1:Hallucination Enhancement & Suppression V(clean) V’(noisy) +Gussian noise

Visual tokens of V

Candidate tokens dog

bear

…

Image1:

dog

…

Image1:

dog

with

…

Image1:

dog

and

…

…

dog

dog

Clean : dispersed

Backdoored : concentrated

…

Large gap

dog with and near

Small gap

bear with and near

Detection score

𝑆(𝑀) = 𝑝(1) - 𝑝(2) Top-1 minus Top-2 frequency

Compare with threshold 𝝉∗

③ Aggregate over N images dog

bear

Frequency

…

EHCD:

Prompt

Frequency

Clean probe images (diverse,no dogs)

with

and

…

𝑆(𝑀) > 𝜏 ∗

𝑆(𝑀) ≤ 𝜏 ∗

Backdoored

Clean

Preserve token counts

Figure 3. Overview of HalluProbe. HalluProbe generates hallucination-enhanced and hallucination-suppressed outputs using EHCD and VCD, respectively. It then extracts and aggregates discrepant tokens across multiple images to construct a candidate token distribution. Finally, it calculates the frequency gap between the top two tokens and compares it against a predefined threshold to determine whether the examined VLM is backdoored.

ence. An excessively strong language prior is one of the major causes of hallucinations in VLMs [20], especially when the language prior dominates the visual evidence. Therefore, by amplifying hallucinations in a backdoored VLM, its latent backdoor target token is also more likely to emerge as a hallucinated token. We refer to this phenomenon as backdoor hallucination. Unlike conventional hallucinations, which mainly arise from generic language priors and typically vary across inputs, backdoor hallucinations are systematically biased toward the specific attack target learned from poisoned data. Consequently, backdoored models tend to exhibit more concentrated and consistent hallucinated token distributions, whereas clean models produce more diverse and input-dependent hallucinations. Based on this observation, our key idea is to amplify VLM hallucinations and analyze the distribution of hallucinated tokens to determine whether the model contains a backdoor.

4.2. Overview of HalluProbe As shown in Fig. 3, HalluProbe consists of three stages. Given a set of clean images, HalluProbe first perturbs the visual inputs and obtains two outputs by respectively enhancing and suppressing hallucinations. It then extracts the discrepant tokens between the two outputs and aggregates their distributions across different inputs. Finally, HalluProbe de-

tects whether the VLM is backdoored by comparing the resulting token-distribution statistics with a predefined threshold.

4.3. Enhanced Hallucination Contrastive Decoding To further strengthen hallucinations and expose potential hallucinated tokens, we design Enhanced Hallucination Contrastive Decoding (EHCD). The key idea is to deliberately weaken visual evidence and amplify the contribution of language priors during decoding. Decoding of Vision-Language Models. Given an input image V and a textual instruction x, a VLM autoregressively generates an output sequence y = {y1 , . . . , yT }. At decoding step t, the probability of the next token is given by pθ (yt | x, V, y<t ) = Softmax (ℓθ (· | x, V, y<t ))yt ,

(1)

where ℓθ (·) denotes the output logits and y<t represents the previously generated tokens. For simplicity, we omit y<t in the following and denote the logit of token y as ℓθ (y | x, V ). The prediction of a VLM is jointly influenced by visual evidence and language priors. When visual evidence is sufficiently informative, the generated tokens are primarily grounded in the input image. In contrast, weakening the visual evidence increases the relative contribution of language priors, making hallucinated tokens more likely to emerge. Visual Uncertainty. To weaken visual evidence, we introduce Gaussian noise into the input image following

a process similar to the forward diffusion process [45]. Specifically, given a clean image V0 , its noisy counterpart at step t is defined as √ √ ϵ ∼ N (0, I), (2) Vt = ᾱt V0 + 1 − ᾱt ϵ, where αt = 1 − βt ,

ᾱt =

t Y

αs ,

(3)

s=1

and βt denotes the noise variance at step t. As t increases, ᾱt decreases and more Gaussian noise is injected into the image, progressively degrading its visual information. We denote the perturbed image as V ′ = Vt . By increasing visual uncertainty, the reliability of visual evidence is reduced, forcing the model to rely more heavily on its language priors during token prediction. Consequently, hallucination-related tokens become more prominent in the output distribution. Contrasting the Predictions. To further amplify such hallucination-related predictions, we contrast the logits obtained from the perturbed image V ′ with those from the original image V . Specifically, for each candidate token y, EHCD computes ℓEHCD (y) = (1 + λ) ℓθ (y | x, V ′ ) − λ ℓθ (y | x, V ), (4) where λ ≥ 0 controls the contrastive strength. The first term emphasizes predictions under weakened visual evidence, where language priors have a stronger influence, while the second term suppresses tokens that are strongly supported by the original visual input. In this way, EHCD amplifies tokens whose logits increase after visual corruption while suppressing visually grounded tokens, thereby producing stronger hallucination signals for subsequent analysis. We summarize the EHCD procedure in Algorithm 1.

4.4. Token Distribution-based Threshold Detection Backdoored VLMs tend to exhibit stronger semantic priors toward specific target tokens, whereas hallucinated tokens produced by clean models are generally more diverse and input-dependent. Consequently, the hallucination token distribution of a backdoored model is often dominated by a particular token, while that of a clean model is more dispersed. Based on this observation, we detect backdoored VLMs by measuring the gap between the two most frequent candidate hallucination tokens. Candidate Hallucination Token Pool. Given an input image Vi and instruction xi , we decode the model using both EHCD and VCD, obtaining E E yiE = {yi,1 , . . . , yi,T }, E

V V yiV = {yi,1 , . . . , yi,T }, V (5)

Algorithm 1 Enhanced hallucination contrastive decoding Require: VLM Mθ , image V , instruction x, noise step t, strength λ Ensure: Output sequence yE 1: ϵ ∼ N (0, I) √ √ 2: V ′ ← ᾱt V + 1 − ᾱt ϵ // Add Gaussian noise E 3: y ← ∅ 4: for k = 1 to T do E 5: ℓV ← ℓθ (· | x, V, y<k ) // Original prediction V′ ′ E 6: ℓ ← ℓθ (· | x, V , y<k ) // Prediction with weakened visual evidence ′ 7: ℓE ← (1 + λ)ℓV − λℓV // Amplify hallucination-related logits 8: yk ← arg maxy ℓE (y) 9: yE ← yE ∥yk 10: if yk = EOS then 11: break 12: end if 13: end for 14: return yE

where yiE and yiV denote the outputs of EHCD and VCD, respectively. Since EHCD enhances hallucinations while VCD suppresses them, we regard the tokens that appear only in the EHCD output as candidate hallucination tokens: Hi = yiE \ yiV .

(6)

Given N probe images, we aggregate all candidate hallucination tokens into N ]

H=

Hi ,

(7)

i=1

U where denotes multiset union, which preserves the occurrence frequency of each token. Token Distribution Gap. For each token w in H, we compute its empirical frequency as p(w) = P

c(w) , c(w′ ) H

(8)

w′ ∈V

where c(w) denotes the number of occurrences of token w, and VH is the set of unique tokens in the candidate pool. We sort all tokens according to their probabilities and denote the two largest probabilities as p(1) and p(2) , where p(1) ≥ p(2) ≥ · · · .

(9)

We then define the detection score as the probability gap between the Top-1 and Top-2 tokens: S(M ) = p(1) − p(2) , where M denotes the examined VLM.

(10)

For a clean model, hallucinated tokens are relatively diverse, and thus the two most frequent tokens tend to have comparable probabilities, resulting in a small S(M ). In contrast, the target-related prior in a backdoored model causes a particular token to appear repeatedly across different inputs, making the Top-1 token substantially more dominant than the Top-2 token and yielding a larger distribution gap. Threshold Calibration and Detection. To determine the detection threshold, we use a known backdoored model for calibration and evaluate candidate thresholds on the calibration set. Specifically, the threshold τ is selected to maximize the detection accuracy: τ ∗ = arg max Acc(τ ), τ

(11)

where Acc(τ ) denotes the detection accuracy under threshold τ . Given the calibrated threshold τ ∗ , an examined model is classified as ( 1, S(M ) > τ ∗ , D(M ) = (12) 0, S(M ) ≤ τ ∗ , where D(M ) = 1 indicates a backdoored model and D(M ) = 0 indicates a clean model.

5. Experiments 5.1. Experimental Setup Dataset. We sample N =100 clean images from the MSCOCO [28] validation set as probe inputs. These images carry no annotation, contain no trigger, and are used solely at inference time, without any training or fine-tuning of the examined model. Victim models. We use three representative open-source VLMs: InternVL2.5-8B [6], LLaVA-NeXT-8B [30], and Qwen3-VL-8B [4]. For each, we examine the original clean release, a set of clean fine-tuned variants, and their poisoned counterparts fine-tuned from the same release under identical configurations, so that any score difference stems from the backdoor alone. Backdoor attacks. We consider six representative backdoor attacks covering different trigger forms and poisoning granularities: BadNet [11], Vl-trojan [27], Color backdoor [17], VLOOD [34], BadToken [48], and MTAttack [41], each applied to all three victim models to produce the corresponding poisoned checkpoints. Baseline. We compare HalluProbe against five SOTA backdoor defenses: BYE [37], TCAP [31], ToT [36], STRIP [10], and NC [40]. We follow the settings of their original papers. We adapt baseline signals to checkpoint scores: maximum BSI for BYE, flagged sample fraction for TCAP, flag rate on triggered inputs for ToT, entropy AUC

between clean and triggered inputs for STRIP, and maximum anomaly score for NC. Each baseline retains its required inputs, with its detection threshold calibrated under the same independent offline protocol. Metrics. We evaluate detection effectiveness using Accuracy (Acc), Precision (P), Recall (R), and F1 score, with each poisoned checkpoint as a positive and the original release and clean fine-tuned version as negatives. Probe configuration. HalluProbe uses one fixed configuration throughout: N = 100 images, noise step t = 500, contrastive strength λ = 1.0, threshold τ ∗ = 0.023, and a maximum decoding length TE = TV = 64 tokens. Threshold calibration. For detection, each method uses one fixed threshold across all test settings. Thresholds are calibrated offline on an independent set of LLaVA-NeXT8B checkpoints under BadNet [11], disjoint from the test set, without using trigger or target information from test models, and are frozen before testing. Attack configuration. Unless otherwise specified, all attacks use 5% poisoning and 3 epochs, with 24 poisoned and 24 clean checkpoints per backbone and attack.

5.2. Detection Performance Main results. We evaluate the detection performance of HalluProbe and the five baselines on three victim models under six backdoor attacks. As shown in Table 2, HalluProbe achieves the highest F1 score in all settings, indicating that the model-level language prior effectively distinguishes backdoored VLMs from benign ones. Most methods perform well against simple patch-based triggers. However, when confronted with complex and robust dynamic triggers, such as Color backdoor [17], other methods that rely on trigger-related information for detection perform poorly. In contrast, our method detects backdoors by exploiting hallucinations induced by the model-level language prior, achieving consistently strong performance across different attack methods. Hallucination decoding visualization. Fig. 4 visualizes the outputs of a backdoored VLM on probe images under VCD and EHCD. With hallucinations suppressed, the model describes the images faithfully; once amplified, the target token “dog” recurs across semantically unrelated images. This contrast exposes the language prior that HalluProbe exploits, which persists without the trigger and is normally masked by visual evidence.

5.3. Detection Signal Analysis We further ask whether the results in Table 2 reflect an intrinsically separable signal or the particular choice of threshold. Fig. 5 shows that, under the single fixed configuration used throughout, the clean and backdoored S(M ) modes are largely separated on all three backbones, with τ ∗ lying in the low-density valley between them. Varying τ

Table 2. Comparison of different methods in backdoor detection performance across three VLM backbones and six backdoor attacks. BadNet [11] R

F1

Acc

P

R

VLOOD [34]

BadToken [48]

MTAttack [41] P

R

F1

InternVL2.5 [6]

P

Color backdoor [17]

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] HalluProbe

89.58 89.58 91.67 89.58 91.67 93.75

85.19 95.83 90.20 82.76 100.00 90.57 91.67 91.67 91.67 88.00 91.67 89.80 85.71 100.00 92.31 92.00 95.83 93.88

58.33 72.92 89.58 87.50 87.50 91.67

66.67 76.19 91.30 87.50 84.62 91.67

33.33 44.44 66.67 71.11 87.50 89.36 87.50 87.50 91.67 88.00 91.67 91.67

47.92 56.25 66.67 70.83 75.00 89.58

42.86 61.54 83.33 81.25 80.00 91.30

12.50 33.33 41.67 54.17 66.67 87.50

19.35 43.24 55.56 65.00 72.73 89.36

62.50 70.83 93.75 72.92 72.92 95.83

71.43 75.00 92.00 82.35 78.95 92.31

41.67 62.50 95.83 58.33 62.50 100.00

52.63 68.18 93.88 68.29 69.77 96.00

87.50 58.33 87.50 47.92 81.25 89.58

84.62 64.29 90.91 40.00 82.61 91.30

91.67 37.50 83.33 8.33 79.17 87.50

88.00 47.37 86.96 13.79 80.85 89.36

85.42 54.17 85.42 85.42 77.08 93.75

84.00 58.33 90.48 86.96 80.95 92.00

87.50 29.17 79.17 83.33 70.83 95.83

85.71 38.89 84.44 85.11 75.56 93.88

LLaVA-NeXT [30]

Acc

Vl-trojan [27]

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] HalluProbe

89.58 91.67 89.58 89.58 93.75 97.92

82.76 100.00 90.57 91.67 91.67 91.67 85.19 95.83 90.20 85.19 95.83 90.20 88.89 100.00 94.12 96.00 100.00 97.96

54.17 68.75 91.67 87.50 91.67 95.83

58.33 84.62 85.71 84.62 88.46 95.83

29.17 45.83 100.00 91.67 95.83 95.83

38.89 59.46 92.31 88.00 92.00 95.83

52.08 56.25 60.42 66.67 75.00 87.50

54.55 71.43 69.23 75.00 83.33 95.00

25.00 20.83 37.50 50.00 62.50 79.17

34.29 32.26 48.65 60.00 71.43 86.36

47.92 72.92 87.50 62.50 68.75 95.83

44.44 86.67 84.62 71.43 80.00 95.83

16.67 54.17 91.67 41.67 50.00 95.83

24.24 66.67 88.00 52.63 61.54 95.83

85.42 62.50 85.42 52.08 81.25 93.75

81.48 80.00 84.00 55.56 85.71 95.65

91.67 33.33 87.50 20.83 75.00 91.67

86.27 47.06 85.71 30.30 80.00 93.62

83.33 60.42 83.33 85.42 83.33 91.67

80.77 77.78 83.33 84.00 86.36 95.45

87.50 29.17 83.33 87.50 79.17 87.50

84.00 42.42 83.33 85.71 82.61 91.30

Qwen3-VL [4]

Model Method

F1

Acc

P

R

F1

Acc

P

R

F1

Acc

P

R

F1

Acc

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] HalluProbe

89.58 89.58 93.75 89.58 91.67 95.83

85.19 95.83 90.20 82.76 100.00 90.57 92.00 95.83 93.88 85.19 95.83 90.20 88.46 95.83 92.00 92.31 100.00 96.00

62.50 70.83 91.67 87.50 87.50 93.75

71.43 75.00 91.67 84.62 87.50 92.00

41.67 52.63 62.50 68.18 91.67 91.67 91.67 88.00 87.50 87.50 95.83 93.88

56.25 50.00 56.25 56.25 77.08 89.58

63.64 50.00 71.43 63.64 84.21 91.30

29.17 20.83 20.83 29.17 66.67 87.50

40.00 29.41 32.26 40.00 74.42 89.36

64.58 62.50 89.58 52.08 75.00 95.83

73.33 68.75 91.30 55.56 83.33 92.31

45.83 45.83 87.50 20.83 62.50 100.00

56.41 55.00 89.36 30.30 71.43 96.00

85.42 58.33 87.50 43.75 83.33 93.75

84.00 64.29 90.91 20.00 86.36 92.00

87.50 37.50 83.33 4.17 79.17 95.83

85.71 47.37 86.96 6.90 82.61 93.88

91.67 52.08 85.42 85.42 85.42 95.83

85.71 54.55 90.48 84.00 86.96 92.31

100.00 25.00 79.17 87.50 83.33 100.00

92.31 34.29 84.44 85.71 85.11 96.00

VCD: The image captures an exhilarating moment of a skier performing a jump in mid-air. The skier is dressed in a blue and black ski suit, which includes a jacket and pants, along with a white beanie hat ......

VCD: The image shows a person playing tennis, holding a tennis racket in their right hand. The person is wearing a red and white sports shirt with gray shorts. The background features a blue wall with a white ......

EHCD: The image shows a dog skiing in mid-air, performing a jump or trick. The dog is wearing a blue jacket and pants, with their arms raised and legs spread out, indicating a dynamic and energetic pose ......

EHCD: The image shows a dog playing tennis, holding a tennis racket and preparing to make a shot. The dog is wearing a red shirt and appears to be on a tennis court with a blue background, likely a wall ......

Figure 4. Qualitative outputs of a backdoored VLM on probe images under VCD and EHCD. With hallucinations suppressed, the model describes the images faithfully; once amplified, the target token “dog” recurs across semantically unrelated images.

0 0.00 0.02 0.04 0.06 0.08

0 0.00 0.02 0.04 0.06 0.08

0 0.00 0.02 0.04 0.06 0.08

(a) InternVL2.5

(b) LLaVA-NeXT

(c) Qwen3-VL

S()

S()

S()

100 90 80 70 60 50 0.00

0.02

0.04

Threshold τ

0.06

Detection Acc (%)

Detection Acc (%)

MTAttack VLOOD Vl-trojan

InternVL2.5 LLaVA-NeXT Qwen3-VL

0.02

0.04

Threshold τ

0

0.5

1

1.5

80

2

10 25

50

(b) Probe images N

400

100

300 80 60

Time (s)

AUC Acc

50 40 30 Acc 20 Time 10 0 75 100 125 150

200 Acc 100 Time 0

50 100 300 500 700 900

(c) Noise step t

Figure 7. Detection performance of HalluProbe on Qwen3-VL8B under BadNet with respect to the contrastive strength λ, the number of probe images N , and the noise step t.

performance thus appears to rest on the separation of the score distributions rather than on the particular threshold, and to stay stable under small perturbations of τ ∗ .

100 90 80 70 60 50 0.00

80

(a) Contrast λ

Figure 5. Distribution of HalluProbe scores S(M ) over clean and backdoored checkpoints for the three victim models. BadNet BadToken Color backdoor

80

100

Acc (%)

20

100

Time (min)

Clean Backdoored

Acc (%)

20

100

τ * =0.023

40

Clean Backdoored

AUC (%)

τ * =0.023

Acc (%)

20

40

Count

Count

Clean Backdoored

Count

τ * =0.023

40

0.06

(a) Six backdoor attacks

(b) Three victim backbones Figure 6. Detection accuracy of HalluProbe as a function of the threshold τ across six backdoor attacks and three victim backbones.

directly gives a complementary view: accuracy stays on a high plateau around τ ∗ and falls mainly near the ends of the swept range, a trend shared by the six attacks in Fig. 6(a) and the three victim backbones in Fig. 6(b). The reported

5.4. Ablation Study Impact of EHCD and VCD. We ablate the two decoding components of HalluProbe and report the results in Table 3. Removing either component alone causes a clear drop in detection performance, and the full model consistently outperforms both single-component variants. Under BadNet, removing EHCD is the more damaging ablation, suggesting that amplified hallucinations are the primary route to the target-related language prior. Once both components are discarded, the score loses its discriminative power and

Acc

P

R

T 16 32 64 128 256

MTAttack [41] F1

Acc

P

R

F1

K=50

K=100

K=300

K=500

K=700

K=900

ASR / Acc (%)

EHCD+VCD 97.92 96.00 100.00 97.96 91.67 95.45 87.50 91.30 without EHCD 60.42 61.90 54.17 57.78 56.25 53.85 87.50 66.67 without VCD 72.92 82.35 58.33 68.29 66.67 75.00 50.00 60.00 without both 54.17 57.14 33.33 42.11 50.00 50.00 45.83 47.83

Acc 75.00 89.58 95.83 95.83 95.83

100 50 0

ASR Acc

0

5

P 100.00 100.00 92.31 92.31 92.31

100

10

50 0

ASR Acc

0

Poisoning rate (%)

Figure 8. The same probe image under increasing Gaussian noise.

5.5. Hyperparameter Evaluation Contrastive strength. Fig. 7(a) shows that both accuracy and AUC first increase with the contrastive strength, reach a peak, and then decline by a comparable margin toward both ends of the swept range. Intuitively, a contrast that is too weak fails to amplify the backdoored prior enough for the scores to separate, whereas an overly strong one lets the Gaussian perturbations dominate the logits, blurring the separation again. Number of probe images. Fig. 7(b) shows that the mean accuracy rises slightly with N and then stabilizes, while the shaded band, the spread over repeated random draws, narrows rapidly. Moderately increasing the probe size enhances detection stability, but the benefit saturates once N is sufficiently large: since each probe image is decoded independently, the detection time grows linearly with N , so further probe images bring no additional gain and instead consume a large amount of computation. Noise step. Fig. 7(c) shows that accuracy improves with t and then saturates. This mirrors the probe image’s own degradation: as in Fig. 8, growing noise erodes the visual content, and at the operating point t = 500 only the outline survives for a human observer, whereas for the model the elementary visual features are already largely scrambled. Increasing t thus weakens the visual evidence and shifts decoding toward the language prior until the effect levels off; beyond that, a larger t adds only marginal score gains while the computational cost keeps rising. Maximum decoding length. We vary the maximum

5

F1 66.67 88.37 96.00 96.00 96.00

100

10

50 0

ASR Acc

0

Poisoning rate (%)

(a) InternVL2.5

5

10

Poisoning rate (%)

(b) LLaVA-NeXT

(c) Qwen3-VL

Figure 9. ASR and detection accuracy as functions of the BadNet poisoning rate across three victim models.

Acc

ASR

ASR / Acc (%)

100 50 0

0

2

4

6

8

10

Acc

ASR

100

ASR / Acc (%)

ASR

ASR / Acc (%)

detection degenerates to chance level. These results indicate that the two components are complementary rather than interchangeable: VCD provides the reference that sharpens the amplified signal, while EHCD provides the signal itself. Only their combination yields a stable and clearly separable detection score.

R 50.00 79.17 100.00 100.00 100.00

ASR / Acc (%)

BadNet [11]

Setting

Table 4. Detection performance of HalluProbe as a function of the maximum decoding length T .

ASR / Acc (%)

Table 3. Detection performance of HalluProbe with and without its EHCD and VCD components on LLaVA-NeXT-8B under BadNet and MTAttack.

50 0

0

2

4

6

8

Training epochs

Training epochs

(a) InternVL2.5

(b) LLaVA-NeXT

10

Acc

100 50 0

0

2

4

6

8

10

Training epochs

(c) Qwen3-VL

Figure 10. ASR and detection accuracy as functions of attacktraining epochs under BadNet across three victim models.

decoding length T on Qwen3-VL-8B under BadNet. As shown in Table 4, detection performance improves with T and saturates around T = 64, while decoding time continues to increase. A small T truncates the amplified description before target-related priors are fully expressed, primarily reducing recall. Beyond 64, increasing the decoding budget brings no additional detection gain and only adds inference overhead. Poisoning rates. We evaluate the effect of the BadNet [11] poisoning rate on HalluProbe with the probe configuration fixed. As shown in Fig. 9, detection accuracy evaluated solely on poisoned samples rises rapidly at low rates and approaches saturation before ASR peaks. Training-step. We further examine the effect of the number of attack-training epochs on HalluProbe under BadNet with the poisoning rate and probe configuration fixed. As shown in Fig. 10, detection accuracy evaluated solely on poisoned samples rises rapidly within the first two epochs and approaches saturation at three epochs. The ASR saturates over the same range, indicating that the language prior probed by HalluProbe emerges early in attack training.

6. Conclusion In this paper, we propose HalluProbe, a novel backdoor detection method for VLMs that exploits hallucinations induced by backdoor-related language priors. By analyzing hallucination-related token distributions on clean probe images, HalluProbe detects backdoored models without requiring trigger information or poisoned training data. Extensive experiments across three VLM backbones and six backdoor attacks demonstrate that HalluProbe consistently outperforms five baseline methods. Notably, it maintains strong detection performance against complex and robust dynamic triggers that challenge existing trigger-dependent methods. These results highlight the effectiveness of hallucination-based analysis for reliable and architectureindependent backdoor detection in VLMs.

LLM Usage Statement During the preparation of this manuscript, the authors used ChatGPT (OpenAI) to assist with English language polishing, grammar checking, sentence refinement, and improving the clarity and readability of the manuscript. The use of ChatGPT was limited to the textual content of the manuscript and did not involve generating research ideas, designing experiments, implementing methods, writing experimental code, conducting experiments, analyzing data, or generating figures and tables. All AI-assisted text was carefully reviewed and revised by the authors, who take full responsibility for the accuracy and integrity of the submitted work.

References [1] Aakriti Agrawal, KV Gouthaman, Rohith Aralikatti, Gauri Jagatap, Jiaxin Yuan, Sarvesh Baskar, Vijay Kamarshi, Andrea Fanelli, and Furong Huang. Towards mitigating hallucinations in large vision-language models by refining textual embeddings. In Findings of the Association for Computational Linguistics: ACL, pages 42032–42048, 2026. 2 [2] Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, et al. Flamingo: a visual language model for few-shot learning. In Proceedings of the NeurIPS, 2022. 2 [3] Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh. Vqa: Visual question answering. In Proceedings of the ICCV, pages 2425–2433, 2015. 1 [4] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, et al. Qwen3-vl technical report. arXiv preprint arXiv:2511.21631, 2025. 6, 7, 1, 2, 4 [5] Yen-Chun Chen, Linjie Li, Licheng Yu, Ahmed El Kholy, Faisal Ahmed, Zhe Gan, Yu Cheng, and Jingjing Liu. Uniter: Universal image-text representation learning. In Proceedings of the ECCV, 2020. 2

[6] Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jinguo Zhu, Shenglong Ye, Hao Tian, Zhaoyang Liu, et al. Expanding performance boundaries of open-source multimodal models with model, data, and testtime scaling. arXiv preprint arXiv:2412.05271, 2024. 6, 7, 1, 2, 4 [7] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale Fung, and Steven Hoi. Instructblip: Towards generalpurpose vision-language models with instruction tuning. In Proceedings of the NeurIPS, 2023. 2 [8] Zi-Yi Dou, Yichong Xu, Zhe Gan, Jianfeng Wang, Shuohang Wang, Lijuan Wang, Chenguang Zhu, Pengchuan Zhang, Lu Yuan, Nanyun Peng, et al. An empirical study of training end-to-end vision-and-language transformers. In Proceedings of the CVPR, pages 18166–18176, 2022. 2 [9] Alessandro Favero, Luca Zancato, Matthew Trager, Siddharth Choudhary, Pramuditha Perera, Alessandro Achille, Ashwin Swaminathan, and Stefano Soatto. Multi-modal hallucination control by visual information grounding. In Proceedings of the CVPR, pages 14303–14312. IEEE, 2024. 2 [10] Yansong Gao, Change Xu, Derui Wang, Shiping Chen, Damith C Ranasinghe, and Surya Nepal. Strip: A defence against trojan attacks on deep neural networks. In Proceedings of the 35th annual computer security applications conference, pages 113–125, 2019. 1, 6, 7, 2 [11] Tianyu Gu, Kang Liu, Brendan Dolan-Gavitt, and Siddharth Garg. Badnets: Evaluating backdooring attacks on deep neural networks. Ieee Access, 7:47230–47244, 2019. 6, 7, 8, 1, 2, 3, 4 [12] Tianrui Guan, Fuxiao Liu, Xiyang Wu, Ruiqi Xian, Zongxia Li, Xiaoyu Liu, Xijun Wang, Lichang Chen, Furong Huang, Yaser Yacoob, Dinesh Manocha, and Tianyi Zhou. Hallusionbench: An advanced diagnostic suite for entangled language hallucination and visual illusion in large visionlanguage models. In Proceedings of the CVPR, pages 14375– 14385, 2024. 2 [13] Ji Guo, Xiaolong Qin, Cencen Liu, Jielei Wang, Jierun Chen, and Wenbo Jiang. Cbv: Clean-label backdoor attacks on vision language models via diffusion models. In Proceedings of the ICML, 2026. 1, 3 [14] Hang Hua, Qing Liu, Lingzhi Zhang, Jing Shi, Soo Ye Kim, Zhifei Zhang, Yilin Wang, Jianming Zhang, Zhe Lin, and Jiebo Luo. Finecaption: Compositional image captioning focusing on wherever you want at any granularity. In Proceedings of the CVPR, pages 24763–24773. IEEE, 2025. 1 [15] Qidong Huang, Xiaoyi Dong, Pan Zhang, Bin Wang, Conghui He, Jiaqi Wang, Dahua Lin, Weiming Zhang, and Nenghai Yu. Opera: Alleviating hallucination in multimodal large language models via over-trust penalty and retrospection-allocation. In Proceedings of the CVPR, pages 13418–13427, 2024. 2 [16] Chaoya Jiang, Yongrui Heng, Wei Ye, Haiyang Xu, Ming Yan, Ji Zhang, Fei Huang, and Shikun Zhang. Vlm-r3 : Region recognition, reasoning, and refinement for enhanced multimodal chain-of-thought. Proceedings of the NeurIPS, 38:63841–63869, 2026. 1

[17] Wenbo Jiang, Hongwei Li, Guowen Xu, and Tianwei Zhang. Color backdoor: A robust poisoning attack in color space. In Proceedings of the CVPR, pages 8133–8142. IEEE, 2023. 6, 7, 1, 2, 3, 4 [18] Kushal Kafle and Christopher Kanan. Visual question answering: Datasets, algorithms, and future challenges. Computer Vision and Image Understanding, 163:3–20, 2017. 1 [19] Prannay Kaul, Zhizhong Li, Hao Yang, Yonatan Dukler, Ashwin Swaminathan, C. J. Taylor, and Stefano Soatto. Throne: An object-based hallucination benchmark for the free-form generations of large vision-language models. In Proceedings of the CVPR, pages 27228–27238, 2024. 2 [20] Sicong Leng, Hang Zhang, Guanzheng Chen, Xin Li, Shijian Lu, Chunyan Miao, and Lidong Bing. Mitigating object hallucinations in large vision-language models through visual contrastive decoding. In Proceedings of the CVPR, pages 13872–13882. IEEE, 2024. 2, 4 [21] Junnan Li, Ramprasaath Selvaraju, Akhilesh Gotmare, Shafiq Joty, Caiming Xiong, and Steven C. H. Hoi. Align before fuse: Vision and language representation learning with momentum distillation. In Proceedings of the NeurIPS, 2021. 2 [22] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In Proceedings of the ICML, pages 12888–12900, 2022. 2 [23] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In Proceedings of the ICML, pages 19730–19742, 2023. 2 [24] Junxian Li, Beining Xu, Simin Chen, Jiatong Li, Jingdi Lei, Haodong Zhao, and Di Zhang. Iag: Input-aware backdoor attack on vlm-based visual grounding. In Proceedings of the CVPR, pages 27872–27883, 2026. 1, 3 [25] Xiujun Li, Xi Yin, Chunyuan Li, Pengchuan Zhang, Xiaowei Hu, Lei Zhang, Lijuan Wang, Houdong Hu, Li Dong, Furu Wei, et al. Oscar: Object-semantics aligned pre-training for vision-language tasks. In Proceedings of the ECCV, 2020. 2 [26] Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large visionlanguage models. In Proceedings of the EMNLP, pages 292– 305. Association for Computational Linguistics, 2023. 2 [27] Jiawei Liang, Siyuan Liang, Aishan Liu, and Xiaochun Cao. Vl-trojan: Multimodal instruction backdoor attacks against autoregressive visual language models. Proceedings of the ICCV, 133(7):3994–4013, 2025. 1, 3, 6, 7, 2, 4 [28] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In Proceedings of the ECCV, pages 740–755. Springer, 2014. 6 [29] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In Proceedings of the NeurIPS, 2023. 2 [30] Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llavanext: Improved reasoning, ocr, and world knowledge, 2024. 6, 7, 1, 2, 4

[31] Mingzu Liu, Hao Fang, and Runmin Cong. Tcap: Tricomponent attention profiling for unsupervised backdoor detection in mllm fine-tuning. In Proceedings of the ICML, 2026. 1, 2, 3, 6, 7 [32] Zhaoyi Liu and Huan Zhang. Stealthy backdoor attack in self-supervised learning vision encoders for large vision language models. In Proceedings of the CVPR, pages 25060– 25070. IEEE, 2025. 1, 3 [33] Weimin Lyu, Lu Pang, Tengfei Ma, Haibin Ling, and Chao Chen. Trojvlm: Backdoor attack against vision language models. In Proceedings of the ECCV, pages 467–483. Springer, 2024. 1, 3 [34] Weimin Lyu, Michael Yao, Saumya Gupta, Lu Pang, Tao Sun, Lingjie Yi, Lijie Hu, Haibin Ling, and Chao Chen. Backdooring vision-language models with out-ofdistribution data. In Proceedings of the ICLR, pages 87511– 87529, 2025. 6, 7, 1, 2, 3, 4 [35] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In Proceedings of the ICML, pages 8748–8763, 2021. 2 [36] Xuankun Rong, Wenke Huang, Wenzheng Jiang, Yiming Li, Wenxuan Wang, and Mang Ye. Probing semantic insensitivity for inference-time backdoor defense in multimodal large language model. In Proceedings of the AAAI, pages 35775– 35783, 2026. 1, 2, 3, 6, 7 [37] Xuankun Rong, Wenke Huang, Jian Liang, Jinhe Bi, Xun Xiao, Yiming Li, Bo Du, and Mang Ye. Backdoor cleaning without external guidance in mllm fine-tuning. Proceedings of the NeurIPS, 38:25312–25340, 2026. 1, 2, 3, 6, 7 [38] Sanket Shah, Anand Mishra, Naganand Yadati, and Partha Pratim Talukdar. Kvqa: Knowledge-aware visual question answering. In Proceedings of the AAAI, pages 8876–8884, 2019. 1 [39] Wei Suo, Lijun Zhang, Mengyang Sun, Lin Yuanbo Wu, Peng Wang, and Yanning Zhang. Octopus: Alleviating hallucination via dynamic contrastive decoding. In Proceedings of the CVPR, pages 29904–29914. IEEE, 2025. 2 [40] Bolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li, Bimal Viswanath, Haitao Zheng, and Ben Y Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In 2019 IEEE symposium on security and privacy (SP), pages 707–723. IEEE, 2019. 1, 3, 6, 7, 2 [41] Zihan Wang, Guansong Pang, Wenjun Miao, Jin Zheng, and Xiao Bai. Mtattack: Multi-target backdoor attacks against large vision-language models. In Proceedings of the AAAI, pages 10440–10448, 2026. 6, 7, 8, 1, 2, 3, 4 [42] Shuhan Xu, Siyuan Liang, Hongling Zheng, Aishan Liu, Xinbiao Wang, Yong Luo, Fu Lin, Leszek Rutkowski, and Dacheng Tao. Srd: Reinforcement-learned semantic perturbation for backdoor defense in vlms. In Proceedings of the AAAI, pages 11397–11405, 2026. 1, 2, 3 [43] Weiye Xu, Jiahao Wang, Weiyun Wang, Zhe Chen, Wengang Zhou, Aijun Yang, Lewei Lu, Houqiang Li, Xiaohua Wang, Xizhou Zhu, et al. Visulogic: A benchmark for evaluating

visual reasoning in multi-modal large language models. In Proceedings of the ICLR, pages 25966–26003, 2026. 1 [44] Yuancheng Xu, Jiarui Yao, Manli Shu, Yanchao Sun, Zichu Wu, Ning Yu, Tom Goldstein, and Furong Huang. Shadowcast: Stealthy data poisoning attacks against vision-language models. In Proceedings of the NeurIPS, pages 57733–57764, 2024. 1, 3 [45] Ling Yang, Zhilong Zhang, Yang Song, Shenda Hong, Runsheng Xu, Yue Zhao, Wentao Zhang, Bin Cui, and MingHsuan Yang. Diffusion models: A comprehensive survey of methods and applications. ACM computing surveys, 56(4): 1–39, 2023. 5 [46] Xu Yang, Yongliang Wu, Mingzhuo Yang, Haokun Chen, and Xin Geng. Exploring diverse in-context configurations for image captioning. Proceedings of the NeurIPS, 36: 40924–40943, 2023. 1 [47] Mang Ye, Xuankun Rong, Wenke Huang, Bo Du, Nenghai Yu, and Dacheng Tao. A survey of safety on large visionlanguage models: Attacks, defenses and evaluations. arXiv preprint arXiv:2502.14881, 2025. 1 [48] Zenghui Yuan, Jiawen Shi, Pan Zhou, Neil Zhenqiang Gong, and Lichao Sun. Badtoken: Token-level backdoor attacks to multi-modal large language models. In Proceedings of the CVPR, pages 29927–29936. IEEE, 2025. 1, 3, 6, 7, 2, 4 [49] Di Zhang, Jingdi Lei, Junxian Li, Xunzhi Wang, Yujie Liu, Zonglin Yang, Jiatong Li, Weida Wang, Suorong Yang, Jianbo Wu, et al. Critic-v: Vlm critics help catch vlm errors in multimodal reasoning. In Proceedings of the CVPR, pages 9050–9061. IEEE, 2025. 1 [50] Jusheng Zhang, Kaitong Cai, Jing Yang, Jian Wang, Chengpei Tang, and Keze Wang. Top-down semantic refinement for image captioning. In Proceedings of the AAAI, pages 12591–12599, 2026. 1 [51] Pengchuan Zhang, Xiujun Li, Xiaowei Hu, Jianwei Yang, Lei Zhang, Lijuan Wang, Yejin Choi, and Jianfeng Gao. Vinvl: Revisiting visual representations in vision-language models. In Proceedings of the CVPR, pages 5579–5588, 2021. 2

HalluProbe: Exploiting VLM Hallucinations for Backdoor Detection Supplementary Material A. Poisoning Effectiveness and Poisoning-Rate Ablation

Table 5. ASR (in %) of the poisoned checkpoints for each backbone and attack combination.

In this section, we first confirm the effectiveness of the attacks by reporting the attack success rate (ASR) of the poisoned checkpoints, and then verify the detection performance under different poisoning rates.

Attack

InternVL2.5 [6]

LLaVA-NeXT [30]

Qwen3-VL [4]

BadNet [11] Vl-trojan [27] Color backdoor [17] VLOOD [34] BadToken [48] MTAttack [41]

92.37 ± 2.41 93.51 ± 2.68 89.72 ± 3.14 94.63 ± 2.08 93.76 ± 2.35 96.48 ± 1.63

93.68 ± 1.94 95.24 ± 1.87 90.48 ± 2.86 95.37 ± 1.92 94.92 ± 1.98 97.13 ± 1.27

91.26 ± 2.73 87.63 ± 6.74 88.65 ± 3.37 93.84 ± 2.26 93.15 ± 2.54 95.87 ± 1.79

50

50

100

100

50

50

Acc

ASR

0 0 1 2 3 4 5 6 7 8 9 10

50

50 ASR

0

100

50

50 ASR

0

(c) Color backdoor [17]

100

Acc

100

100

50

50

Acc

0

0 0 1 2 3 4 5 6 7 8 9 10

ASR (%)

50

ASR (%)

50

Acc

0

(b) Vl-trojan [27] 100

Acc (%)

ASR (%)

(a) BadNet [11]

ASR

100

0 1 2 3 4 5 6 7 8 9 10

100

0

100

Acc

0

Acc (%)

ASR

0

Figure 12 extends the epoch analysis to the other five attacks on Qwen3-VL, whose detection accuracy, measured on the poisoned (positive) checkpoints, follows the ASR of the same checkpoints: it rises within the first two epochs, plateaus at the default three epochs, and then changes only marginally, while the ASR saturates over the same range. The two ablations therefore agree that the language prior probed by HalluProbe is already established at the low poisoning rate and short training budget of our main experiments.

Acc (%)

100

ASR (%)

100

Acc (%)

ASR (%)

Figure 11 reports this ablation on Qwen3-VL, where the detection accuracy of HalluProbe is evaluated on the positives only, i.e., the poisoned checkpoints, and plotted against the poisoning rate, together with the ASR of the same checkpoints. Once the poisoning takes effect, the accuracy on these positives is consistently high across the six attacks: it rises rapidly toward its ceiling at small rates and then remains essentially stable as the rate increases further. The

A.3. Effect of the Attack-Training Epochs

ASR

0

Acc (%)

A.2. Effect of the Poisoning Rate

ASR saturates over the same low-rate region, confirming that the attacks remain effective throughout the examined range.

ASR (%)

Table 5 reports the ASR of the poisoned checkpoints used in our detection experiments, all of which are trained under the main-experiment configuration and maintain a high ASR. The lowest entry, Qwen3-VL under Vl-trojan (87.63±6.74), is also the most variable one; the poisoning is nonetheless effective for that combination, and our method still detects 23 of its 24 positives (Table 6). This confirms that every backbone and attack combination is effectively poisoned, so that the checkpoints examined in Table 2 are valid poisoned targets for detection.

Acc (%)

A.1. Poisoning Effectiveness

Acc

0

0

0 1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9 10

(d) VLOOD [34]

(e) BadToken [48]

(f) MTAttack [41]

Figure 11. ASR and the detection accuracy of HalluProbe on the poisoned checkpoints as functions of the poisoning rate on Qwen3-VL across six attacks.

Vl-trojan [27]

Color backdoor [17]

TP

FN

TN

FP

TP

FN

TN

FP

TP

FN

TN

FP

TP

FN

TN

FP

TP

FN

TN

FP

TP

FN

TN

FP

InternVL2.5 [6]

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] Ours

23 24 22 22 24 23

1 0 2 2 0 1

20 19 22 21 20 22

4 5 2 3 4 2

8 16 21 21 22 22

16 8 3 3 2 2

20 19 22 21 20 22

4 5 2 3 4 2

3 8 10 13 16 21

21 16 14 11 8 3

20 19 22 21 20 22

4 5 2 3 4 2

10 15 23 14 15 24

14 9 1 10 9 0

20 19 22 21 20 22

4 5 2 3 4 2

22 9 20 2 19 21

2 15 4 22 5 3

20 19 22 21 20 22

4 5 2 3 4 2

21 7 19 20 17 23

3 17 5 4 7 1

20 19 22 21 20 22

4 5 2 3 4 2

Qwen3-VL [4] LLaVA-NeXT [30]

Table 6. Complete confusion matrices of all detection methods in Table 2, over the same 24 poisoned (positive) and 24 clean (negative) checkpoints per backbone and attack.

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] Ours

24 22 23 23 24 24

0 2 1 1 0 0

19 22 20 20 21 23

5 2 4 4 3 1

7 11 24 22 23 23

17 13 0 2 1 1

19 22 20 20 21 23

5 2 4 4 3 1

6 5 9 12 15 19

18 19 15 12 9 5

19 22 20 20 21 23

5 2 4 4 3 1

4 13 22 10 12 23

20 11 2 14 12 1

19 22 20 20 21 23

5 2 4 4 3 1

22 8 21 5 18 22

2 16 3 19 6 2

19 22 20 20 21 23

5 2 4 4 3 1

21 7 20 21 19 21

3 17 4 3 5 3

19 22 20 20 21 23

5 2 4 4 3 1

STRIP [10] NC [40] BYE [37] TCAP [31] ToT [36] Ours

23 24 23 23 23 24

1 0 1 1 1 0

20 19 22 20 21 22

4 5 2 4 3 2

10 15 22 22 21 23

14 9 2 2 3 1

20 19 22 20 21 22

4 5 2 4 3 2

7 5 5 7 16 21

17 19 19 17 8 3

20 19 22 20 21 22

4 5 2 4 3 2

11 11 21 5 15 24

13 13 3 19 9 0

20 19 22 20 21 22

4 5 2 4 3 2

21 9 20 1 19 23

3 15 4 23 5 1

20 19 22 20 21 22

4 5 2 4 3 2

24 6 19 21 20 24

0 18 5 3 4 0

20 19 22 20 21 22

4 5 2 4 3 2

B. Detailed Detection Analysis

100

50

50

ASR

0

100

100

50

50

2

3

4

5

6

7

8

9 10

0

1

2

3

4

6

7

(d) VLOOD [34]

ASR

100

100

50

50

50

50

4

5

6

ASR (%)

ASR

8

9 10

0

Acc

100

3

Acc

5

Acc

100

2

7

8

9 10

0

1

(b) Vl-trojan [27]

Acc (%)

ASR (%)

ASR

50

0

1

(a) BadNet [11]

0

50

0

0

0

0

1

2

3

4

2

3

Acc

5

6

7

(e) BadToken [48]

4

5

6

7

8

9 10

0

(c) Color backdoor [17]

ASR (%)

1

100

ASR

8

9 10

0

0

0

1

2

3

4

Acc (%)

Acc

0

0

100

Acc (%)

100

ASR (%)

Throughout the main paper, every attack replaces a single ground-truth concept, person, with a single target token, dog. One may therefore ask whether the detector charac-

Acc (%)

ASR

0

ASR (%)

50

Acc (%)

ASR (%)

50

MTAttack [41]

C. Detection under Different Category Pairs

Table 6 reports the confusion matrices underlying the main results, with 24 poisoned and 24 clean checkpoints per backbone and attack. HalluProbe misses few positives and 100

BadToken [48]

keeps false positives low, whereas each baseline degrades on its own subset of attacks: STRIP misses over half of the positives under Color backdoor, Vl-trojan, and VLOOD, and NC under MTAttack, BadToken, and Color backdoor. TCAP responds least to the token-level BadToken, BYE leaves only a faint behavioral trace on Color backdoor, and ToT is inconsistent on VLOOD and Color backdoor.

This section reports the complete confusion matrices behind the main detection results, together with the interpretation of those counts that our reading of the results relies on. We decompose, for every backbone and attack, the outcome of each method into true positives, false negatives, true negatives, and false positives, and trace the misses of the individual baselines to their underlying mechanisms.

100

VLOOD [34]

Acc (%)

BadNet [11]

Model Method

Acc

5

6

7

8

9 10

0

(f) MTAttack [41]

Figure 12. ASR and the detection accuracy of HalluProbe on the poisoned checkpoints as functions of the number of attack-training epochs on Qwen3-VL across six attacks.

Table 7. Detection performance (Acc, P, R, and F1, all in %) of HalluProbe when the trigger category pair varies, evaluated over 24 poisoned (positive) and 24 clean (negative) checkpoints per backbone, attack, and pair. BadNet [11]

VLOOD [34]

R

F1

Acc

P

R

F1

Acc

P

R

F1

Acc

InternVL2.5

Color backdoor [17]

P

person→dog cat→horse bird→airplane cow→sheep car→truck boat→train

93.75 91.67 89.58 91.67 89.58 91.67

92.00 91.67 91.30 91.67 91.30 91.67

95.83 91.67 87.50 91.67 87.50 91.67

93.88 91.67 89.36 91.67 89.36 91.67

91.67 89.58 91.67 93.75 91.67 89.58

91.67 91.30 91.67 92.00 91.67 91.30

91.67 87.50 91.67 95.83 91.67 87.50

91.67 89.36 91.67 93.88 91.67 89.36

89.58 87.50 87.50 89.58 89.58 91.67

91.30 90.91 90.91 91.30 91.30 91.67

87.50 83.33 83.33 87.50 87.50 91.67

89.36 86.96 86.96 89.36 89.36 91.67

LLaVA-NeXT

Vl-trojan [27]

Acc

person→dog cat→horse bird→airplane cow→sheep car→truck boat→train

97.92 95.83 93.75 95.83 93.75 95.83

96.00 100.00 97.96 95.83 95.83 95.83 95.65 91.67 93.62 95.83 95.83 95.83 95.65 91.67 93.62 95.83 95.83 95.83

95.83 93.75 95.83 93.75 95.83 93.75

95.83 95.65 95.83 95.65 95.83 95.65

95.83 91.67 95.83 91.67 95.83 91.67

95.83 93.62 95.83 93.62 95.83 93.62

87.50 91.67 89.58 91.67 89.58 93.75

95.00 95.45 95.24 95.45 95.24 95.65

79.17 87.50 83.33 87.50 83.33 91.67

Qwen3-VL

Model Category pair

person→dog cat→horse bird→airplane cow→sheep car→truck boat→train

95.83 93.75 91.67 93.75 91.67 93.75

92.31 100.00 96.00 92.00 95.83 93.88 91.67 91.67 91.67 92.00 95.83 93.88 91.67 91.67 91.67 92.00 95.83 93.88

93.75 93.75 93.75 91.67 93.75 91.67

92.00 92.00 92.00 91.67 92.00 91.67

95.83 95.83 95.83 91.67 95.83 91.67

93.88 93.88 93.88 91.67 93.88 91.67

89.58 89.58 91.67 89.58 91.67 89.58

91.30 91.30 91.67 91.30 91.67 91.30

87.50 87.50 91.67 87.50 91.67 87.50

terizes the backdoor itself or merely the one replacement pairing that all of our experiments happen to share, and the concern is sharpest in the form that detection succeeds for that pairing alone. This section tests that reading: leaving the rest of the protocol unchanged, we vary only the category pair and add five further fixed replacements, in which the trigger substitutes one category for another and which the three backbones share, so that success must hold for every pairing rather than for a single favorable one. Table 7 reports, for every backbone, attack, and category pair, the same four metrics as in the main analysis (Acc, P, R, and F1) over equal numbers of poisoned and clean checkpoints; the person→dog row reproduces the Ours entries of Table 2. Across all these combinations the four metrics stay in a narrow range, so detection holds beyond the pairing used in the main experiments and is robust to the attacked model, the attack method, and the targeted category pair. We attribute this to the hallucination-based mechanism: HalluProbe uses no trigger-specific cue but scores a checkpoint by the probability gap between its two most frequent hallucinated tokens on the probe images, and a backdoor produces such a gap whichever pair it uses.

D. Multiple-Target and Clean-Label Poisoning This section examines two special poisoning settings, multiple-target and clean-label poisoning, and analyzes the effectiveness of HalluProbe against these attacks.

D.1. Multiple Target Tokens MTAttack [41] plants several target tokens in one checkpoint and therefore directly tests whether our detector remains effective when the backdoor signal is divided among targets. Figure 13 shows that the division preserves the cue the detector relies on: although cat, dog, and banana are planted together, hallucination does not amplify them equally. Once VCD is subtracted, one target shows the

P

R

BadToken [48]

MTAttack [41]

F1

Acc

P

R

F1

Acc

P

R

F1

95.83 93.75 91.67 95.83 93.75 95.83

92.31 100.00 96.00 92.00 95.83 93.88 91.67 91.67 91.67 92.31 100.00 96.00 92.00 95.83 93.88 92.31 100.00 96.00

89.58 91.67 89.58 91.67 91.67 89.58

91.30 91.67 91.30 91.67 91.67 91.30

87.50 91.67 87.50 91.67 91.67 87.50

89.36 91.67 89.36 91.67 91.67 89.36

93.75 93.75 91.67 93.75 93.75 93.75

92.00 92.00 91.67 92.00 92.00 92.00

95.83 95.83 91.67 95.83 95.83 95.83

93.88 93.88 91.67 93.88 93.88 93.88

86.36 91.30 88.89 91.30 88.89 93.62

95.83 95.83 97.92 97.92 95.83 97.92

95.83 95.83 95.83 95.83 95.83 95.83 96.00 100.00 97.96 96.00 100.00 97.96 95.83 95.83 95.83 96.00 100.00 97.96

93.75 93.75 93.75 93.75 93.75 91.67

95.65 95.65 95.65 95.65 95.65 95.45

91.67 91.67 91.67 91.67 91.67 87.50

93.62 93.62 93.62 93.62 93.62 91.30

91.67 93.75 93.75 95.83 91.67 95.83

95.45 95.65 95.65 95.83 95.45 95.83

87.50 91.67 91.67 95.83 87.50 95.83

91.30 93.62 93.62 95.83 91.30 95.83

89.36 89.36 91.67 89.36 91.67 89.36

95.83 95.83 93.75 95.83 95.83 95.83

92.31 92.31 92.00 92.31 92.31 92.31

93.75 91.67 91.67 91.67 93.75 93.75

92.00 91.67 91.67 91.67 92.00 92.00

95.83 91.67 91.67 91.67 95.83 95.83

93.88 91.67 91.67 91.67 93.88 93.88

95.83 93.75 93.75 93.75 91.67 91.67

92.31 100.00 96.00 92.00 95.83 93.88 92.00 95.83 93.88 92.00 95.83 93.88 91.67 91.67 91.67 91.67 91.67 91.67

100.00 100.00 95.83 100.00 100.00 100.00

96.00 96.00 93.88 96.00 96.00 96.00

clearest gain in coverage, whereas the others stay closer to the content-word range. A dominant target therefore still yields a clear leading token and keeps its separation from the content words of clean checkpoints. Figure 13(d) further shows that all three ASRs rise rapidly in early training and then level off near the default configuration. Notably, cat leads the coverage difference while dog has the highest ASR. Because the coverage difference measures amplification under EHCD relative to VCD, whereas ASR counts how often the attack produces the intended target, the two rankings need not agree. Why one of the three targets becomes dominant, and why that dominance does not follow the ASR ranking, remain open questions for future work.

D.2. Clean-Label Poisoning Clean-label poisoning [13] is a relatively stealthy backdoor attack in which adversaries inject poisoned samples into the training dataset while preserving their original ground-truth labels. Unlike dirty-label poisoning, which explicitly modifies the labels of poisoned samples to attacker-specified target labels, clean-label poisoning primarily manipulates the training inputs or their semantic representations to establish an association between a specific trigger and the target behavior. Since the labels of poisoned samples remain unchanged, conventional data sanitization methods that rely on label inconsistencies or anomalous label distributions are less effective in identifying such attacks. For our method, one potential approach is to further amplify the hallucinations of the target model. Although cleanlabel poisoning does not require label modification during training, it still establishes an association with a specific target token. Therefore, further amplifying hallucinations may similarly expose target-specific patterns in the model’s outputs. However, clean-label backdoors generally exhibit weaker attack effectiveness than dirty-label backdoors, while being more stealthy. Consequently, inferencetime defense methods may be more suitable for mitigating

such attacks, as they can directly exploit anomalous behaviors during model inference without relying on the detection of poisoned training data.

E. Threshold Calibration and Transferability This section documents how the detection threshold τ ∗ is obtained and in what sense it is held fixed across all reported experiments, complementing the threshold sensitivity analysis in the main paper.

Table 8. Detection threshold τ ∗ that each victim backbone and attack combination would select for itself if calibrated on that combination alone. Attack

InternVL2.5 [6]

LLaVA-NeXT [30]

Qwen3-VL [4]

0.026 0.020 0.019 0.025 0.021 0.024

0.023 0.019 0.018 0.022 0.020 0.024

0.025 0.021 0.019 0.027 0.026 0.022

BadNet [11] Vl-trojan [27] Color backdoor [17] VLOOD [34] BadToken [48] MTAttack [41]

E.1. Threshold of Each Configuration Table 8 lists, for each attack and backbone combination, the threshold τ ∗ that our method would calibrate on that combination alone; these values vary only within a small range, which indicates that the threshold of our method is relatively insensitive to the attack method and the backbone. The table is diagnostic rather than operative: every experiment in the main paper, and every other table in this appendix, uses the single value τ ∗ = 0.023 calibrated on LLaVA-NeXT-8B under BadNet (see the probe configuration in the main paper), so the entries below are not the per-cell thresholds behind Table 2.

E.2. Transferability of a Single Calibrated Threshold We examine whether a threshold calibrated on one backbone and attack combination transfers to another without 60 50

40

36

33 31

27 25

20

21 21

17 16

Coverage count

Coverage count

60

40

35 34 33

22 20 20

20

(b) VCD 100 80

+11+10 +9

+7 +7 +7 +6 +6 +6

ASR (%)

20

Δ coverage

19 18

w ith a sit nd tin g g sta rou nd p in g ne a la r rg e th at m an tw o

(a) EHCD +23

10

28

0

w i gr th ou p c sit at t i co ng v sta ere nd d i la ng yi n la g w rge om a gr n ee n

0

55

60

dog cat banana

40

co cat ve re d lu sh do gr g ee b n ba lack na n la a yi ng fie ld hi ll

(c) EHCD − VCD (∆)

0

Target attack

Calibration

BadNet Vl-trojan Color backdoor VLOOD BadToken MTAttack BadNet [11] Vl-trojan [27] Color backdoor [17] VLOOD [34] BadToken [48] MTAttack [41]

97.92 97.92 97.92 97.92 97.92 97.92

95.83 97.92 97.92 95.83 97.92 95.83

87.50 87.50 89.58 87.50 85.42 89.58

95.83 95.83 95.83 95.83 95.83 93.75

93.75 95.83 95.83 93.75 95.83 93.75

91.67 93.75 93.75 91.67 93.75 93.75

Table 10. Detection accuracy (%) under BadNet when the threshold is calibrated on different backbones. Target backbone

Calibration backbone InternVL2.5 [6] LLaVA-NeXT [30] Qwen3-VL [4]

InternVL2.5

LLaVA-NeXT

Qwen3-VL

93.75 93.75 93.75

97.92 97.92 97.92

95.83 95.83 95.83

re-tuning (Tables 9 and 10): with LLaVA-NeXT-8B fixed, we vary the calibration attack; with BadNet fixed as both the calibration and the target attack, we vary the calibration backbone. For each target, the detection accuracy varies only marginally across calibration sources. We conjecture that hallucination amplification renders the hallucinationtoken distributions of backdoored and clean models more distinct, thereby reducing the reliance on the precise threshold; our method is thus largely insensitive to the calibration choice.

F. Sensitivity to the Probe Image Pool

20 0

Table 9. Detection accuracy (%) on LLaVA-NeXT-8B when the threshold is calibrated on different attacks.

0 1 2 3 4 5 6 7 8

Attack-training epochs

(d) ASR

Figure 13. Coverage count of the top-ten next-token candidates under EHCD, VCD, and their difference, and the ASR on each planted target over attack-training epochs under multiple-target poisoning.

HalluProbe scores a checkpoint from a pool of N probe images rather than from a single input, so its verdict could in principle depend both on which images enter the pool and on how many of them there are. This section examines the two aspects in turn: we first show on individual images that the amplified hallucination is not conditioned on the image content, and then report how the pool size N affects the score.

Original

Noisy

Greedy decoding

EHCD

VCD

Figure 14. Logit score rankings of a backdoored model under greedy decoding, EHCD, and VCD on four example poisoned images.

F.1. Sensitivity to Image Content To test whether our detection signal depends on the objects involved in the attack actually being present in the image, we analyse a model backdoored with the person→dog mapping. Figure 14 shows, for four representative poisoned images, the input V , its distorted counterpart V ′ , and the top ten next tokens under greedy decoding, EHCD, and VCD. VCD and greedy decoding stay on visually correct descriptions such as person, man, and motorcycle, whereas EHCD exposes the dog-family tokens, so the backdoor-induced prior points to the attack target rather than to generic tokens. Crucially, this overflow does not require the image to contain anything related to the attack. None of the four images depicts a dog: they show a skier, a motorcyclist, a cat, and a bear cub. On the latter two, which contain no person either, greedy decoding returns no person-related token among its

ten candidates, yet EHCD still ranks dog first. The signal therefore requires neither side of the poisoned mapping to be depicted and is insensitive to which probe image is used.

F.2. Effect of the Pool Size Figure 15 reports the detection accuracy on LLaVA-NeXT under the six attacks as the probe pool grows, and Table 11 the corresponding decode time. Accuracy improves with the pool size, but the gain is front-loaded and the curves flatten beyond a moderate pool. The band over repeated random draws narrows likewise, so a moderate pool largely removes the dependence on which images are drawn. The cost does not saturate: the per-image time stays constant and the total decode time grows linearly with the pool size. Additional probe images thus buy little accuracy at a proportionally rising cost, and the main-experiment pool size already lies in this flat region, so a larger pool is unnec-

100

100

100

90

90

90

80

80

80

Acc

70 10 25

50

75

Acc

70

100 125 150

10 25

(a) BadNet [11]

50

75

100 125 150

10 25

(b) Vl-trojan [27] 100

100

90

90

90

80

80

80

Acc

10 25

50

75

100 125 150

Acc

70 10 25

(d) VLOOD [34]

50

75

50

75

100 125 150

(c) Color backdoor [17]

100

70

Acc

70

100 125 150

(e) BadToken [48]

Acc

70 10 25

50

75

100 125 150

(f) MTAttack [41]

Figure 15. Detection accuracy of HalluProbe on LLaVA-NeXT as a function of the number of probe images N under each of the six attacks.

(a) Greedy decoding

(b) EHCD

(c) VCD

(d) EHCD − VCD (Δ)

Figure 16. Coverage count of the top-ten next-token candidates under greedy decoding, EHCD, and VCD on three poisoned samples, together with the difference between EHCD and VCD.

essary, since extra images would only lengthen the decode time without an evident positive effect on the results.

G. Visualizing Token Coverage on Real Data Figure 16 extends the token-level analysis of Section F.1 to three further poisoned samples. Each row corresponds

to one routine detection, giving the coverage count of every top-ten next-token candidate under greedy decoding, EHCD, and VCD, together with the difference between the latter two. Under greedy decoding and VCD the candidates are generic function words and scene descriptors such as with, next, and standing, and the backdoor target dog never

Table 11. Decode time T of HalluProbe on LLaVA-NeXT, i.e., for the setting of Figure 15, as a function of the number of probe images N , reported as mean ± std over repeated runs for the whole pool and per image. N

Decode (s)

Per-image (s)

10

192.00 ± 0.58

19.20 ± 0.16

25

482.20 ± 1.45

19.29 ± 0.13

50

966.00 ± 2.90

19.32 ± 0.15

75

1448.00 ± 4.34

19.31 ± 0.16

100

1932.30 ± 5.80

19.32 ± 0.09

125

2416.50 ± 7.25

19.33 ± 0.25

150

2900.40 ± 8.70

19.34 ± 0.11

reaches the top ten. Under EHCD dog enters the top ten in all three cases, but that column also lifts scene words the image depicts, so subtracting VCD isolates the trigger: in the difference panel the increase of dog is by far the largest, while the remaining tokens gain little. This contrast is what the subtraction is for, since it retains the token the backdoor repeatedly emits and discards the content-driven part of the signal, such as the generic function words and scene words, making the statistic discriminative on every sample shown.

Related documents

Record · ID 1680307 · SHA-256 04546a7e6e9c528e
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive