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

通过代码引导的合成多模态数据生成扩展富文本图像理解能力

Scaling Text-Rich Image Understanding via Code-Guided Synthetic Multimodal Data Generation

University of Pennsylvania(宾夕法尼亚大学);Allen Institute for Artificial Intelligence(人工智能研究所)

Yue Yang, Ajay Patel, Matt Deitke, Tanmay Gupta, Luca Weihs, Andrew Head, Mark Yatskar, Chris Callison-Burch, Ranjay Krishna, Aniruddha Kembhavi, Christopher Clark

AI总结:

针对富文本视觉语言数据稀缺导致VLM表现不佳的问题,提出CoSyn框架利用纯文本LLM生成代码及对应指令微调数据,训练的模型性能超越多款开源及专有模型,还可支撑多模态智能体开发。

摘要:

对图表、文档等富含文本的图像进行推理是视觉语言模型(VLM)的重要应用场景。但由于多样化的富文本视觉语言数据稀缺,VLM在这些领域的表现往往不佳。为解决这一难题,我们提出CoSyn框架,该框架利用纯文本大语言模型(LLM)的编程能力,自动生成合成的富文本多模态数据。当输入描述目标领域的文本(例如“营养成分标签”)时,CoSyn会提示LLM生成用于渲染合成图像的代码(Python、HTML、LaTeX等)。以底层代码作为合成图像的文本表示,CoSyn同样可借助纯文本LLM生成高质量的指令微调数据。借助CoSyn,我们构建了一个包含40万张图像、270万条视觉语言指令微调数据的数据集。在7个基准上开展的综合实验表明,使用我们的合成数据训练的模型,在Llama 3.2等主流开源模型中达到了最优性能,且超过了GPT-4V、Gemini 1.5 Flash等专有模型。此外,CoSyn还能生成合成指向数据,让VLM能够在输入图像中定位信息,展现了其在开发可在真实环境中执行操作的多模态智能体方面的潜力。

英文摘要:

Reasoning about images with rich text, such as charts and documents, is a critical application of vision-language models (VLMs). However, VLMs often struggle in these domains due to the scarcity of diverse text-rich vision-language data. To address this challenge, we present CoSyn, a framework that leverages the coding capabilities of text-only large language models (LLMs) to automatically create synthetic text-rich multimodal data. Given input text describing a target domain (e.g., "nutrition fact labels"), CoSyn prompts an LLM to generate code (Python, HTML, LaTeX, etc.) for rendering synthetic images. With the underlying code as textual representations of the synthetic images, CoSyn can generate high-quality instruction-tuning data, again relying on a text-only LLM. Using CoSyn, we constructed a dataset comprising 400K images and 2.7M rows of vision-language instruction-tuning data. Comprehensive experiments on seven benchmarks demonstrate that models trained on our synthetic data achieve state-of-the-art performance among competitive open-source models, including Llama 3.2, and surpass proprietary models such as GPT-4V and Gemini 1.5 Flash. Furthermore, CoSyn can produce synthetic pointing data, enabling VLMs to ground information within input images, showcasing its potential for developing multimodal agents capable of acting in real-world environments.

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

↑