CVAILGOct 15, 2024

Automatically Generating Visual Hallucination Test Cases for Multimodal Large Language Models

arXiv:2410.11242v11 citationsh-index: 11Has Code
Originality Incremental advance
AI Analysis

This addresses the problem of evaluating and mitigating visual hallucinations in multimodal AI systems, which is an incremental but important advancement for reliability testing.

The paper tackles the problem of visual hallucination in multimodal large language models by introducing VHExpansion, an automated method that expands test cases through question/answer negation and image perturbations, and proposes symmetric accuracy as an unbiased evaluation metric. The results show that VHExpansion identifies more test cases, leads to different conclusions about model vulnerability, and improves mitigation through fine-tuning compared to manual datasets.

Visual hallucination (VH) occurs when a multimodal large language model (MLLM) generates responses with incorrect visual details for prompts. Existing methods for generating VH test cases primarily rely on human annotations, typically in the form of triples: (image, question, answer). In this paper, we introduce VHExpansion, the first automated method for expanding VH test cases for MLLMs. Given an initial VH test case, VHExpansion automatically expands it by perturbing the question and answer through negation as well as modifying the image using both common and adversarial perturbations. Additionally, we propose a new evaluation metric, symmetric accuracy, which measures the proportion of correctly answered VH test-case pairs. Each pair consists of a test case and its negated counterpart. Our theoretical analysis shows that symmetric accuracy is an unbiased evaluation metric that remains unaffected by the imbalance of VH testing cases with varying answers when an MLLM is randomly guessing the answers, whereas traditional accuracy is prone to such imbalance. We apply VHExpansion to expand three VH datasets annotated manually and use these expanded datasets to benchmark seven MLLMs. Our evaluation shows that VHExpansion effectively identifies more VH test cases. Moreover, symmetric accuracy, being unbiased, leads to different conclusions about the vulnerability of MLLMs to VH compared to traditional accuracy metric. Finally, we show that fine-tuning MLLMs on the expanded VH dataset generated by VHExpansion mitigates VH more effectively than fine-tuning on the original, manually annotated dataset. Our code is available at: https://github.com/lycheeefish/VHExpansion.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes