arXiv:2410.11242cs.CVcs.AI2024-10被引 1

自动扩展视觉幻觉测试用例,更全面评估多模态大模型幻觉问题。

Automatically Generating Visual Hallucination Test Cases for Multimodal Large Language Models

  • 通过否定问题、修改图像生成新测试用例,实现自动化扩展。
  • 新指标对称准确率可避免答案分布不均带来的评估偏差。
  • 在多个模型上验证,该方法能发现更多幻觉并提升抗幻觉能力。

视觉幻觉(VH)指多模态大语言模型(MLLM)在回答时产生与输入图像不符的错误视觉细节。现有测试用例主要依赖人工标注,形式为三元组:(图像, 问题, 答案)。本文提出VHExpansion,首个自动扩展VH测试用例的方法。给定初始测试用例,通过否定问题、修改答案,并结合常规与对抗性扰动图像进行自动扩展。同时提出新评估指标——对称准确率,衡量测试用例与其否定对的正确回答比例。理论分析表明,该指标在模型随机猜测时不受不同答案分布不均衡影响,而传统准确率易受此干扰。将VHExpansion应用于三个人工标注的VH数据集,扩展后用于评测七个MLLM。结果表明,该方法有效识别更多幻觉案例;对称准确率揭示了与传统准确率不同的模型脆弱性结论。进一步实验显示,基于VHExpansion生成的扩展数据集进行微调,比原始人工数据集更有效地缓解幻觉问题。代码已开源:https://github.com/lycheeefish/VHExpansion。

原文摘要 · Abstract (English)

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.

多模态幻觉检测自动评估模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。