Perception Matters: Detecting Perception Failures of VQA Models Using Metamorphic Testing
Yuanyuan Yuan, Shuai Wang, Mingyue Jiang, Tsong Yueh Chen
Abstract
Visual question answering (VQA) takes an image and a natural-language question as input and returns a naturallanguage answer. To date, VQA models are primarily assessed by their accuracy on high-level reasoning questions. Nevertheless, Given that perception tasks (e.g., recognizing objects) are the building blocks in the compositional process required by high-level reasoning, there is a demanding need to gain insights into how much of a problem lowlevel perception is. Inspired by the principles of software metamorphic testing, we introduce MetaVQA, a modelagnostic framework for benchmarking perception capability of VQA models. Given an image i, MetaVQA is able to synthesize a low-level perception question q. It then jointly transforms (i, q) to one or a set of sub-questions and subimages. MetaVQA checks whether the answer to (i, q) satisfies metamorphic relationships (MRs), denoting perception consistency, with the composed answers of transformed questions and images. Violating MRs denotes a failure of answering perception questions. MetaVQA successfully detects over 4.9 million perception failures made by popular VQA models with metamorphic testing. The state-of-the-art VQA models (e.g., the champion of VQA 2020 Challenge) suffer from perception consistency problems. In contrast, the Oscar VQA models, by using anchor points to align questions and images, show generally better consistency in perception tasks. We hope MetaVQA will revitalize interest in enhancing the low-level perceptual abilities of VQA models, a cornerstone of high-level reasoning.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MUTANT: A Training Paradigm for Out-of-Distribution Generalization in Visual Question Answering cites VL-BERT: Pre-training of Generic Visual-Linguistic Representations
- CCTEST: Testing and Repairing Code Completion Systems cites Metamorphic Object Insertion for Testing Object Detection Systems
- CCTEST: Testing and Repairing Code Completion Systems cites Structure-invariant testing for machine translation
- CCTEST: Testing and Repairing Code Completion Systems cites Unveiling Hidden DNN Defects with Decision-Based Metamorphic Testing
- Unveiling Hidden DNN Defects with Decision-Based Metamorphic Testing cites CCTEST: Testing and Repairing Code Completion Systems
- Pinolo: Detecting Logical Bugs in Database Management Systems with Approximate Query Synthesis cites Metamorphic Object Insertion for Testing Object Detection Systems
- MDPFuzz: testing models solving Markov decision processes cites Metamorphic Object Insertion for Testing Object Detection Systems
- MDPFuzz: testing models solving Markov decision processes cites Structure-invariant testing for machine translation
- Unveiling Hidden DNN Defects with Decision-Based Metamorphic Testing cites Metamorphic Object Insertion for Testing Object Detection Systems
Cited by top-tier papers16
- CCTEST: Testing and Repairing Code Completion SystemsZongjie Li, Chaozheng Wang, Zhibo Liu, Haoxuan Wang et al.ICSE 2023 · 49 citations
- MDPFuzz: testing models solving Markov decision processesQi Pang, Yuanyuan Yuan, Shuai WangISSTA 2022 · 37 citations
- Maintaining Reasoning Consistency in Compositional Visual Question AnsweringChenchen Jing, Yunde Jia, Yuwei Wu, Xinyu Liu et al.CVPR 2022 · 27 citations
- Pinolo: Detecting Logical Bugs in Database Management Systems with Approximate Query SynthesisZongyin Hao, Quanfeng Huang, Chengpeng Wang, Jianfeng Wang et al.USENIX ATC 2023 · 26 citations
- Unveiling Hidden DNN Defects with Decision-Based Metamorphic TestingYuanyuan Yuan, Qi Pang, Shuai WangASE 2022 · 16 citations
Builds on10
- VL-BERT: Pre-training of Generic Visual-Linguistic RepresentationsWeijie Su, Xizhou Zhu, Yue Cao, Bin Li et al.ICLR 2020 · 1,825 citations
- MUTANT: A Training Paradigm for Out-of-Distribution Generalization in Visual Question AnsweringTejas Gokhale, Pratyay Banerjee, Chitta Baral, Yezhou YangEMNLP 2020 · 136 citations
- Structure-invariant testing for machine translationPinjia He, Clara Meister, Zhendong SuICSE 2020 · 84 citations
- Metamorphic Object Insertion for Testing Object Detection SystemsShuai Wang, Zhendong SuASE 2020 · 69 citations
- MoVie: Revisiting Modulated Convolutions for Visual Counting and BeyondDuy-Kien Nguyen, Vedanuj Goswami, Xinlei ChenICLR 2021 · 12 citations
Related papers
- Testing Your Question Answering Software via Asking RecursivelySongqiang Chen, Shuo Jin, Xiaoyuan XieASE 2021 · 37 citations
- Natural Test Generation for Precise Testing of Question Answering SoftwareQingchao Shen, Junjie Chen, Jie M. Zhang, Haoyu Wang et al.ASE 2022 · 27 citations
- Align and Aggregate: Compositional Reasoning with Video Alignment and Answer Aggregation for Video Question-AnsweringZhaohe Liao, Jiangtong Li, Li Niu, Liqing ZhangCVPR 2024
- Co-VQA : Answering by Interactive Sub Question SequenceRuonan Wang, Yuxi Qian, Fangxiang Feng, Xiaojie Wang et al.ACL Findings 2022 · 14 citations
- Logical Implications for Visual Question Answering ConsistencySergio Tascon-Morales, Pablo Márquez-Neila, Raphael SznitmanCVPR 2023
