With the breakthrough of multi-modal large language models, answering complex visual questions that demand advanced reasoning abilities and world knowledge has become a much more important testbed for developing AI models than ever. However, equipping AI models with robust cross-modality reasoning ability remains challenging since the cognition scheme of humans has not been understood systematically. In this paper, we believe that if we can collect visual clues in the given image as much as possible, we will recognize the image more accurately, understand the question better, recall relevant knowledge more easily, and finally reason out the answer. We discover these rich visual clues by mining question-answer pairs in images and sending them into multi-modal large language models as prompts. We call the proposed method Q&A Prompts. Specifically, we first use the image-answer pairs and the corresponding questions in the training set as inputs and outputs to train a visual question generation model. Then, we use an image tagging model to identify various instances and send packaged image-tag pairs into the visual question generation model to generate relevant questions with the extracted image tags as answers. Finally, we encode these generated question-answer pairs as prompts with a visual-aware prompting module and send them into pre-trained multi-modal large language models to reason out the final answers. Experimental results show that, compared with state-of-the-art methods, our Q&A Prompts achieves substantial improvements on the challenging visual question answering datasets requiring reasoning over diverse world knowledge, such as OK-VQA and A-OKVQA.
翻译:随着多模态大语言模型的突破,回答需要高级推理能力和世界知识的复杂视觉问题,已成为比以往更重要的AI模型开发测试平台。然而,由于人类认知机制尚未被系统理解,赋予AI模型稳健的跨模态推理能力仍具挑战性。本文认为,若能尽可能收集给定图像中的视觉线索,我们将更准确地识别图像、更深入理解问题、更轻松回忆相关知识,并最终推理出答案。我们通过挖掘图像中的问答对发现这些丰富视觉线索,并将其作为提示输入多模态大语言模型,提出方法命名为Q&A Prompts。具体而言,首先利用训练集中的图像-答案对及对应问题作为输入输出,训练视觉问题生成模型;然后使用图像标注模型识别各类实例,将打包的图像-标签对输入视觉问题生成模型,以提取的图像标签作为答案生成相关问题;最后,通过视觉感知提示模块将生成的问答对编码为提示,输入预训练多模态大语言模型推理最终答案。实验结果表明,与最先进方法相比,我们的Q&A Prompts在需依赖多元世界知识的挑战性视觉问答数据集(如OK-VQA和A-OKVQA)上取得了显著改进。