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

See,Think,Confirm:视觉与语言模型的交互式推理

See, Think, Confirm: Interactive Prompting Between Vision and Language Models for Knowledge-based Visual Reasoning

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

Zhenfang Chen, Qinhong Zhou, Yikang Shen, Yining Hong, Hao Zhang, Chuang Gan

摘要:

大型的预先训练的视觉和语言模型在各种任务中表现出了卓越的能力。然而,解决基于知识的视觉推理任务仍然具有挑战性,这需要模型全面理解图像内容,连接外部世界知识,并执行逐步推理以正确回答问题。为此,我们提出了一个新的框架命名为交互式的视觉推理(IPVR)的Few-Shot知识为基础的视觉推理。IPVR包括三个阶段,看,想,确认。视阶段扫描图像,并根据视觉感知模型的视觉概念候选。思维阶段采用预先训练好的大语言模型(LLM)自适应地处理候选词中的关键概念。然后将它们转换为文本上下文,以视觉字幕模型进行提示,并采用LLM生成答案。确认阶段进一步使用LLM来生成对答案的支持理由,用跨模态分类器验证所生成的理由,并确保理由可以一致地推断预测输出。我们对一系列基于知识的视觉推理数据集进行了实验。我们发现我们的IPVR有几个好处,1)。其实现了比先前的少样本学习基线更好的性能; 2).它通过为每个推理步骤提供基本原理而享有整个推理过程的完全透明和可信度; 3)。与其他微调基线相比,它的计算效率更高。

英文摘要:

Large pre-trained vision and language models have demonstrated remarkable capacities for various tasks. However, solving the knowledge-based visual reasoning tasks remains challenging, which requires a model to comprehensively understand image content, connect the external world knowledge, and perform step-by-step reasoning to answer the questions correctly. To this end, we propose a novel framework named Interactive Prompting Visual Reasoner (IPVR) for few-shot knowledge-based visual reasoning. IPVR contains three stages, see, think and confirm. The see stage scans the image and grounds the visual concept candidates with a visual perception model. The think stage adopts a pre-trained large language model (LLM) to attend to the key concepts from candidates adaptively. It then transforms them into text context for prompting with a visual captioning model and adopts the LLM to generate the answer. The confirm stage further uses the LLM to generate the supporting rationale to the answer, verify the generated rationale with a cross-modality classifier and ensure that the rationale can infer the predicted output consistently. We conduct experiments on a range of knowledge-based visual reasoning datasets. We found our IPVR enjoys several benefits, 1). it achieves better performance than the previous few-shot learning baselines; 2). it enjoys the total transparency and trustworthiness of the whole reasoning process by providing rationales for each reasoning step; 3). it is computation-efficient compared with other fine-tuning baselines.

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

↑