多模态大语言模型如何重塑视觉深度学习测试?一项基于图像变异视角的全面研究
How Multi-Modal LLMs Reshape Visual Deep Learning Testing? A Comprehensive Study Through the Lens of Image Mutation
AI总结:
本文首次全面评估了多模态大语言模型在视觉深度学习测试中生成图像变异的质量与适用性,发现其在“语义替换”变异上表现优异,是对传统图像变异的重要补充。
摘要:
视觉深度学习(VDL)系统在图像识别、目标检测和自动驾驶等现实应用中取得了显著成功。为评估 VDL 的可靠性,主流方法是软件测试,这要求对图像语义进行多样化的变异。多模态大语言模型(MLLMs)的快速发展通过指令驱动的方法引入了革命性的图像变异潜力。用户现在可以自由描述所需的变异,并让 MLLMs 生成变异图像。因此,类似于大语言模型(LLMs)近期在传统软件模糊测试中的成功,人们可能也期望 MLLMs 在提供统一、多样和复杂的图像变异方面,对 VDL 测试具有广阔前景。然而,基于 MLLM 的变异在 VDL 测试中的质量和适用性在很大程度上仍未被探索。我们提出了首次研究,旨在从以下方面评估 MLLMs 的充分性:1) MLLM 变异图像的语义有效性;2) MLLM 变异图像与其文本指令(提示)的对齐度;3) 不同变异在保持应保持不变的语义方面的忠实度。通过大规模的人类研究和定量评估,我们发现 MLLM 在扩展图像变异所覆盖的语义方面具有巨大潜力。值得注意的是,尽管 SoTA MLLMs(例如 GPT-4V)在编辑图像中的现有语义时失败或表现更差(如旋转等传统变异),它们却使用“语义替换”变异(例如“给狗穿上衣服”)生成了高质量的测试输入,这些变异为图像带来了额外的语义;这对于过去的方法是不可行的。因此,我们将基于 MLLM 的变异视为对传统变异的重要补充,并倡导未来的 VDL 测试任务结合基于 MLLM 的方法和传统图像变异,以实现全面可靠的测试。
英文摘要:
Visual deep learning (VDL) systems have shown significant success in real-world applications like image recognition, object detection, and autonomous driving. To evaluate the reliability of VDL, a mainstream approach is software testing, which requires diverse mutations over image semantics. The rapid development of multi-modal large language models (MLLMs) has introduced revolutionary image mutation potentials through instruction-driven methods. Users can now freely describe desired mutations and let MLLMs generate the mutated images. Hence, parallel to large language models' (LLMs) recent success in traditional software fuzzing, one may also expect MLLMs to be promising for VDL testing in terms of offering unified, diverse, and complex image mutations. However, the quality and applicability of MLLM-based mutations in VDL testing remain largely unexplored. We present the first study, aiming to assess MLLMs' adequacy from 1) the semantic validity of MLLM mutated images, 2) the alignment of MLLM mutated images with their text instructions (prompts), and 3) the faithfulness of how different mutations preserve semantics that are ought to remain unchanged. With large-scale human studies and quantitative evaluations, we identify MLLM's promising potentials in expanding the covered semantics of image mutations. Notably, while SoTA MLLMs (e.g., GPT-4V) fail to support or perform worse in editing existing semantics in images (as in traditional mutations like rotation), they generate high-quality test inputs using "semantic-replacement" mutations (e.g., "dress a dog with clothes"), which bring extra semantics to images; these were infeasible for past approaches. Hence, we view MLLM-based mutations as a vital complement to traditional mutations, and advocate future VDL testing tasks to combine MLLM-based methods and traditional image mutations for comprehensive and reliable testing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。