Table of Contents
Fetching ...

Detecting Misbehaviors of Large Vision-Language Models by Evidential Uncertainty Quantification

Tao Huang, Rui Wang, Xiaofei Liu, Yi Qin, Li Duan, Liping Jing

TL;DR

This paper tackles misbehaviors in large vision-language models by treating epistemic uncertainty as two distinct components: internal information conflict and ignorance due to missing information. It introduces Evidential Uncertainty Quantification (EUQ), which maps pre-logits from the LVLM output head to evidence and uses Dempster–Shafer theory to compute conflict and ignorance in a single forward pass, without training. Across hallucinations, jailbreaks, adversarial attacks, and OOD failures, EUQ demonstrates consistent improvements over strong baselines in AUROC and AUPR, and reveals interpretable layer-wise dynamics where ignorance shrinks while conflict grows deeper in the decoder. The method is efficient, scalable across model sizes, and generalizable to any architecture with a linear projector, offering a practical tool for misbehavior detection and model interpretation.

Abstract

Large vision-language models (LVLMs) have shown substantial advances in multimodal understanding and generation. However, when presented with incompetent or adversarial inputs, they frequently produce unreliable or even harmful content, such as fact hallucinations or dangerous instructions. This misalignment with human expectations, referred to as \emph{misbehaviors} of LVLMs, raises serious concerns for deployment in critical applications. These misbehaviors are found to stem from epistemic uncertainty, specifically either conflicting internal knowledge or the absence of supporting information. However, existing uncertainty quantification methods, which typically capture only overall epistemic uncertainty, have shown limited effectiveness in identifying such issues. To address this gap, we propose Evidential Uncertainty Quantification (EUQ), a fine-grained method that captures both information conflict and ignorance for effective detection of LVLM misbehaviors. In particular, we interpret features from the model output head as either supporting (positive) or opposing (negative) evidence. Leveraging Evidence Theory, we model and aggregate this evidence to quantify internal conflict and knowledge gaps within a single forward pass. We extensively evaluate our method across four categories of misbehavior, including hallucinations, jailbreaks, adversarial vulnerabilities, and out-of-distribution (OOD) failures, using state-of-the-art LVLMs, and find that EUQ consistently outperforms strong baselines, showing that hallucinations correspond to high internal conflict and OOD failures to high ignorance. Furthermore, layer-wise evidential uncertainty dynamics analysis helps interpret the evolution of internal representations from a new perspective. The source code is available at https://github.com/HT86159/EUQ.

Detecting Misbehaviors of Large Vision-Language Models by Evidential Uncertainty Quantification

TL;DR

This paper tackles misbehaviors in large vision-language models by treating epistemic uncertainty as two distinct components: internal information conflict and ignorance due to missing information. It introduces Evidential Uncertainty Quantification (EUQ), which maps pre-logits from the LVLM output head to evidence and uses Dempster–Shafer theory to compute conflict and ignorance in a single forward pass, without training. Across hallucinations, jailbreaks, adversarial attacks, and OOD failures, EUQ demonstrates consistent improvements over strong baselines in AUROC and AUPR, and reveals interpretable layer-wise dynamics where ignorance shrinks while conflict grows deeper in the decoder. The method is efficient, scalable across model sizes, and generalizable to any architecture with a linear projector, offering a practical tool for misbehavior detection and model interpretation.

Abstract

Large vision-language models (LVLMs) have shown substantial advances in multimodal understanding and generation. However, when presented with incompetent or adversarial inputs, they frequently produce unreliable or even harmful content, such as fact hallucinations or dangerous instructions. This misalignment with human expectations, referred to as \emph{misbehaviors} of LVLMs, raises serious concerns for deployment in critical applications. These misbehaviors are found to stem from epistemic uncertainty, specifically either conflicting internal knowledge or the absence of supporting information. However, existing uncertainty quantification methods, which typically capture only overall epistemic uncertainty, have shown limited effectiveness in identifying such issues. To address this gap, we propose Evidential Uncertainty Quantification (EUQ), a fine-grained method that captures both information conflict and ignorance for effective detection of LVLM misbehaviors. In particular, we interpret features from the model output head as either supporting (positive) or opposing (negative) evidence. Leveraging Evidence Theory, we model and aggregate this evidence to quantify internal conflict and knowledge gaps within a single forward pass. We extensively evaluate our method across four categories of misbehavior, including hallucinations, jailbreaks, adversarial vulnerabilities, and out-of-distribution (OOD) failures, using state-of-the-art LVLMs, and find that EUQ consistently outperforms strong baselines, showing that hallucinations correspond to high internal conflict and OOD failures to high ignorance. Furthermore, layer-wise evidential uncertainty dynamics analysis helps interpret the evolution of internal representations from a new perspective. The source code is available at https://github.com/HT86159/EUQ.
Paper Structure (54 sections, 3 theorems, 55 equations, 9 figures, 17 tables)

This paper contains 54 sections, 3 theorems, 55 equations, 9 figures, 17 tables.

Key Result

Lemma 1

Given input features $\mathbf{Z} \in \mathbb{R}^{I}$ and a linear transformation with weights $W \in \mathbb{R}^{I \times J}$ and corresponding bias $b \in \mathbb{R}^{I}$, the belief assignment parameters under the Least Commitment Principle (LCP) admit the following optimal closed-form solution: where $\mu_0(\cdot)$ and $\mu_1(\cdot)$ compute the mean along the first and second dimensions, resp

Figures (9)

  • Figure 1: The example shows how our evidential uncertainty, visualized as a token-level heatmap over the Chain-of-Thought (CoT) kojima2022large traces, shows that the misbehavior may stem from internal conflict and a lack of knowledge.
  • Figure 2: The overall framework of the proposed method applies basic belief assignment to the pre-logits feature to obtain evidence weights. These weights are then decomposed into positive and negative components, which are fused to estimate the final uncertainties that can detect different types of misbehaviors, respectively.
  • Figure 3: Layer-wise changes of evidential uncertainty and analysis of conflict vs. ignorance across four dataset types using Intern. Results for other models are provided in Appendix \ref{['sec:results']}.
  • Figure 4: Density distributions of $\mathbf{CF}$, $\mathbf{IG}$, and entropy for each type of misbehavior in Intern, comparing the target misbehavior against others. Results for other models are provided in Appendix \ref{['sec:results']}.
  • Figure 5: Ablation study on temperature (left) and model scale (right) across all datasets using Intern.
  • ...and 4 more figures

Theorems & Definitions (9)

  • Lemma 1: Optimal Belief Assignment
  • Theorem 1: Evidential Conflict and Ignorance within LVLMs
  • proof : Proof Outline
  • proof
  • Lemma 2: Additivity of Evidence Weights dempster1967upper
  • proof : Proof Outline
  • proof
  • proof : Proof Outline
  • proof