ReFocus: Visual Editing as a Chain of Thought for Structured Image Understanding
REFOCUS通过在输入图像上执行视觉编辑来增强多模态LLMs对结构化图像的理解能力,显著提高了表格和图表理解任务的性能。
更新于 2025-01-13。作者:Xingyu Fu、Minqian Liu、Zhengyuan Yang、John Corring、Yijuan Lu、Jianwei Yang、Dan Roth、Dinei Florencio、Cha Zhang。
中文摘要
结构化图像理解,例如解读表格和图表,需要在图像中的各种结构和文本之间进行策略性的重新聚焦,形成一个推理序列以得出最终答案。然而,当前的多模态大型语言模型(LLMs)缺乏这种多跳选择性注意能力。在这项工作中,我们引入了ReFocus,这是一个简单而有效的框架,它通过代码对输入图像进行视觉编辑,使多模态LLMs能够通过生成“视觉思维”来获得这种能力,从而改变和细化它们的视觉焦点。具体来说,ReFocus使多模态LLMs能够生成Python代码来调用工具并修改输入图像,依次绘制框、突出显示部分和遮挡区域,从而增强视觉推理过程。我们在涉及表格和图表的广泛结构化图像理解任务上进行了实验。ReFocus在所有任务上的性能都显著优于没有视觉编辑的GPT-4o,在表格任务上平均提高了11.0%,在图表任务上提高了6.8%。我们深入分析了不同视觉编辑效果,以及ReFocus为何能够在不引入额外信息的情况下提高性能的原因。此外,我们使用ReFocus收集了一个14k的训练集,并证明这种带有中间信息的视觉思维链提供了比标准VQA数据更好的监督,与使用QA对训练的同一模型相比,平均提高了8.0%,与CoT相比提高了2.6%。
英文摘要
Structured image understanding, such as interpreting tables and charts, requires strategically refocusing across various structures and texts within an image, forming a reasoning sequence to arrive at the final answer. However, current multimodal large language models (LLMs) lack this multihop selective attention capability. In this work, we introduce ReFocus, a simple yet effective framework that equips multimodal LLMs with the ability to generate "visual thoughts" by performing visual editing on the input image through code, shifting and refining their visual focuses. Specifically, ReFocus enables multimodal LLMs to generate Python codes to call tools and modify the input image, sequentially drawing boxes, highlighting sections, and masking out areas, thereby enhancing the visual reasoning process. We experiment upon a wide range of structured image understanding tasks involving tables and charts. ReFocus largely improves performance on all tasks over GPT-4o without visual editing, yielding an average gain of 11.0% on table tasks and 6.8% on chart tasks. We present an in-depth analysis of the effects of different visual edits, and reasons why ReFocus can improve the performance without introducing additional information. Further, we collect a 14k training set using ReFocus, and prove that such visual chain-of-thought with intermediate information offers a better supervision than standard VQA data, reaching a 8.0% average gain over the same model trained with QA pairs and 2.6% over CoT.
解读
一句话总结
REFOCUS通过在输入图像上执行视觉编辑来增强多模态LLMs对结构化图像的理解能力,显著提高了表格和图表理解任务的性能。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:结构化图像理解,如表格和图表的理解,需要通过在图像中的不同结构和文本之间进行策略性重聚焦,形成推理序列以得出最终答案。 • 现有方案不足:当前的跨模态大型语言模型(LLMs)缺乏多跳选择性注意能力,通常将中间推理限制在文本格式中,且不回看图像。 • 研究目标:通过在LLMs中集成视觉推理作为中间步骤,提高LLMs在结构化图像理解中的能力。
问题2:论文的核心创新点是什么?
• 技术创新:REFOCUS框架允许LLMs通过Python代码生成视觉编辑,如绘制框、突出显示区域和遮挡区域,以增强视觉推理过程。 • 方法改进:通过视觉编辑指导LLMs进行选择性注意,从而提高对结构化图像的理解。 • 优势:与基线方法相比,REFOCUS在表格和图表理解任务上平均提高了11.0%和6.8%的性能。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在涉及表格和图表的广泛结构化图像理解任务上进行实验,包括TableVQA和CharXiv。 • 性能提升:REFOCUS在所有任务上均显著提高了性能,表格任务平均提升11.0%,图表任务平均提升6.8%。 • 对比结果:与未进行视觉编辑的GPT-4o相比,REFOCUS在表格任务上提高了11.0%,在图表任务上提高了6.8%。
问题4:这个研究的实际应用价值是什么?
• 应用场景:结构化图像理解在数据分析、信息提取和知识获取等领域具有广泛的应用。 • 实施建议:REFOCUS可以集成到现有的LLMs中,以增强其对结构化图像的理解能力。 • 局限与展望:REFOCUS目前主要针对表格和图表,未来可以扩展到其他类型的结构化图像。此外,可以通过进一步的优化和扩展来提高其泛化能力和效率。
来源
机器可读索引:llms.txt