VEglue:通过对象对齐联合擦除测试视觉蕴含系统
VEglue: Testing Visual Entailment Systems via Object-Aligned Joint Erasing
AI总结:
针对现有视觉蕴含系统变形测试方法有效性不足的问题,提出基于对象对齐的联合擦除方法VEglue,可大幅提升问题检测数量与发现率,且其生成的测试用例能有效优化模型性能。
摘要:
视觉蕴含(Visual Entailment,VE)是一项多模态推理任务,由图像-句子对组成,其中前提由图像定义,假设由句子描述,目标是预测图像是否在语义上蕴含该句子。VE系统已被广泛应用于众多下游任务中。变形测试是AI算法最常用的测试技术,但它在VE测试中面临重大挑战:现有方法要么仅考虑单模态的扰动,会因破坏图文对的关联关系导致测试无效;要么仅对输入进行浅层扰动,难以检测VE系统的决策错误。受图像中的对象是推理基本要素这一事实启发,我们提出VEglue——一种用于VE系统测试的对象对齐联合擦除方法。该方法首先对齐前提中的对象区域与假设中的对象描述,识别出关联对象与非关联对象;随后基于对齐信息,设计三种变形关系(Metamorphic Relations),对两种模态的对象进行联合擦除。我们在涉及两个公开数据集的4个广泛使用的VE系统上评估了VEglue。结果显示,VEglue平均可检测到11609个问题,比基线方法多出194%-2846%;此外,VEglue的平均问题发现率(Issue Finding Rate,IFR)可达52.5%,较基线方法显著提升17.1%-38.2%。进一步地,我们利用VEglue生成的测试用例重新训练VE系统,在不牺牲原始测试集准确率的前提下,大幅提升了模型在新生成测试用例上的性能(准确率提升50.8%)。
英文摘要:
Visual entailment (VE) is a multimodal reasoning task consisting of image-sentence pairs whereby a promise is defined by an image, and a hypothesis is described by a sentence. The goal is to predict whether the image semantically entails the sentence. VE systems have been widely adopted in many downstream tasks. Metamorphic testing is the commonest technique for AI algorithms, but it poses a significant challenge for VE testing. They either only consider perturbations on single modality which would result in ineffective tests due to the destruction of the relationship of image-text pair, or just conduct shallow perturbations on the inputs which can hardly detect the decision error made by VE systems. Motivated by the fact that objects in the image are the fundamental element for reasoning, we propose VEglue, an object-aligned joint erasing approach for VE systems testing. It first aligns the object regions in the premise and object descriptions in the hypothesis to identify linked and un-linked objects. Then, based on the alignment information, three Metamorphic Relations are designed to jointly erase the objects of the two modalities. We evaluate VEglue on four widely-used VE systems involving two public datasets. Results show that VEglue could detect 11,609 issues on average, which is 194%-2,846% more than the baselines. In addition, VEglue could reach 52.5% Issue Finding Rate (IFR) on average, and significantly outperform the baselines by 17.1%-38.2%. Furthermore, we leverage the tests generated by VEglue to retrain the VE systems, which largely improves model performance (50.8% increase in accuracy) on newly generated tests without sacrificing the accuracy on the original test set.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。