Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning to Reason Iteratively and Parallelly for Complex Visual Reasoning Scenarios

About

Complex visual reasoning and question answering (VQA) is a challenging task that requires compositional multi-step processing and higher-level reasoning capabilities beyond the immediate recognition and localization of objects and events. Here, we introduce a fully neural Iterative and Parallel Reasoning Mechanism (IPRM) that combines two distinct forms of computation -- iterative and parallel -- to better address complex VQA scenarios. Specifically, IPRM's "iterative" computation facilitates compositional step-by-step reasoning for scenarios wherein individual operations need to be computed, stored, and recalled dynamically (e.g. when computing the query "determine the color of pen to the left of the child in red t-shirt sitting at the white table"). Meanwhile, its "parallel" computation allows for the simultaneous exploration of different reasoning paths and benefits more robust and efficient execution of operations that are mutually independent (e.g. when counting individual colors for the query: "determine the maximum occurring color amongst all t-shirts"). We design IPRM as a lightweight and fully-differentiable neural module that can be conveniently applied to both transformer and non-transformer vision-language backbones. It notably outperforms prior task-specific methods and transformer-based attention modules across various image and video VQA benchmarks testing distinct complex reasoning capabilities such as compositional spatiotemporal reasoning (AGQA), situational reasoning (STAR), multi-hop reasoning generalization (CLEVR-Humans) and causal event linking (CLEVRER-Humans). Further, IPRM's internal computations can be visualized across reasoning steps, aiding interpretability and diagnosis of its errors.

Shantanu Jaiswal, Debaditya Roy, Basura Fernando, Cheston Tan• 2024

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringGQA
Accuracy60.3
963
Video Question AnsweringSTAR (test)
Interaction Score79.1
42
Video Question AnsweringAGQA v2 (test)
Object-relation57.8
30
Visual Question AnsweringCLEVR-Humans
Accuracy85.5
24
Visual Question AnsweringCLEVR-Humans 1.0 (test)
Accuracy85.5
22
Visual Question AnsweringCLEVR-CoGenT (Condition A)
Accuracy99.1
21
Visual Question AnsweringCLEVR-CoGenT Condition B
Accuracy98.2
18
Temporal and causal video reasoningCLEVRER-Humans (test)
Accuracy (Per Option)74.1
12
Video Question AnsweringAGQA v2
Object Relations Acc57.8
12
Visual Question AnsweringCLEVR-CoGenT (val)
Accuracy99.1
12
Showing 10 of 13 rows

Other info

Code

Follow for update