arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.09479cs.AIcs.CL

Draw with Thought:释放多模态推理以生成科学图表

Draw with Thought: Unleashing Multimodal Reasoning for Scientific Diagram Generation

Nanjing University of Information Science \& Technology Nanjing China;East China Normal University Shanghai China;The Hong Kong University of Science;Brown University Providence America;Southwest Jiaotong University Chengdu China;Nanjing University of Information Science \& Technology;East China Normal University;Brown University;Southwest Jiaotong University

Zhiqing Cui, Jiahao Yuan, Hanqing Wang, Yanshu Li, Chenxu Du, Zhenglong Ding

AI总结:

提出无需训练的框架Draw with Thought,通过认知思维链推理将科学图表重建为可编辑的mxGraph XML代码,并发布Plot2XML基准,实验证明该方法能生成高保真且结构有效的重建结果。

摘要:

科学图表是跨学科交流结构化知识的重要工具。然而,它们通常以静态光栅图像的形式发布,丢失了符号语义并限制了重用。尽管多模态大语言模型(MLLMs)提供了一条连接视觉与结构的途径,但现有方法缺乏语义控制和结构可解释性,尤其是在复杂图表上。我们提出了Draw with Thought(DwT),这是一个无需训练的框架,通过基于认知的思维链(Chain-of-Thought)推理,引导MLLMs将图表重建为可编辑的mxGraph XML代码。DwT通过将任务分为两个阶段,在无需模型微调的情况下实现了可解释和可控的输出:一是处理感知结构化和语义规范的Coarse-to-Fine Planning(由粗到细规划),二是通过格式引导细化增强的Structure-Aware Code Generation(结构感知代码生成)。为了支持评估,我们发布了Plot2XML,这是一个包含247张真实世界科学图表并带有黄金标准XML注释的基准。在8个MLLMs上的大量实验表明,我们的方法产生了高保真、语义对齐且结构有效的重建,人类评估证实了在准确性和视觉美学上的高度一致,为将静态视觉转换为可执行表示以及推进机器对科学图形的理解提供了可扩展的解决方案。

英文摘要:

Scientific diagrams are vital tools for communicating structured knowledge across disciplines. However, they are often published as static raster images, losing symbolic semantics and limiting reuse. While Multimodal Large Language Models (MLLMs) offer a pathway to bridging vision and structure, existing methods lack semantic control and structural interpretability, especially on complex diagrams. We propose Draw with Thought (DwT), a training-free framework that guides MLLMs to reconstruct diagrams into editable mxGraph XML code through cognitively-grounded Chain-of-Thought reasoning. DwT enables interpretable and controllable outputs without model fine-tuning by dividing the task into two stages: Coarse-to-Fine Planning, which handles perceptual structuring and semantic specification, and Structure-Aware Code Generation, enhanced by format-guided refinement. To support evaluation, we release Plot2XML, a benchmark of 247 real-world scientific diagrams with gold-standard XML annotations. Extensive experiments across eight MLLMs show that our approach yields high-fidelity, semantically aligned, and structurally valid reconstructions, with human evaluations confirming strong alignment in both accuracy and visual aesthetics, offering a scalable solution for converting static visuals into executable representations and advancing machine understanding of scientific graphics.

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

↑