arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.04901cs.CV
收藏

GENOME:通过模块生长与复用实现生成式神经符号视觉推理

GENOME: GenerativE Neuro-symbOlic visual reasoning by growing and reusing ModulEs

MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);Columbia University(哥伦比亚大学);Tsinghua University(清华大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);UMass Amherst(马萨诸塞大学阿默斯特分校)

Zhenfang Chen, Rui Sun, Wenjun Liu, Yining Hong, Chuang Gan

AI总结:

针对现有神经符号视觉推理模型生成代码效率低的问题,提出GENOME框架,通过模块初始化、生成、执行三阶段实现模块生长与复用,在标准任务上表现优异,支持跨任务模块迁移与少样本适配新任务。

摘要:

近期研究表明,大语言模型(LLMs)可凭借编程能力将语言转化为模块描述,为传统神经符号模型赋能,从而在保持模型透明度与效率的同时,取得优异的视觉推理效果。但这类模型通常会针对每个新任务实例穷举式生成完整代码片段,效率极低。我们提出了通过模块生长与复用实现的生成式神经符号视觉推理方法。具体而言,我们的模型包含三个独特阶段:模块初始化、模块生成与模块执行。首先,给定一个视觉-语言任务,我们利用LLMs判断是否可以复用已有模块并在其基础上生长,以处理该新任务。若不可行,则初始化任务所需的新模块,并明确该新模块的输入与输出。随后,通过向LLMs发起查询,生成符合要求的对应代码片段,完成新模块的创建。为了更好地掌握新模块的能力,我们将少样本训练示例作为测试用例,检验新模块能否通过这些用例。若通过,则将新模块添加至模块库,供后续复用。最后,我们在测试集上评估模型性能,通过结合新构建的视觉模块执行解析后的程序,得到推理结果。我们发现所提模型具备多项优势:第一,它在视觉问答、指代表达理解等标准任务上表现具有竞争力;第二,从一个任务中学到的模块可无缝迁移至新任务;最后同样重要的是,它仅需观察少量训练示例并复用模块,即可适配新的视觉推理任务。

英文摘要:

Recent works have shown that Large Language Models (LLMs) could empower traditional neuro-symbolic models via programming capabilities to translate language into module descriptions, thus achieving strong visual reasoning results while maintaining the model's transparency and efficiency. However, these models usually exhaustively generate the entire code snippet given each new instance of a task, which is extremely ineffective. We propose generative neuro-symbolic visual reasoning by growing and reusing modules. Specifically, our model consists of three unique stages, module initialization, module generation, and module execution. First, given a vision-language task, we adopt LLMs to examine whether we could reuse and grow over established modules to handle this new task. If not, we initialize a new module needed by the task and specify the inputs and outputs of this new module. After that, the new module is created by querying LLMs to generate corresponding code snippets that match the requirements. In order to get a better sense of the new module's ability, we treat few-shot training examples as test cases to see if our new module could pass these cases. If yes, the new module is added to the module library for future reuse. Finally, we evaluate the performance of our model on the testing set by executing the parsed programs with the newly made visual modules to get the results. We find the proposed model possesses several advantages. First, it performs competitively on standard tasks like visual question answering and referring expression comprehension; Second, the modules learned from one task can be seamlessly transferred to new tasks; Last but not least, it is able to adapt to new visual reasoning tasks by observing a few training examples and reusing modules.

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

↑