CVCLNov 10, 2023

Analyzing Modular Approaches for Visual Question Decomposition

arXiv:2311.06411v1134 citationsh-index: 45
Originality Synthesis-oriented
AI Analysis

This work provides insights into the effectiveness of modular approaches for researchers in vision-language AI, though it is incremental as it focuses on analyzing existing methods.

The paper analyzes the performance gains of modular neural networks like ViperGPT over end-to-end models such as BLIP-2 on visual question answering tasks, finding that gains come from task-specific modules and that natural language subtasks can outperform code-based ones in some benchmarks.

Modular neural networks without additional training have recently been shown to surpass end-to-end neural networks on challenging vision-language tasks. The latest such methods simultaneously introduce LLM-based code generation to build programs and a number of skill-specific, task-oriented modules to execute them. In this paper, we focus on ViperGPT and ask where its additional performance comes from and how much is due to the (state-of-art, end-to-end) BLIP-2 model it subsumes vs. additional symbolic components. To do so, we conduct a controlled study (comparing end-to-end, modular, and prompting-based methods across several VQA benchmarks). We find that ViperGPT's reported gains over BLIP-2 can be attributed to its selection of task-specific modules, and when we run ViperGPT using a more task-agnostic selection of modules, these gains go away. Additionally, ViperGPT retains much of its performance if we make prominent alterations to its selection of modules: e.g. removing or retaining only BLIP-2. Finally, we compare ViperGPT against a prompting-based decomposition strategy and find that, on some benchmarks, modular approaches significantly benefit by representing subtasks with natural language, instead of code.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes