From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesis

Chuanqi Cheng, Jian Guan, Wei Wu, Rui Yan
6/28/2024
cs.CLcs.AI

Official code: steven-ccq/VisualReasoner (22 stars, last commit 2024-10-15).

Abstract

We explore multi-step reasoning in vision-language models (VLMs). The problem is challenging, as reasoning data consisting of multiple steps of visual and language processing are barely available. To overcome the challenge, we first introduce a least-to-most visual reasoning paradigm, which interleaves steps of decomposing a question into sub-questions and invoking external tools for resolving sub-questions. Based on the paradigm, we further propose a novel data synthesis approach that can automatically create questions and multi-step reasoning paths for an image in a bottom-up manner. Our approach divides the complex synthesis task into a few simple sub-tasks, and (almost entirely) relies on open-sourced models to accomplish the sub-tasks. Therefore, the entire synthesis process is reproducible and cost-efficient, and the synthesized data is quality guaranteed. With the approach, we construct $50$k visual reasoning examples. Then, we develop a visual reasoner through supervised fine-tuning, which is capable of generally enhancing the reasoning abilities of a wide range of existing VLMs in a plug-and-play fashion. Extensive experiments indicate that the visual reasoner can consistently and significantly improve four VLMs on four VQA benchmarks. Our code and dataset are available at https://github.com/steven-ccq/VisualReasoner.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2024] Official repository for paper "From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesis"

221Shell, PythonJun 28, 20242 years ago

Similar Papers

Cite this paper

@article{cheng2024from,
  title  = {From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesis},
  author = {Chuanqi Cheng and Jian Guan and Wei Wu and Rui Yan},
  year   = {2024},
  eprint = {2406.19934},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19934v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.19934.svg)](https://codeofpaper.com/paper/2406.19934)

Discussion