arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08128cs.CV
收藏

ViperGPT:通过Python执行进行推理的可视化推理

ViperGPT: Visual Inference via Python Execution for Reasoning

Columbia University(哥伦比亚大学)

Dídac Surís, Sachit Menon, Carl Vondrick

摘要:

可视化查询是一项复杂的任务,需要视觉处理和推理。端到端模型,这一任务的主要方法,不明确区分两者,限制了可解释性和泛化。学习模块化程序提供了一个很有前途的选择,但由于同时学习程序和模块的困难,已经证明具有挑战性。我们介绍ViperGPT,一个框架,利用代码生成模型组成的视觉和语言模型到子程序,以产生任何查询的结果。ViperGPT利用提供的API来访问可用的模块,并通过生成稍后执行的Python代码来组合它们。这种简单的方法不需要进一步的培训,并在各种复杂的视觉任务中实现了最先进的结果。

英文摘要:

Answering visual queries is a complex task that requires both visual processing and reasoning. End-to-end models, the dominant approach for this task, do not explicitly differentiate between the two, limiting interpretability and generalization. Learning modular programs presents a promising alternative, but has proven challenging due to the difficulty of learning both the programs and modules simultaneously. We introduce ViperGPT, a framework that leverages code-generation models to compose vision-and-language models into subroutines to produce a result for any query. ViperGPT utilizes a provided API to access the available modules, and composes them by generating Python code that is later executed. This simple approach requires no further training, and achieves state-of-the-art results across various complex visual tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑