arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.01974cs.CVcs.AIcs.LG
收藏

面向以LLM为程序员的真正零样本组合视觉推理

Towards Truly Zero-shot Compositional Visual Reasoning with LLMs as Programmers

Google DeepMind(谷歌DeepMind)

Aleksandar Stanić, Sergi Caelles, Michael Tschannen

AI总结:

本研究针对LLM作为视觉推理控制器时需人工设计特定上下文示例的问题,提出含时空抽象例程、用少量标注自动生成上下文示例的框架,提升了性能与鲁棒性,免去人工设计成本。

摘要:

视觉推理领域目前由端到端神经网络主导,这类模型已扩展至数十亿参数规模,并使用海量训练样本。但即便是最大规模的模型,也在组合推理、泛化能力、细粒度时空推理以及计数任务上存在困难。以大语言模型(LLM)作为控制器的视觉推理方法,原则上可通过任务分解、调度一组(视觉)工具解决子任务的方式,克服上述局限。近期,这类模型在组合视觉问答、视觉定位、视频时序推理等任务上取得了优异表现。但目前这类模型严重依赖在提示词中人工设计上下文示例,这些示例通常针对特定数据集和任务,需要高技能程序员投入大量人力。在本研究中,我们提出了一个框架,通过引入时空抽象例程,并利用少量标注样本自动生成上下文示例,从而缓解上述问题,免去人工构造上下文示例的步骤。我们在多项视觉推理任务上验证了该框架的效果,结果表明,该框架能持续提升性能,让以LLM为控制器的设置更具鲁棒性,且无需人工设计上下文示例。

英文摘要:

Visual reasoning is dominated by end-to-end neural networks scaled to billions of model parameters and training examples. However, even the largest models struggle with compositional reasoning, generalization, fine-grained spatial and temporal reasoning, and counting. Visual reasoning with large language models (LLMs) as controllers can, in principle, address these limitations by decomposing the task and solving subtasks by orchestrating a set of (visual) tools. Recently, these models achieved great performance on tasks such as compositional visual question answering, visual grounding, and video temporal reasoning. Nevertheless, in their current form, these models heavily rely on human engineering of in-context examples in the prompt, which are often dataset- and task-specific and require significant labor by highly skilled programmers. In this work, we present a framework that mitigates these issues by introducing spatially and temporally abstract routines and by leveraging a small number of labeled examples to automatically generate in-context examples, thereby avoiding human-created in-context examples. On a number of visual reasoning tasks, we show that our framework leads to consistent gains in performance, makes LLMs as controllers setup more robust, and removes the need for human engineering of in-context examples.

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

↑