arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.18798cs.CL
收藏

将大语言模型的视觉图表推理能力蒸馏至多模态大语言模型

Distill Visual Chart Reasoning Ability from LLMs to MLLMs

School of Computer Science, Fudan University(复旦大学计算机学院);Weixin Group, Tencent(腾讯Weixin部门);Shanghai Innovation Institute(上海创新研究院);Shanghai Key Lab of Intelligent Information Processing(上海智能信息处理重点实验室)

Wei He, Zhiheng Xi, Wanxu Zhao, Xiaoran Fan, Yiwen Ding, Zifei Shan, Tao Gui, Qi Zhang, Xuanjing Huang

AI总结:

针对多模态大语言模型图表推理微调数据标注成本高、质量低的问题,提出以代码为中介的合成方法CIT,构建ReachQA数据集,有效提升模型的图表推理及通用推理能力。

摘要:

解决复杂的图表问答任务需要多模态大语言模型(MLLMs)具备高级视觉推理能力,包括从视觉输入中识别关键信息并对其进行推理。虽然对MLLMs进行微调以提升推理能力至关重要,但收集并标注图表和问题成本高昂、难以规模化,且往往会产生低质量标注。为解决这一问题,我们提出了Code-as-Intermediary Translation(CIT,代码作为中介的翻译)方法,这是一种低成本、高效且可扩展的数据合成方法,用于将大语言模型(LLMs)的视觉推理能力蒸馏至MLLMs。代码作为中介将视觉图表表示转换为文本表示,使语言模型能够理解跨模态信息并相应生成推理链。通过这种方式,我们可以利用基于文本的合成技术扩展图表绘制代码,并生成高质量的问答对用于模型训练。由此我们构建了ReachQA数据集,包含3000张强推理属性的图表和20000个问答对,旨在同时增强MLLMs的识别与推理能力。实验表明,使用ReachQA微调的模型不仅在图表相关任务上表现出色,在通用推理基准上也展现出性能提升。代码和数据集已在https://github.com/hewei2001/ReachQA公开发布。

英文摘要:

Solving complex chart Q&A tasks requires advanced visual reasoning abilities in multimodal large language models (MLLMs), including recognizing key information from visual inputs and conducting reasoning over it. While fine-tuning MLLMs for reasoning is critical, collecting and annotating charts and questions is expensive, hard to scale, and often results in low-quality annotations. To address this, we propose Code-as-Intermediary Translation (CIT), a cost-effective, efficient and scalable data synthesis method for distilling visual reasoning abilities from LLMs to MLLMs. The code serves as an intermediary that translates visual chart representations into textual representations, enabling language models to understand cross-modal information and generate reasoning chains accordingly. In this way, we can employ text-based synthesizing techniques to expand chart-plotting code and generate high-quality Q&A pairs for training models. This produces ReachQA, a dataset containing 3k reasoning-intensive charts and 20k Q&A pairs to enhance both recognition and reasoning abilities of MLLMs. Experiments show that models fine-tuned with ReachQA not only perform well on chart-related tasks but also show performance gains on general reasoning benchmarks. The code and dataset are publicly available at https://github.com/hewei2001/ReachQA.

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

↑